Dialogflow CX API - Module Google::Cloud::Dialogflow::CX (v0.2.1)

Reference documentation and code samples for the Dialogflow CX API module Google::Cloud::Dialogflow::CX.

Methods

.agents

def self.agents(version: :v3, &block) -> Agents::Client

Create a new client object for Agents.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Agents::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Agents service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Agents

Service for managing Agents.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Agents::Client) — A client object for the specified version.

.changelogs

def self.changelogs(version: :v3, &block) -> Changelogs::Client

Create a new client object for Changelogs.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Changelogs::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Changelogs service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Changelogs

Service for managing Changelogs.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Changelogs::Client) — A client object for the specified version.

.configure

def self.configure() -> ::Google::Cloud::Config

Configure the google-cloud-dialogflow-cx library.

The following configuration parameters are supported:

  • credentials (type: String, Hash, Google::Auth::Credentials) - The path to the keyfile as a String, the contents of the keyfile as a Hash, or a Google::Auth::Credentials object.
  • lib_name (type: String) - The library name as recorded in instrumentation and logging.
  • lib_version (type: String) - The library version as recorded in instrumentation and logging.
  • interceptors (type: Array<GRPC::ClientInterceptor>) - An array of interceptors that are run before calls are executed.
  • timeout (type: Numeric) - Default timeout in seconds.
  • metadata (type: Hash{Symbol=>String}) - Additional gRPC headers to be sent with the call.
  • retry_policy (type: Hash) - The retry policy. The value is a hash with the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.
Yields
  • (::Google::Cloud.configure.dialogflow_cx)
Returns
  • (::Google::Cloud::Config) — The default configuration used by this library

.deployments

def self.deployments(version: :v3, &block) -> Deployments::Client

Create a new client object for Deployments.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Deployments::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Deployments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Deployments

Service for managing Deployments.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Deployments::Client) — A client object for the specified version.

.entity_types

def self.entity_types(version: :v3, &block) -> EntityTypes::Client

Create a new client object for EntityTypes.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the EntityTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About EntityTypes

Service for managing EntityTypes.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (EntityTypes::Client) — A client object for the specified version.

.environments

def self.environments(version: :v3, &block) -> Environments::Client

Create a new client object for Environments.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Environments::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Environments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Environments

Service for managing Environments.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Environments::Client) — A client object for the specified version.

.experiments

def self.experiments(version: :v3, &block) -> Experiments::Client

Create a new client object for Experiments.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Experiments::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Experiments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Experiments

Service for managing Experiments.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Experiments::Client) — A client object for the specified version.

.flows

def self.flows(version: :v3, &block) -> Flows::Client

Create a new client object for Flows.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Flows::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Flows service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Flows

Service for managing Flows.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Flows::Client) — A client object for the specified version.

.intents

def self.intents(version: :v3, &block) -> Intents::Client

Create a new client object for Intents.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Intents::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Intents service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Intents

Service for managing Intents.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Intents::Client) — A client object for the specified version.

.pages

def self.pages(version: :v3, &block) -> Pages::Client

Create a new client object for Pages.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Pages::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Pages service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Pages

Service for managing Pages.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Pages::Client) — A client object for the specified version.

.security_settings_service

def self.security_settings_service(version: :v3, &block) -> SecuritySettingsService::Client

Create a new client object for SecuritySettingsService.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the SecuritySettingsService service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SecuritySettingsService

Service for managing security settings for Dialogflow.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (SecuritySettingsService::Client) — A client object for the specified version.

.session_entity_types

def self.session_entity_types(version: :v3, &block) -> SessionEntityTypes::Client

Create a new client object for SessionEntityTypes.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::SessionEntityTypes::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the SessionEntityTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SessionEntityTypes

Service for managing SessionEntityTypes.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (SessionEntityTypes::Client) — A client object for the specified version.

.sessions

def self.sessions(version: :v3, &block) -> Sessions::Client

Create a new client object for Sessions.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Sessions::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Sessions service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Sessions

A session represents an interaction with a user. You retrieve user input and pass it to the DetectIntent method to determine user intent and respond.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Sessions::Client) — A client object for the specified version.

.test_cases

def self.test_cases(version: :v3, &block) -> TestCases::Client

Create a new client object for TestCases.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::TestCases::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the TestCases service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TestCases

Service for managing Test Cases and Test Case Results.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (TestCases::Client) — A client object for the specified version.

.transition_route_groups

def self.transition_route_groups(version: :v3, &block) -> TransitionRouteGroups::Client

Create a new client object for TransitionRouteGroups.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the TransitionRouteGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TransitionRouteGroups

Service for managing TransitionRouteGroups.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (TransitionRouteGroups::Client) — A client object for the specified version.

.versions

def self.versions(version: :v3, &block) -> Versions::Client

Create a new client object for Versions.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Versions::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Versions service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Versions

Service for managing Versions.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Versions::Client) — A client object for the specified version.

.webhooks

def self.webhooks(version: :v3, &block) -> Webhooks::Client

Create a new client object for Webhooks.

By default, this returns an instance of Google::Cloud::Dialogflow::CX::V3::Webhooks::Client for version V3 of the API. However, you can specify specify a different API version by passing it in the version parameter. If the Webhooks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Webhooks

Service for managing Webhooks.

Parameter
  • version (::String, ::Symbol) (defaults to: :v3) — The API version to connect to. Optional. Defaults to :v3.
Returns
  • (Webhooks::Client) — A client object for the specified version.

Constants

VERSION

value: "0.2.1"