Autogenerated update (2020-05-07)

Delete:
- commentanalyzer_v1alpha1
- osconfig_v1beta

Update:
- adexchangebuyer2_v2beta1
- androidenterprise_v1
- androidpublisher_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
- bigquery_v2
- bigqueryconnection_v1beta1
- bigqueryreservation_v1
- bigqueryreservation_v1beta1
- binaryauthorization_v1
- binaryauthorization_v1beta1
- calendar_v3
- cloudasset_v1p1beta1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- cloudidentity_v1beta1
- cloudiot_v1
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- cloudscheduler_v1
- cloudscheduler_v1beta1
- cloudsearch_v1
- cloudshell_v1alpha1
- cloudtasks_v2
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- cloudtrace_v2
- composer_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- container_v1beta1
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- content_v2
- content_v2_1
- customsearch_v1
- datacatalog_v1beta1
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2
- dialogflow_v2beta1
- displayvideo_v1
- dlp_v2
- drive_v2
- drive_v3
- driveactivity_v2
- file_v1
- file_v1beta1
- firebase_v1beta1
- firebasehosting_v1beta1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- gameservices_v1beta
- healthcare_v1
- healthcare_v1beta1
- homegraph_v1
- iamcredentials_v1
- managedidentities_v1
- managedidentities_v1alpha1
- managedidentities_v1beta1
- memcache_v1beta2
- ml_v1
- monitoring_v3
- people_v1
- policytroubleshooter_v1
- policytroubleshooter_v1beta
- prod_tt_sasportal_v1alpha1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- run_v1
- run_v1alpha1
- runtimeconfig_v1beta1
- sasportal_v1alpha1
- script_v1
- secretmanager_v1
- secretmanager_v1beta1
- serviceconsumermanagement_v1
- serviceconsumermanagement_v1beta1
- servicecontrol_v1
- servicedirectory_v1beta1
- servicemanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- sheets_v4
- sourcerepo_v1
- speech_v1
- speech_v1p1beta1
- storage_v1
- tagmanager_v1
- tagmanager_v2
- testing_v1
- toolresults_v1beta3
- vault_v1
- videointelligence_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs committed 2020-05-07 20:07:42 +00:00
1 parent 334a41b6f9
commit 2aab01171a
308 files changed
+40747 -16123

No files matched your search

+203 -35
View File
@@ -483,7 +483,7 @@ module Google
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
@@ -773,6 +773,57 @@ module Google
end
end
# Represents an agent environment.
class GoogleCloudDialogflowV2Environment
include Google::Apis::Core::Hashable
# Optional. The agent version loaded into this environment.
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
# Corresponds to the JSON property `agentVersion`
# @return [String]
attr_accessor :agent_version
# Optional. The developer-provided description for this environment.
# The maximum length is 500 characters. If exceeded, the request is rejected.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Output only. The unique identifier of this agent environment.
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
# For Environment ID, "-" is reserved for 'draft' environment.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The state of this environment. This field is read-only, i.e., it
# cannot be
# set by create and update methods.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. The last update time of this environment. This field is read-only,
# i.e., it
# cannot be set by create and update methods.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent_version = args[:agent_version] if args.key?(:agent_version)
@description = args[:description] if args.key?(:description)
@name = args[:name] if args.key?(:name)
@state = args[:state] if args.key?(:state)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# Events allow for matching intents by event name instead of the natural
# language input. For instance, input `<event: ` name: "welcome_event",
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
@@ -795,6 +846,18 @@ module Google
attr_accessor :name
# The collection of parameters associated with the event.
# Depending on your protocol or client library language, this is a
# map, associative array, symbol table, dictionary, or JSON object
# composed of a collection of (MapKey, MapValue) pairs:
# - MapKey type: string
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
# - Else: parameter value
# Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>]
attr_accessor :parameters
@@ -957,6 +1020,7 @@ module Google
attr_accessor :request_headers
# Required. The fulfillment URI for receiving POST requests.
# It must use https protocol.
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
@@ -2447,6 +2511,33 @@ module Google
end
end
# The response message for Environments.ListEnvironments.
class GoogleCloudDialogflowV2ListEnvironmentsResponse
include Google::Apis::Core::Hashable
# The list of agent environments. There will be a maximum number of items
# returned based on the page_size field in the request.
# Corresponds to the JSON property `environments`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment>]
attr_accessor :environments
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@environments = args[:environments] if args.key?(:environments)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Intents.ListIntents.
class GoogleCloudDialogflowV2ListIntentsResponse
include Google::Apis::Core::Hashable
@@ -2857,6 +2948,18 @@ module Google
attr_accessor :output_contexts
# The collection of extracted parameters.
# Depending on your protocol or client library language, this is a
# map, associative array, symbol table, dictionary, or JSON object
# composed of a collection of (MapKey, MapValue) pairs:
# - MapKey type: string
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
# - Else: parameter value
# Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>]
attr_accessor :parameters
@@ -3396,29 +3499,33 @@ module Google
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput]
attr_accessor :followup_event_input
# Optional. The collection of rich messages to present to the user. This
# value is passed directly to `QueryResult.fulfillment_messages`.
# Optional. The rich response messages intended for the end-user.
# When provided, Dialogflow uses this field to populate
# QueryResult.fulfillment_messages sent to the integration or API caller.
# Corresponds to the JSON property `fulfillmentMessages`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage>]
attr_accessor :fulfillment_messages
# Optional. The text to be shown on the screen. This value is passed directly
# to `QueryResult.fulfillment_text`.
# Optional. The text response message intended for the end-user.
# It is recommended to use `fulfillment_messages.text.text[0]` instead.
# When provided, Dialogflow uses this field to populate
# QueryResult.fulfillment_text sent to the integration or API caller.
# Corresponds to the JSON property `fulfillmentText`
# @return [String]
attr_accessor :fulfillment_text
# Optional. The collection of output contexts. This value is passed directly
# to `QueryResult.output_contexts`.
# Optional. The collection of output contexts that will overwrite currently
# active contexts for the session and reset their lifespans.
# When provided, Dialogflow uses this field to populate
# QueryResult.output_contexts sent to the integration or API caller.
# Corresponds to the JSON property `outputContexts`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>]
attr_accessor :output_contexts
# Optional. This field can be used to pass custom data from your webhook to the
# API
# caller. Arbitrary JSON objects are supported.
# integration or API caller. Arbitrary JSON objects are supported.
# When provided, Dialogflow uses this field to populate
# `QueryResult.webhook_payload` sent to the API caller.
# QueryResult.webhook_payload sent to the integration or API caller.
# This field is also used by the
# [Google Assistant
# integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -3432,14 +3539,17 @@ module Google
# Optional. Additional session entity types to replace or extend developer
# entity types with. The entity synonyms apply to all languages and persist
# for the session of this query. Setting the session entity types inside
# webhook overwrites the session entity types that have been set through
# `DetectIntentRequest.query_params.session_entity_types`.
# for the session. Setting this data from a webhook overwrites
# the session entity types that have been set using `detectIntent`,
# `streamingDetectIntent` or SessionEntityType management methods.
# Corresponds to the JSON property `sessionEntityTypes`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType>]
attr_accessor :session_entity_types
# Optional. This value is passed directly to `QueryResult.webhook_source`.
# Optional. A custom field used to identify the webhook source.
# Arbitrary strings are supported.
# When provided, Dialogflow uses this field to populate
# QueryResult.webhook_source sent to the integration or API caller.
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
@@ -3602,7 +3712,7 @@ module Google
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
@@ -3737,6 +3847,18 @@ module Google
attr_accessor :name
# The collection of parameters associated with the event.
# Depending on your protocol or client library language, this is a
# map, associative array, symbol table, dictionary, or JSON object
# composed of a collection of (MapKey, MapValue) pairs:
# - MapKey type: string
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
# - Else: parameter value
# Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>]
attr_accessor :parameters
@@ -3819,7 +3941,7 @@ module Google
# @return [Array<String>]
attr_accessor :events
# Read-only. Information about all followup intents that have this intent as
# Output only. Information about all followup intents that have this intent as
# a direct or indirect parent. We populate this field only in the output.
# Corresponds to the JSON property `followupIntentInfo`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>]
@@ -3869,7 +3991,7 @@ module Google
attr_accessor :ml_enabled
alias_method :ml_enabled?, :ml_enabled
# The unique identifier of this intent.
# Optional. The unique identifier of this intent.
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
# methods.
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
@@ -3891,7 +4013,7 @@ module Google
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter>]
attr_accessor :parameters
# Read-only after creation. The unique identifier of the parent intent in the
# Optional. The unique identifier of the parent intent in the
# chain of followup intents. You can set this field when creating an intent,
# for example with CreateIntent or
# BatchUpdateIntents, in order to make this
@@ -3902,7 +4024,7 @@ module Google
# @return [String]
attr_accessor :parent_followup_intent_name
# The priority of this intent. Higher numbers represent higher
# Optional. The priority of this intent. Higher numbers represent higher
# priorities.
# - If the supplied value is unspecified or 0, the service
# translates the value to 500,000, which corresponds to the
@@ -3920,9 +4042,9 @@ module Google
attr_accessor :reset_contexts
alias_method :reset_contexts?, :reset_contexts
# Read-only. The unique identifier of the root intent in the chain of
# Output only. The unique identifier of the root intent in the chain of
# followup intents. It identifies the correct followup intents chain for
# this intent. We populate this field only in the output.
# this intent.
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
# Corresponds to the JSON property `rootFollowupIntentName`
# @return [String]
@@ -5643,7 +5765,7 @@ module Google
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
include Google::Apis::Core::Hashable
# Required. The current state of this operation.
# Required. Output only. The current state of this operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@@ -5809,6 +5931,18 @@ module Google
attr_accessor :output_contexts
# The collection of extracted parameters.
# Depending on your protocol or client library language, this is a
# map, associative array, symbol table, dictionary, or JSON object
# composed of a collection of (MapKey, MapValue) pairs:
# - MapKey type: string
# - MapKey value: parameter name
# - MapValue type:
# - If parameter's entity type is a composite entity: map
# - Else: string or number, depending on parameter value type
# - MapValue value:
# - If parameter's entity type is a composite entity:
# map from composite entity property names to property values
# - Else: parameter value
# Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>]
attr_accessor :parameters
@@ -6054,29 +6188,33 @@ module Google
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EventInput]
attr_accessor :followup_event_input
# Optional. The collection of rich messages to present to the user. This
# value is passed directly to `QueryResult.fulfillment_messages`.
# Optional. The rich response messages intended for the end-user.
# When provided, Dialogflow uses this field to populate
# QueryResult.fulfillment_messages sent to the integration or API caller.
# Corresponds to the JSON property `fulfillmentMessages`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage>]
attr_accessor :fulfillment_messages
# Optional. The text to be shown on the screen. This value is passed directly
# to `QueryResult.fulfillment_text`.
# Optional. The text response message intended for the end-user.
# It is recommended to use `fulfillment_messages.text.text[0]` instead.
# When provided, Dialogflow uses this field to populate
# QueryResult.fulfillment_text sent to the integration or API caller.
# Corresponds to the JSON property `fulfillmentText`
# @return [String]
attr_accessor :fulfillment_text
# Optional. The collection of output contexts. This value is passed directly
# to `QueryResult.output_contexts`.
# Optional. The collection of output contexts that will overwrite currently
# active contexts for the session and reset their lifespans.
# When provided, Dialogflow uses this field to populate
# QueryResult.output_contexts sent to the integration or API caller.
# Corresponds to the JSON property `outputContexts`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context>]
attr_accessor :output_contexts
# Optional. This field can be used to pass custom data from your webhook to the
# API
# caller. Arbitrary JSON objects are supported.
# integration or API caller. Arbitrary JSON objects are supported.
# When provided, Dialogflow uses this field to populate
# `QueryResult.webhook_payload` sent to the API caller.
# QueryResult.webhook_payload sent to the integration or API caller.
# This field is also used by the
# [Google Assistant
# integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
@@ -6090,14 +6228,17 @@ module Google
# Optional. Additional session entity types to replace or extend developer
# entity types with. The entity synonyms apply to all languages and persist
# for the session of this query. Setting the session entity types inside
# webhook overwrites the session entity types that have been set through
# `DetectIntentRequest.query_params.session_entity_types`.
# for the session. Setting this data from a webhook overwrites
# the session entity types that have been set using `detectIntent`,
# `streamingDetectIntent` or SessionEntityType management methods.
# Corresponds to the JSON property `sessionEntityTypes`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType>]
attr_accessor :session_entity_types
# Optional. This value is passed directly to `QueryResult.webhook_source`.
# Optional. A custom field used to identify the webhook source.
# Arbitrary strings are supported.
# When provided, Dialogflow uses this field to populate
# QueryResult.webhook_source sent to the integration or API caller.
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
@@ -6119,6 +6260,33 @@ module Google
end
end
# The response message for Agents.ExportAgent.
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
include Google::Apis::Core::Hashable
# Uncompressed raw byte content for agent.
# Corresponds to the JSON property `agentContent`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :agent_content
# The URI to a file containing the exported agent. This field is populated
# only if `agent_uri` is specified in ExportAgentRequest.
# Corresponds to the JSON property `agentUri`
# @return [String]
attr_accessor :agent_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent_content = args[:agent_content] if args.key?(:agent_content)
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable
@@ -130,6 +130,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2Environment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2EventInput
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -394,6 +400,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2ListEnvironmentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2ListIntentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -934,6 +946,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1150,6 +1168,17 @@ module Google
end
end
class GoogleCloudDialogflowV2Environment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent_version, as: 'agentVersion'
property :description, as: 'description'
property :name, as: 'name'
property :state, as: 'state'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDialogflowV2EventInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1614,6 +1643,15 @@ module Google
end
end
class GoogleCloudDialogflowV2ListEnvironmentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :environments, as: 'environments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowV2ListIntentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2566,6 +2604,14 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent_content, :base64 => true, as: 'agentContent'
property :agent_uri, as: 'agentUri'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -826,6 +826,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the list of all non-draft environments of the specified agent.
# @param [String] parent
# Required. The agent to list all environments from.
# Format: `projects/<Project ID>/agent`.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return in a single page. By default
# 100 and
# at most 1000.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/environments', options)
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse::Representation
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes all active contexts in the specified session.
# @param [String] parent
# Required. The name of the session to delete all contexts from. Format: