pub struct ProjectMethods<'a, S>
where S: 'a,
{ /* private fields */ }
Expand description

A builder providing access to all methods supported on project resources. It is not used directly, but through the Dialogflow hub.

§Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_dialogflow3 as dialogflow3;
 
use std::default::Default;
use dialogflow3::{Dialogflow, oauth2, hyper, hyper_rustls, chrono, FieldMask};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `locations_agents_changelogs_get(...)`, `locations_agents_changelogs_list(...)`, `locations_agents_create(...)`, `locations_agents_delete(...)`, `locations_agents_entity_types_create(...)`, `locations_agents_entity_types_delete(...)`, `locations_agents_entity_types_export(...)`, `locations_agents_entity_types_get(...)`, `locations_agents_entity_types_import(...)`, `locations_agents_entity_types_list(...)`, `locations_agents_entity_types_patch(...)`, `locations_agents_environments_continuous_test_results_list(...)`, `locations_agents_environments_create(...)`, `locations_agents_environments_delete(...)`, `locations_agents_environments_deploy_flow(...)`, `locations_agents_environments_deployments_get(...)`, `locations_agents_environments_deployments_list(...)`, `locations_agents_environments_experiments_create(...)`, `locations_agents_environments_experiments_delete(...)`, `locations_agents_environments_experiments_get(...)`, `locations_agents_environments_experiments_list(...)`, `locations_agents_environments_experiments_patch(...)`, `locations_agents_environments_experiments_start(...)`, `locations_agents_environments_experiments_stop(...)`, `locations_agents_environments_get(...)`, `locations_agents_environments_list(...)`, `locations_agents_environments_lookup_environment_history(...)`, `locations_agents_environments_patch(...)`, `locations_agents_environments_run_continuous_test(...)`, `locations_agents_environments_sessions_detect_intent(...)`, `locations_agents_environments_sessions_entity_types_create(...)`, `locations_agents_environments_sessions_entity_types_delete(...)`, `locations_agents_environments_sessions_entity_types_get(...)`, `locations_agents_environments_sessions_entity_types_list(...)`, `locations_agents_environments_sessions_entity_types_patch(...)`, `locations_agents_environments_sessions_fulfill_intent(...)`, `locations_agents_environments_sessions_match_intent(...)`, `locations_agents_environments_sessions_server_streaming_detect_intent(...)`, `locations_agents_export(...)`, `locations_agents_flows_create(...)`, `locations_agents_flows_delete(...)`, `locations_agents_flows_export(...)`, `locations_agents_flows_get(...)`, `locations_agents_flows_get_validation_result(...)`, `locations_agents_flows_import(...)`, `locations_agents_flows_list(...)`, `locations_agents_flows_pages_create(...)`, `locations_agents_flows_pages_delete(...)`, `locations_agents_flows_pages_get(...)`, `locations_agents_flows_pages_list(...)`, `locations_agents_flows_pages_patch(...)`, `locations_agents_flows_patch(...)`, `locations_agents_flows_train(...)`, `locations_agents_flows_transition_route_groups_create(...)`, `locations_agents_flows_transition_route_groups_delete(...)`, `locations_agents_flows_transition_route_groups_get(...)`, `locations_agents_flows_transition_route_groups_list(...)`, `locations_agents_flows_transition_route_groups_patch(...)`, `locations_agents_flows_validate(...)`, `locations_agents_flows_versions_compare_versions(...)`, `locations_agents_flows_versions_create(...)`, `locations_agents_flows_versions_delete(...)`, `locations_agents_flows_versions_get(...)`, `locations_agents_flows_versions_list(...)`, `locations_agents_flows_versions_load(...)`, `locations_agents_flows_versions_patch(...)`, `locations_agents_generators_create(...)`, `locations_agents_generators_delete(...)`, `locations_agents_generators_get(...)`, `locations_agents_generators_list(...)`, `locations_agents_generators_patch(...)`, `locations_agents_get(...)`, `locations_agents_get_generative_settings(...)`, `locations_agents_get_validation_result(...)`, `locations_agents_intents_create(...)`, `locations_agents_intents_delete(...)`, `locations_agents_intents_export(...)`, `locations_agents_intents_get(...)`, `locations_agents_intents_import(...)`, `locations_agents_intents_list(...)`, `locations_agents_intents_patch(...)`, `locations_agents_list(...)`, `locations_agents_patch(...)`, `locations_agents_restore(...)`, `locations_agents_sessions_detect_intent(...)`, `locations_agents_sessions_entity_types_create(...)`, `locations_agents_sessions_entity_types_delete(...)`, `locations_agents_sessions_entity_types_get(...)`, `locations_agents_sessions_entity_types_list(...)`, `locations_agents_sessions_entity_types_patch(...)`, `locations_agents_sessions_fulfill_intent(...)`, `locations_agents_sessions_match_intent(...)`, `locations_agents_sessions_server_streaming_detect_intent(...)`, `locations_agents_sessions_submit_answer_feedback(...)`, `locations_agents_test_cases_batch_delete(...)`, `locations_agents_test_cases_batch_run(...)`, `locations_agents_test_cases_calculate_coverage(...)`, `locations_agents_test_cases_create(...)`, `locations_agents_test_cases_export(...)`, `locations_agents_test_cases_get(...)`, `locations_agents_test_cases_import(...)`, `locations_agents_test_cases_list(...)`, `locations_agents_test_cases_patch(...)`, `locations_agents_test_cases_results_get(...)`, `locations_agents_test_cases_results_list(...)`, `locations_agents_test_cases_run(...)`, `locations_agents_transition_route_groups_create(...)`, `locations_agents_transition_route_groups_delete(...)`, `locations_agents_transition_route_groups_get(...)`, `locations_agents_transition_route_groups_list(...)`, `locations_agents_transition_route_groups_patch(...)`, `locations_agents_update_generative_settings(...)`, `locations_agents_validate(...)`, `locations_agents_webhooks_create(...)`, `locations_agents_webhooks_delete(...)`, `locations_agents_webhooks_get(...)`, `locations_agents_webhooks_list(...)`, `locations_agents_webhooks_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_security_settings_create(...)`, `locations_security_settings_delete(...)`, `locations_security_settings_get(...)`, `locations_security_settings_list(...)`, `locations_security_settings_patch(...)`, `operations_cancel(...)`, `operations_get(...)` and `operations_list(...)`
// to build up your call.
let rb = hub.projects();

Implementations§

source§

impl<'a, S> ProjectMethods<'a, S>

source

pub fn locations_agents_changelogs_get( &self, name: &str ) -> ProjectLocationAgentChangelogGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified Changelog.

§Arguments
  • name - Required. The name of the changelog to get. Format: projects//locations//agents//changelogs/.
source

pub fn locations_agents_changelogs_list( &self, parent: &str ) -> ProjectLocationAgentChangelogListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of Changelogs.

§Arguments
  • parent - Required. The agent containing the changelogs. Format: projects//locations//agents/.
source

pub fn locations_agents_entity_types_create( &self, request: GoogleCloudDialogflowCxV3EntityType, parent: &str ) -> ProjectLocationAgentEntityTypeCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create a entity type for. Format: projects//locations//agents/.
source

pub fn locations_agents_entity_types_delete( &self, name: &str ) -> ProjectLocationAgentEntityTypeDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • name - Required. The name of the entity type to delete. Format: projects//locations//agents//entityTypes/.
source

pub fn locations_agents_entity_types_export( &self, request: GoogleCloudDialogflowCxV3ExportEntityTypesRequest, parent: &str ) -> ProjectLocationAgentEntityTypeExportCall<'a, S>

Create a builder to help you perform the following task:

Exports the selected entity types.

§Arguments
  • request - No description provided.
  • parent - Required. The name of the parent agent to export entity types. Format: projects//locations//agents/.
source

pub fn locations_agents_entity_types_get( &self, name: &str ) -> ProjectLocationAgentEntityTypeGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified entity type.

§Arguments
  • name - Required. The name of the entity type. Format: projects//locations//agents//entityTypes/.
source

pub fn locations_agents_entity_types_import( &self, request: GoogleCloudDialogflowCxV3ImportEntityTypesRequest, parent: &str ) -> ProjectLocationAgentEntityTypeImportCall<'a, S>

Create a builder to help you perform the following task:

Imports the specified entitytypes into the agent.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to import the entity types into. Format: projects//locations//agents/.
source

pub fn locations_agents_entity_types_list( &self, parent: &str ) -> ProjectLocationAgentEntityTypeListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all entity types in the specified agent.

§Arguments
  • parent - Required. The agent to list all entity types for. Format: projects//locations//agents/.
source

pub fn locations_agents_entity_types_patch( &self, request: GoogleCloudDialogflowCxV3EntityType, name: &str ) -> ProjectLocationAgentEntityTypePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: projects//locations//agents//entityTypes/.
source

pub fn locations_agents_environments_continuous_test_results_list( &self, parent: &str ) -> ProjectLocationAgentEnvironmentContinuousTestResultListCall<'a, S>

Create a builder to help you perform the following task:

Fetches a list of continuous test results for a given environment.

§Arguments
  • parent - Required. The environment to list results for. Format: projects//locations//agents// environments/.
source

pub fn locations_agents_environments_deployments_get( &self, name: &str ) -> ProjectLocationAgentEnvironmentDeploymentGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified Deployment.

§Arguments
  • name - Required. The name of the Deployment. Format: projects//locations//agents//environments//deployments/.
source

pub fn locations_agents_environments_deployments_list( &self, parent: &str ) -> ProjectLocationAgentEnvironmentDeploymentListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all deployments in the specified Environment.

§Arguments
  • parent - Required. The Environment to list all environments for. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_experiments_create( &self, request: GoogleCloudDialogflowCxV3Experiment, parent: &str ) -> ProjectLocationAgentEnvironmentExperimentCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an Experiment in the specified Environment.

§Arguments
  • request - No description provided.
  • parent - Required. The Agent to create an Environment for. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_experiments_delete( &self, name: &str ) -> ProjectLocationAgentEnvironmentExperimentDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified Experiment.

§Arguments
  • name - Required. The name of the Environment to delete. Format: projects//locations//agents//environments//experiments/.
source

pub fn locations_agents_environments_experiments_get( &self, name: &str ) -> ProjectLocationAgentEnvironmentExperimentGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified Experiment.

§Arguments
  • name - Required. The name of the Environment. Format: projects//locations//agents//environments//experiments/.
source

pub fn locations_agents_environments_experiments_list( &self, parent: &str ) -> ProjectLocationAgentEnvironmentExperimentListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all experiments in the specified Environment.

§Arguments
  • parent - Required. The Environment to list all environments for. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_experiments_patch( &self, request: GoogleCloudDialogflowCxV3Experiment, name: &str ) -> ProjectLocationAgentEnvironmentExperimentPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified Experiment.

§Arguments
  • request - No description provided.
  • name - The name of the experiment. Format: projects//locations//agents//environments//experiments/..
source

pub fn locations_agents_environments_experiments_start( &self, request: GoogleCloudDialogflowCxV3StartExperimentRequest, name: &str ) -> ProjectLocationAgentEnvironmentExperimentStartCall<'a, S>

Create a builder to help you perform the following task:

Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the experiment to start. Format: projects//locations//agents//environments//experiments/.
source

pub fn locations_agents_environments_experiments_stop( &self, request: GoogleCloudDialogflowCxV3StopExperimentRequest, name: &str ) -> ProjectLocationAgentEnvironmentExperimentStopCall<'a, S>

Create a builder to help you perform the following task:

Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.

§Arguments
  • request - No description provided.
  • name - Required. Resource name of the experiment to stop. Format: projects//locations//agents//environments//experiments/.
source

pub fn locations_agents_environments_sessions_entity_types_create( &self, request: GoogleCloudDialogflowCxV3SessionEntityType, parent: &str ) -> ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a session entity type.

§Arguments
  • request - No description provided.
  • parent - Required. The session to create a session entity type for. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_environments_sessions_entity_types_delete( &self, name: &str ) -> ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified session entity type.

§Arguments
  • name - Required. The name of the session entity type to delete. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_environments_sessions_entity_types_get( &self, name: &str ) -> ProjectLocationAgentEnvironmentSessionEntityTypeGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified session entity type.

§Arguments
  • name - Required. The name of the session entity type. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_environments_sessions_entity_types_list( &self, parent: &str ) -> ProjectLocationAgentEnvironmentSessionEntityTypeListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all session entity types in the specified session.

§Arguments
  • parent - Required. The session to list all session entity types from. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_environments_sessions_entity_types_patch( &self, request: GoogleCloudDialogflowCxV3SessionEntityType, name: &str ) -> ProjectLocationAgentEnvironmentSessionEntityTypePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified session entity type.

§Arguments
  • request - No description provided.
  • name - Required. The unique identifier of the session entity type. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_environments_sessions_detect_intent( &self, request: GoogleCloudDialogflowCxV3DetectIntentRequest, session: &str ) -> ProjectLocationAgentEnvironmentSessionDetectIntentCall<'a, S>

Create a builder to help you perform the following task:

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See Versions and environments.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.
source

pub fn locations_agents_environments_sessions_fulfill_intent( &self, request: GoogleCloudDialogflowCxV3FulfillIntentRequest, session: &str ) -> ProjectLocationAgentEnvironmentSessionFulfillIntentCall<'a, S>

Create a builder to help you perform the following task:

Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide.
source

pub fn locations_agents_environments_sessions_match_intent( &self, request: GoogleCloudDialogflowCxV3MatchIntentRequest, session: &str ) -> ProjectLocationAgentEnvironmentSessionMatchIntentCall<'a, S>

Create a builder to help you perform the following task:

Returns preliminary intent match results, doesn’t change the session status.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide.
source

pub fn locations_agents_environments_sessions_server_streaming_detect_intent( &self, request: GoogleCloudDialogflowCxV3DetectIntentRequest, session: &str ) -> ProjectLocationAgentEnvironmentSessionServerStreamingDetectIntentCall<'a, S>

Create a builder to help you perform the following task:

Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send partial responses earlier in a single request.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.
source

pub fn locations_agents_environments_create( &self, request: GoogleCloudDialogflowCxV3Environment, parent: &str ) -> ProjectLocationAgentEnvironmentCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an Environment in the specified Agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: Environment

§Arguments
  • request - No description provided.
  • parent - Required. The Agent to create an Environment for. Format: projects//locations//agents/.
source

pub fn locations_agents_environments_delete( &self, name: &str ) -> ProjectLocationAgentEnvironmentDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified Environment.

§Arguments
  • name - Required. The name of the Environment to delete. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_deploy_flow( &self, request: GoogleCloudDialogflowCxV3DeployFlowRequest, environment: &str ) -> ProjectLocationAgentEnvironmentDeployFlowCall<'a, S>

Create a builder to help you perform the following task:

Deploys a flow to the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeployFlowMetadata - response: DeployFlowResponse

§Arguments
  • request - No description provided.
  • environment - Required. The environment to deploy the flow to. Format: projects//locations//agents// environments/.
source

pub fn locations_agents_environments_get( &self, name: &str ) -> ProjectLocationAgentEnvironmentGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified Environment.

§Arguments
  • name - Required. The name of the Environment. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_list( &self, parent: &str ) -> ProjectLocationAgentEnvironmentListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all environments in the specified Agent.

§Arguments
  • parent - Required. The Agent to list all environments for. Format: projects//locations//agents/.
source

pub fn locations_agents_environments_lookup_environment_history( &self, name: &str ) -> ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall<'a, S>

Create a builder to help you perform the following task:

Looks up the history of the specified Environment.

§Arguments
  • name - Required. Resource name of the environment to look up the history for. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_patch( &self, request: GoogleCloudDialogflowCxV3Environment, name: &str ) -> ProjectLocationAgentEnvironmentPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: Environment

§Arguments
  • request - No description provided.
  • name - The name of the environment. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_environments_run_continuous_test( &self, request: GoogleCloudDialogflowCxV3RunContinuousTestRequest, environment: &str ) -> ProjectLocationAgentEnvironmentRunContinuousTestCall<'a, S>

Create a builder to help you perform the following task:

Kicks off a continuous test under the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: RunContinuousTestMetadata - response: RunContinuousTestResponse

§Arguments
  • request - No description provided.
  • environment - Required. Format: projects//locations//agents//environments/.
source

pub fn locations_agents_flows_pages_create( &self, request: GoogleCloudDialogflowCxV3Page, parent: &str ) -> ProjectLocationAgentFlowPageCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The flow to create a page for. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_pages_delete( &self, name: &str ) -> ProjectLocationAgentFlowPageDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified page. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • name - Required. The name of the page to delete. Format: projects//locations//agents//Flows//pages/.
source

pub fn locations_agents_flows_pages_get( &self, name: &str ) -> ProjectLocationAgentFlowPageGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified page.

§Arguments
  • name - Required. The name of the page. Format: projects//locations//agents//flows//pages/.
source

pub fn locations_agents_flows_pages_list( &self, parent: &str ) -> ProjectLocationAgentFlowPageListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all pages in the specified flow.

§Arguments
  • parent - Required. The flow to list all pages for. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_pages_patch( &self, request: GoogleCloudDialogflowCxV3Page, name: &str ) -> ProjectLocationAgentFlowPagePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified page. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: projects//locations//agents//flows//pages/.
source

pub fn locations_agents_flows_transition_route_groups_create( &self, request: GoogleCloudDialogflowCxV3TransitionRouteGroup, parent: &str ) -> ProjectLocationAgentFlowTransitionRouteGroupCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The flow to create an TransitionRouteGroup for. Format: projects//locations//agents//flows/ or projects//locations//agents/ for agent-level groups.
source

pub fn locations_agents_flows_transition_route_groups_delete( &self, name: &str ) -> ProjectLocationAgentFlowTransitionRouteGroupDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • name - Required. The name of the TransitionRouteGroup to delete. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.
source

pub fn locations_agents_flows_transition_route_groups_get( &self, name: &str ) -> ProjectLocationAgentFlowTransitionRouteGroupGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified TransitionRouteGroup.

§Arguments
  • name - Required. The name of the TransitionRouteGroup. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.
source

pub fn locations_agents_flows_transition_route_groups_list( &self, parent: &str ) -> ProjectLocationAgentFlowTransitionRouteGroupListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all transition route groups in the specified flow.

§Arguments
  • parent - Required. The flow to list all transition route groups for. Format: projects//locations//agents//flows/ or `projects//locations//agents/.
source

pub fn locations_agents_flows_transition_route_groups_patch( &self, request: GoogleCloudDialogflowCxV3TransitionRouteGroup, name: &str ) -> ProjectLocationAgentFlowTransitionRouteGroupPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ .
source

pub fn locations_agents_flows_versions_compare_versions( &self, request: GoogleCloudDialogflowCxV3CompareVersionsRequest, base_version: &str ) -> ProjectLocationAgentFlowVersionCompareVersionCall<'a, S>

Create a builder to help you perform the following task:

Compares the specified base version with target version.

§Arguments
  • request - No description provided.
  • baseVersion - Required. Name of the base flow version to compare with the target version. Use version ID 0 to indicate the draft version of the specified flow. Format: projects//locations//agents/ /flows//versions/.
source

pub fn locations_agents_flows_versions_create( &self, request: GoogleCloudDialogflowCxV3Version, parent: &str ) -> ProjectLocationAgentFlowVersionCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a Version in the specified Flow. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateVersionOperationMetadata - response: Version

§Arguments
  • request - No description provided.
  • parent - Required. The Flow to create an Version for. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_versions_delete( &self, name: &str ) -> ProjectLocationAgentFlowVersionDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified Version.

§Arguments
  • name - Required. The name of the Version to delete. Format: projects//locations//agents//flows//versions/.
source

pub fn locations_agents_flows_versions_get( &self, name: &str ) -> ProjectLocationAgentFlowVersionGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified Version.

§Arguments
  • name - Required. The name of the Version. Format: projects//locations//agents//flows//versions/.
source

pub fn locations_agents_flows_versions_list( &self, parent: &str ) -> ProjectLocationAgentFlowVersionListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all versions in the specified Flow.

§Arguments
  • parent - Required. The Flow to list all versions for. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_versions_load( &self, request: GoogleCloudDialogflowCxV3LoadVersionRequest, name: &str ) -> ProjectLocationAgentFlowVersionLoadCall<'a, S>

Create a builder to help you perform the following task:

Loads resources in the specified version to the draft flow. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message

§Arguments
  • request - No description provided.
  • name - Required. The Version to be loaded to draft flow. Format: projects//locations//agents//flows//versions/.
source

pub fn locations_agents_flows_versions_patch( &self, request: GoogleCloudDialogflowCxV3Version, name: &str ) -> ProjectLocationAgentFlowVersionPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified Version.

§Arguments
  • request - No description provided.
  • name - Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
source

pub fn locations_agents_flows_create( &self, request: GoogleCloudDialogflowCxV3Flow, parent: &str ) -> ProjectLocationAgentFlowCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create a flow for. Format: projects//locations//agents/.
source

pub fn locations_agents_flows_delete( &self, name: &str ) -> ProjectLocationAgentFlowDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes a specified flow.

§Arguments
  • name - Required. The name of the flow to delete. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_export( &self, request: GoogleCloudDialogflowCxV3ExportFlowRequest, name: &str ) -> ProjectLocationAgentFlowExportCall<'a, S>

Create a builder to help you perform the following task:

Exports the specified flow to a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.

§Arguments
  • request - No description provided.
  • name - Required. The name of the flow to export. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_get( &self, name: &str ) -> ProjectLocationAgentFlowGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified flow.

§Arguments
  • name - Required. The name of the flow to get. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_get_validation_result( &self, name: &str ) -> ProjectLocationAgentFlowGetValidationResultCall<'a, S>

Create a builder to help you perform the following task:

Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.

§Arguments
  • name - Required. The flow name. Format: projects//locations//agents//flows//validationResult.
source

pub fn locations_agents_flows_import( &self, request: GoogleCloudDialogflowCxV3ImportFlowRequest, parent: &str ) -> ProjectLocationAgentFlowImportCall<'a, S>

Create a builder to help you perform the following task:

Imports the specified flow to the specified agent from a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ImportFlowResponse Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to import the flow into. Format: projects//locations//agents/.
source

pub fn locations_agents_flows_list( &self, parent: &str ) -> ProjectLocationAgentFlowListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all flows in the specified agent.

§Arguments
  • parent - Required. The agent containing the flows. Format: projects//locations//agents/.
source

pub fn locations_agents_flows_patch( &self, request: GoogleCloudDialogflowCxV3Flow, name: &str ) -> ProjectLocationAgentFlowPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the flow. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_train( &self, request: GoogleCloudDialogflowCxV3TrainFlowRequest, name: &str ) -> ProjectLocationAgentFlowTrainCall<'a, S>

Create a builder to help you perform the following task:

Trains the specified flow. Note that only the flow in ‘draft’ environment is trained. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - Required. The flow to train. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_flows_validate( &self, request: GoogleCloudDialogflowCxV3ValidateFlowRequest, name: &str ) -> ProjectLocationAgentFlowValidateCall<'a, S>

Create a builder to help you perform the following task:

Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.

§Arguments
  • request - No description provided.
  • name - Required. The flow to validate. Format: projects//locations//agents//flows/.
source

pub fn locations_agents_generators_create( &self, request: GoogleCloudDialogflowCxV3Generator, parent: &str ) -> ProjectLocationAgentGeneratorCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a generator in the specified agent.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create a generator for. Format: projects//locations//agents/.
source

pub fn locations_agents_generators_delete( &self, name: &str ) -> ProjectLocationAgentGeneratorDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified generators.

§Arguments
  • name - Required. The name of the generator to delete. Format: projects//locations//agents//generators/.
source

pub fn locations_agents_generators_get( &self, name: &str ) -> ProjectLocationAgentGeneratorGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified generator.

§Arguments
  • name - Required. The name of the generator. Format: projects//locations//agents//generators/.
source

pub fn locations_agents_generators_list( &self, parent: &str ) -> ProjectLocationAgentGeneratorListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all generators in the specified agent.

§Arguments
  • parent - Required. The agent to list all generators for. Format: projects//locations//agents/.
source

pub fn locations_agents_generators_patch( &self, request: GoogleCloudDialogflowCxV3Generator, name: &str ) -> ProjectLocationAgentGeneratorPatchCall<'a, S>

Create a builder to help you perform the following task:

Update the specified generator.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the generator. Must be set for the Generators.UpdateGenerator method. Generators.CreateGenerate populates the name automatically. Format: projects//locations//agents//generators/.
source

pub fn locations_agents_intents_create( &self, request: GoogleCloudDialogflowCxV3Intent, parent: &str ) -> ProjectLocationAgentIntentCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create an intent for. Format: projects//locations//agents/.
source

pub fn locations_agents_intents_delete( &self, name: &str ) -> ProjectLocationAgentIntentDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • name - Required. The name of the intent to delete. Format: projects//locations//agents//intents/.
source

pub fn locations_agents_intents_export( &self, request: GoogleCloudDialogflowCxV3ExportIntentsRequest, parent: &str ) -> ProjectLocationAgentIntentExportCall<'a, S>

Create a builder to help you perform the following task:

Exports the selected intents. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ExportIntentsMetadata - response: ExportIntentsResponse

§Arguments
  • request - No description provided.
  • parent - Required. The name of the parent agent to export intents. Format: projects//locations//agents/.
source

pub fn locations_agents_intents_get( &self, name: &str ) -> ProjectLocationAgentIntentGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified intent.

§Arguments
  • name - Required. The name of the intent. Format: projects//locations//agents//intents/.
source

pub fn locations_agents_intents_import( &self, request: GoogleCloudDialogflowCxV3ImportIntentsRequest, parent: &str ) -> ProjectLocationAgentIntentImportCall<'a, S>

Create a builder to help you perform the following task:

Imports the specified intents into the agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ImportIntentsMetadata - response: ImportIntentsResponse

§Arguments
  • request - No description provided.
  • parent - Required. The agent to import the intents into. Format: projects//locations//agents/.
source

pub fn locations_agents_intents_list( &self, parent: &str ) -> ProjectLocationAgentIntentListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all intents in the specified agent.

§Arguments
  • parent - Required. The agent to list all intents for. Format: projects//locations//agents/.
source

pub fn locations_agents_intents_patch( &self, request: GoogleCloudDialogflowCxV3Intent, name: &str ) -> ProjectLocationAgentIntentPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
source

pub fn locations_agents_sessions_entity_types_create( &self, request: GoogleCloudDialogflowCxV3SessionEntityType, parent: &str ) -> ProjectLocationAgentSessionEntityTypeCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a session entity type.

§Arguments
  • request - No description provided.
  • parent - Required. The session to create a session entity type for. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_sessions_entity_types_delete( &self, name: &str ) -> ProjectLocationAgentSessionEntityTypeDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified session entity type.

§Arguments
  • name - Required. The name of the session entity type to delete. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_sessions_entity_types_get( &self, name: &str ) -> ProjectLocationAgentSessionEntityTypeGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified session entity type.

§Arguments
  • name - Required. The name of the session entity type. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_sessions_entity_types_list( &self, parent: &str ) -> ProjectLocationAgentSessionEntityTypeListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all session entity types in the specified session.

§Arguments
  • parent - Required. The session to list all session entity types from. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_sessions_entity_types_patch( &self, request: GoogleCloudDialogflowCxV3SessionEntityType, name: &str ) -> ProjectLocationAgentSessionEntityTypePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified session entity type.

§Arguments
  • request - No description provided.
  • name - Required. The unique identifier of the session entity type. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default ‘draft’ environment.
source

pub fn locations_agents_sessions_detect_intent( &self, request: GoogleCloudDialogflowCxV3DetectIntentRequest, session: &str ) -> ProjectLocationAgentSessionDetectIntentCall<'a, S>

Create a builder to help you perform the following task:

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See Versions and environments.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.
source

pub fn locations_agents_sessions_fulfill_intent( &self, request: GoogleCloudDialogflowCxV3FulfillIntentRequest, session: &str ) -> ProjectLocationAgentSessionFulfillIntentCall<'a, S>

Create a builder to help you perform the following task:

Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide.
source

pub fn locations_agents_sessions_match_intent( &self, request: GoogleCloudDialogflowCxV3MatchIntentRequest, session: &str ) -> ProjectLocationAgentSessionMatchIntentCall<'a, S>

Create a builder to help you perform the following task:

Returns preliminary intent match results, doesn’t change the session status.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide.
source

pub fn locations_agents_sessions_server_streaming_detect_intent( &self, request: GoogleCloudDialogflowCxV3DetectIntentRequest, session: &str ) -> ProjectLocationAgentSessionServerStreamingDetectIntentCall<'a, S>

Create a builder to help you perform the following task:

Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send partial responses earlier in a single request.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default ‘draft’ environment. It’s up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.
source

pub fn locations_agents_sessions_submit_answer_feedback( &self, request: GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest, session: &str ) -> ProjectLocationAgentSessionSubmitAnswerFeedbackCall<'a, S>

Create a builder to help you perform the following task:

Updates the feedback received from the user for a single turn of the bot response.

§Arguments
  • request - No description provided.
  • session - Required. The name of the session the feedback was sent to.
source

pub fn locations_agents_test_cases_results_get( &self, name: &str ) -> ProjectLocationAgentTestCaseResultGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a test case result.

§Arguments
  • name - Required. The name of the testcase. Format: projects//locations//agents//testCases//results/.
source

pub fn locations_agents_test_cases_results_list( &self, parent: &str ) -> ProjectLocationAgentTestCaseResultListCall<'a, S>

Create a builder to help you perform the following task:

Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.

§Arguments
  • parent - Required. The test case to list results for. Format: projects//locations//agents// testCases/. Specify a - as a wildcard for TestCase ID to list results across multiple test cases.
source

pub fn locations_agents_test_cases_batch_delete( &self, request: GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest, parent: &str ) -> ProjectLocationAgentTestCaseBatchDeleteCall<'a, S>

Create a builder to help you perform the following task:

Batch deletes test cases.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to delete test cases from. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_batch_run( &self, request: GoogleCloudDialogflowCxV3BatchRunTestCasesRequest, parent: &str ) -> ProjectLocationAgentTestCaseBatchRunCall<'a, S>

Create a builder to help you perform the following task:

Kicks off a batch run of test cases. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: BatchRunTestCasesMetadata - response: BatchRunTestCasesResponse

§Arguments
  • request - No description provided.
  • parent - Required. Agent name. Format: projects//locations//agents/ .
source

pub fn locations_agents_test_cases_calculate_coverage( &self, agent: &str ) -> ProjectLocationAgentTestCaseCalculateCoverageCall<'a, S>

Create a builder to help you perform the following task:

Calculates the test coverage for an agent.

§Arguments
  • agent - Required. The agent to calculate coverage for. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_create( &self, request: GoogleCloudDialogflowCxV3TestCase, parent: &str ) -> ProjectLocationAgentTestCaseCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a test case for the given agent.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create the test case for. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_export( &self, request: GoogleCloudDialogflowCxV3ExportTestCasesRequest, parent: &str ) -> ProjectLocationAgentTestCaseExportCall<'a, S>

Create a builder to help you perform the following task:

Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ExportTestCasesMetadata - response: ExportTestCasesResponse

§Arguments
  • request - No description provided.
  • parent - Required. The agent where to export test cases from. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_get( &self, name: &str ) -> ProjectLocationAgentTestCaseGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a test case.

§Arguments
  • name - Required. The name of the testcase. Format: projects//locations//agents//testCases/.
source

pub fn locations_agents_test_cases_import( &self, request: GoogleCloudDialogflowCxV3ImportTestCasesRequest, parent: &str ) -> ProjectLocationAgentTestCaseImportCall<'a, S>

Create a builder to help you perform the following task:

Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won’t overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ImportTestCasesMetadata - response: ImportTestCasesResponse

§Arguments
  • request - No description provided.
  • parent - Required. The agent to import test cases to. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_list( &self, parent: &str ) -> ProjectLocationAgentTestCaseListCall<'a, S>

Create a builder to help you perform the following task:

Fetches a list of test cases for a given agent.

§Arguments
  • parent - Required. The agent to list all pages for. Format: projects//locations//agents/.
source

pub fn locations_agents_test_cases_patch( &self, request: GoogleCloudDialogflowCxV3TestCase, name: &str ) -> ProjectLocationAgentTestCasePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified test case.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects//locations//agents/ /testCases/.
source

pub fn locations_agents_test_cases_run( &self, request: GoogleCloudDialogflowCxV3RunTestCaseRequest, name: &str ) -> ProjectLocationAgentTestCaseRunCall<'a, S>

Create a builder to help you perform the following task:

Kicks off a test case run. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: RunTestCaseMetadata - response: RunTestCaseResponse

§Arguments
  • request - No description provided.
  • name - Required. Format of test case name to run: projects//locations/ /agents//testCases/.
source

pub fn locations_agents_transition_route_groups_create( &self, request: GoogleCloudDialogflowCxV3TransitionRouteGroup, parent: &str ) -> ProjectLocationAgentTransitionRouteGroupCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The flow to create an TransitionRouteGroup for. Format: projects//locations//agents//flows/ or projects//locations//agents/ for agent-level groups.
source

pub fn locations_agents_transition_route_groups_delete( &self, name: &str ) -> ProjectLocationAgentTransitionRouteGroupDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • name - Required. The name of the TransitionRouteGroup to delete. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.
source

pub fn locations_agents_transition_route_groups_get( &self, name: &str ) -> ProjectLocationAgentTransitionRouteGroupGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified TransitionRouteGroup.

§Arguments
  • name - Required. The name of the TransitionRouteGroup. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.
source

pub fn locations_agents_transition_route_groups_list( &self, parent: &str ) -> ProjectLocationAgentTransitionRouteGroupListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all transition route groups in the specified flow.

§Arguments
  • parent - Required. The flow to list all transition route groups for. Format: projects//locations//agents//flows/ or `projects//locations//agents/.
source

pub fn locations_agents_transition_route_groups_patch( &self, request: GoogleCloudDialogflowCxV3TransitionRouteGroup, name: &str ) -> ProjectLocationAgentTransitionRouteGroupPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ .
source

pub fn locations_agents_webhooks_create( &self, request: GoogleCloudDialogflowCxV3Webhook, parent: &str ) -> ProjectLocationAgentWebhookCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a webhook in the specified agent.

§Arguments
  • request - No description provided.
  • parent - Required. The agent to create a webhook for. Format: projects//locations//agents/.
source

pub fn locations_agents_webhooks_delete( &self, name: &str ) -> ProjectLocationAgentWebhookDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified webhook.

§Arguments
  • name - Required. The name of the webhook to delete. Format: projects//locations//agents//webhooks/.
source

pub fn locations_agents_webhooks_get( &self, name: &str ) -> ProjectLocationAgentWebhookGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified webhook.

§Arguments
  • name - Required. The name of the webhook. Format: projects//locations//agents//webhooks/.
source

pub fn locations_agents_webhooks_list( &self, parent: &str ) -> ProjectLocationAgentWebhookListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all webhooks in the specified agent.

§Arguments
  • parent - Required. The agent to list all webhooks for. Format: projects//locations//agents/.
source

pub fn locations_agents_webhooks_patch( &self, request: GoogleCloudDialogflowCxV3Webhook, name: &str ) -> ProjectLocationAgentWebhookPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified webhook.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
source

pub fn locations_agents_create( &self, request: GoogleCloudDialogflowCxV3Agent, parent: &str ) -> ProjectLocationAgentCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the training documentation.

§Arguments
  • request - No description provided.
  • parent - Required. The location to create a agent for. Format: projects//locations/.
source

pub fn locations_agents_delete( &self, name: &str ) -> ProjectLocationAgentDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified agent.

§Arguments
  • name - Required. The name of the agent to delete. Format: projects//locations//agents/.
source

pub fn locations_agents_export( &self, request: GoogleCloudDialogflowCxV3ExportAgentRequest, name: &str ) -> ProjectLocationAgentExportCall<'a, S>

Create a builder to help you perform the following task:

Exports the specified agent to a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportAgentResponse

§Arguments
  • request - No description provided.
  • name - Required. The name of the agent to export. Format: projects//locations//agents/.
source

pub fn locations_agents_get( &self, name: &str ) -> ProjectLocationAgentGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified agent.

§Arguments
  • name - Required. The name of the agent. Format: projects//locations//agents/.
source

pub fn locations_agents_get_generative_settings( &self, name: &str ) -> ProjectLocationAgentGetGenerativeSettingCall<'a, S>

Create a builder to help you perform the following task:

Gets the generative settings for the agent.

§Arguments
  • name - Required. Format: projects//locations//agents//generativeSettings.
source

pub fn locations_agents_get_validation_result( &self, name: &str ) -> ProjectLocationAgentGetValidationResultCall<'a, S>

Create a builder to help you perform the following task:

Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.

§Arguments
  • name - Required. The agent name. Format: projects//locations//agents//validationResult.
source

pub fn locations_agents_list( &self, parent: &str ) -> ProjectLocationAgentListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all agents in the specified location.

§Arguments
  • parent - Required. The location to list all agents for. Format: projects//locations/.
source

pub fn locations_agents_patch( &self, request: GoogleCloudDialogflowCxV3Agent, name: &str ) -> ProjectLocationAgentPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified agent. Note: You should always train flows prior to sending them queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.
source

pub fn locations_agents_restore( &self, request: GoogleCloudDialogflowCxV3RestoreAgentRequest, name: &str ) -> ProjectLocationAgentRestoreCall<'a, S>

Create a builder to help you perform the following task:

Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train flows prior to sending them queries. See the training documentation.

§Arguments
  • request - No description provided.
  • name - Required. The name of the agent to restore into. Format: projects//locations//agents/.
source

pub fn locations_agents_update_generative_settings( &self, request: GoogleCloudDialogflowCxV3GenerativeSettings, name: &str ) -> ProjectLocationAgentUpdateGenerativeSettingCall<'a, S>

Create a builder to help you perform the following task:

Updates the generative settings for the agent.

§Arguments
  • request - No description provided.
  • name - Format: projects//locations//agents//generativeSettings.
source

pub fn locations_agents_validate( &self, request: GoogleCloudDialogflowCxV3ValidateAgentRequest, name: &str ) -> ProjectLocationAgentValidateCall<'a, S>

Create a builder to help you perform the following task:

Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.

§Arguments
  • request - No description provided.
  • name - Required. The agent to validate. Format: projects//locations//agents/.
source

pub fn locations_operations_cancel( &self, name: &str ) -> ProjectLocationOperationCancelCall<'a, S>

Create a builder to help you perform the following task:

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

§Arguments
  • name - The name of the operation resource to be cancelled.
source

pub fn locations_operations_get( &self, name: &str ) -> ProjectLocationOperationGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

§Arguments
  • name - The name of the operation resource.
source

pub fn locations_operations_list( &self, name: &str ) -> ProjectLocationOperationListCall<'a, S>

Create a builder to help you perform the following task:

Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.

§Arguments
  • name - The name of the operation’s parent resource.
source

pub fn locations_security_settings_create( &self, request: GoogleCloudDialogflowCxV3SecuritySettings, parent: &str ) -> ProjectLocationSecuritySettingCreateCall<'a, S>

Create a builder to help you perform the following task:

Create security settings in the specified location.

§Arguments
  • request - No description provided.
  • parent - Required. The location to create an SecuritySettings for. Format: projects//locations/.
source

pub fn locations_security_settings_delete( &self, name: &str ) -> ProjectLocationSecuritySettingDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified SecuritySettings.

§Arguments
  • name - Required. The name of the SecuritySettings to delete. Format: projects//locations//securitySettings/.
source

pub fn locations_security_settings_get( &self, name: &str ) -> ProjectLocationSecuritySettingGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.

§Arguments
  • name - Required. Resource name of the settings. Format: projects//locations//securitySettings/.
source

pub fn locations_security_settings_list( &self, parent: &str ) -> ProjectLocationSecuritySettingListCall<'a, S>

Create a builder to help you perform the following task:

Returns the list of all security settings in the specified location.

§Arguments
  • parent - Required. The location to list all security settings for. Format: projects//locations/.
source

pub fn locations_security_settings_patch( &self, request: GoogleCloudDialogflowCxV3SecuritySettings, name: &str ) -> ProjectLocationSecuritySettingPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified SecuritySettings.

§Arguments
  • request - No description provided.
  • name - Resource name of the settings. Required for the SecuritySettingsService.UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings populates the name automatically. Format: projects//locations//securitySettings/.
source

pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, S>

Create a builder to help you perform the following task:

Gets information about a location.

§Arguments
  • name - Resource name for the location.
source

pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, S>

Create a builder to help you perform the following task:

Lists information about the supported locations for this service.

§Arguments
  • name - The resource that owns the locations collection, if applicable.
source

pub fn operations_cancel(&self, name: &str) -> ProjectOperationCancelCall<'a, S>

Create a builder to help you perform the following task:

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

§Arguments
  • name - The name of the operation resource to be cancelled.
source

pub fn operations_get(&self, name: &str) -> ProjectOperationGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

§Arguments
  • name - The name of the operation resource.
source

pub fn operations_list(&self, name: &str) -> ProjectOperationListCall<'a, S>

Create a builder to help you perform the following task:

Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.

§Arguments
  • name - The name of the operation’s parent resource.

Trait Implementations§

source§

impl<'a, S> MethodsBuilder for ProjectMethods<'a, S>

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for ProjectMethods<'a, S>

§

impl<'a, S> Send for ProjectMethods<'a, S>
where S: Sync,

§

impl<'a, S> Sync for ProjectMethods<'a, S>
where S: Sync,

§

impl<'a, S> Unpin for ProjectMethods<'a, S>

§

impl<'a, S> !UnwindSafe for ProjectMethods<'a, S>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more