Skip to main content

Module client

Module client 

Source
Expand description

§Example

async fn sample(
   project_id: &str,
   location_id: &str,
) -> anyhow::Result<()> {
    let client = CmekConfigService::builder().build().await?;
    let response = client.get_cmek_config()
        .set_name(format!("projects/{project_id}/locations/{location_id}/cmekConfig"))
        .send().await?;
    println!("response {:?}", response);
    Ok(())
}

Concrete implementations of this client library traits.

Structs§

AssistantServiceassistant-service
Implements a client for the Discovery Engine API.
CmekConfigServicecmek-config-service
Implements a client for the Discovery Engine API.
CompletionServicecompletion-service
Implements a client for the Discovery Engine API.
ControlServicecontrol-service
Implements a client for the Discovery Engine API.
ConversationalSearchServiceconversational-search-service
Implements a client for the Discovery Engine API.
DataStoreServicedata-store-service
Implements a client for the Discovery Engine API.
DocumentServicedocument-service
Implements a client for the Discovery Engine API.
EngineServiceengine-service
Implements a client for the Discovery Engine API.
GroundedGenerationServicegrounded-generation-service
Implements a client for the Discovery Engine API.
IdentityMappingStoreServiceidentity-mapping-store-service
Implements a client for the Discovery Engine API.
ProjectServiceproject-service
Implements a client for the Discovery Engine API.
RankServicerank-service
Implements a client for the Discovery Engine API.
RecommendationServicerecommendation-service
Implements a client for the Discovery Engine API.
SchemaServiceschema-service
Implements a client for the Discovery Engine API.
SearchServicesearch-service
Implements a client for the Discovery Engine API.
SearchTuningServicesearch-tuning-service
Implements a client for the Discovery Engine API.
ServingConfigServiceserving-config-service
Implements a client for the Discovery Engine API.
SessionServicesession-service
Implements a client for the Discovery Engine API.
SiteSearchEngineServicesite-search-engine-service
Implements a client for the Discovery Engine API.
UserEventServiceuser-event-service
Implements a client for the Discovery Engine API.
UserLicenseServiceuser-license-service
Implements a client for the Discovery Engine API.