lib/google/cloud/dialogflow.rb in google-cloud-dialogflow-0.4.0 vs lib/google/cloud/dialogflow.rb in google-cloud-dialogflow-0.5.0
- old
+ new
@@ -100,25 +100,25 @@
# and actions.
#
# You can create an agent using both Dialogflow Standard Edition and
# Dialogflow Enterprise Edition. For details, see
# [Dialogflow
- # Editions](https://cloud.google.com/dialogflow-enterprise/docs/editions).
+ # Editions](https://cloud.google.com/dialogflow/docs/editions).
#
# You can save your agent for backup or versioning by exporting the agent by
# using the {Google::Cloud::Dialogflow::V2::Agents::ExportAgent ExportAgent} method. You can import a saved
# agent by using the {Google::Cloud::Dialogflow::V2::Agents::ImportAgent ImportAgent} method.
#
# Dialogflow provides several
# [prebuilt
- # agents](https://cloud.google.com/dialogflow-enterprise/docs/agents-prebuilt)
+ # agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
# for common conversation scenarios such as determining a date and time,
# converting currency, and so on.
#
# For more information about agents, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/agents-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
#
# @param version [Symbol, String]
# The major version of the service to be used. By default :v2
# is used.
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
@@ -146,10 +146,14 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
@@ -183,11 +187,11 @@
# requests specified by the `lifespan_count` parameter, or after 20 minutes
# if no intents are matched for a `DetectIntent` request.
#
# For more information about contexts, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/contexts-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/contexts-overview).
#
# @param version [Symbol, String]
# The major version of the service to be used. By default :v2
# is used.
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
@@ -215,10 +219,14 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
@@ -262,11 +270,11 @@
# favorites, preferences, playlists, and so on. A user entity is
# represented by the {Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType} type.
#
# For more information about entity types, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/entities-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
#
# @param version [Symbol, String]
# The major version of the service to be used. By default :v2
# is used.
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
@@ -294,10 +302,14 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
@@ -345,11 +357,11 @@
# * **Training phrases** - provide examples of user input to train the
# Dialogflow API agent to better match intents.
#
# For more information about intents, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/intents-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/intents-overview).
#
# @param version [Symbol, String]
# The major version of the service to be used. By default :v2
# is used.
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
@@ -377,10 +389,14 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
@@ -409,11 +425,11 @@
# favorites, preferences, playlists, and so on. You can redefine a session
# entity type at the session level.
#
# For more information about entity types, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/entities-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
#
# @param version [Symbol, String]
# The major version of the service to be used. By default :v2
# is used.
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
@@ -441,10 +457,14 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
@@ -496,9 +516,13 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v2, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)