Autogenerated update (2020-10-07)

Update:
- accesscontextmanager_v1
- content_v2
- dialogflow_v2
- dialogflow_v2beta1
- dialogflow_v3beta1
- people_v1
This commit is contained in:
Google APIs 2020-10-07 00:38:59 +00:00
parent 3b979b3663
commit f3b058c1b4
21 changed files with 1487 additions and 2023 deletions

View File

@ -288,6 +288,11 @@
"/accesscontextmanager:v1/Expr/expression": expression
"/accesscontextmanager:v1/Expr/location": location
"/accesscontextmanager:v1/Expr/title": title
"/accesscontextmanager:v1/GcpUserAccessBinding": gcp_user_access_binding
"/accesscontextmanager:v1/GcpUserAccessBinding/accessLevels": access_levels
"/accesscontextmanager:v1/GcpUserAccessBinding/accessLevels/access_level": access_level
"/accesscontextmanager:v1/GcpUserAccessBinding/groupKey": group_key
"/accesscontextmanager:v1/GcpUserAccessBinding/name": name
"/accesscontextmanager:v1/ListAccessLevelsResponse": list_access_levels_response
"/accesscontextmanager:v1/ListAccessLevelsResponse/accessLevels": access_levels
"/accesscontextmanager:v1/ListAccessLevelsResponse/accessLevels/access_level": access_level
@ -296,6 +301,10 @@
"/accesscontextmanager:v1/ListAccessPoliciesResponse/accessPolicies": access_policies
"/accesscontextmanager:v1/ListAccessPoliciesResponse/accessPolicies/access_policy": access_policy
"/accesscontextmanager:v1/ListAccessPoliciesResponse/nextPageToken": next_page_token
"/accesscontextmanager:v1/ListGcpUserAccessBindingsResponse": list_gcp_user_access_bindings_response
"/accesscontextmanager:v1/ListGcpUserAccessBindingsResponse/gcpUserAccessBindings": gcp_user_access_bindings
"/accesscontextmanager:v1/ListGcpUserAccessBindingsResponse/gcpUserAccessBindings/gcp_user_access_binding": gcp_user_access_binding
"/accesscontextmanager:v1/ListGcpUserAccessBindingsResponse/nextPageToken": next_page_token
"/accesscontextmanager:v1/ListOperationsResponse": list_operations_response
"/accesscontextmanager:v1/ListOperationsResponse/nextPageToken": next_page_token
"/accesscontextmanager:v1/ListOperationsResponse/operations": operations
@ -415,6 +424,19 @@
"/accesscontextmanager:v1/accesscontextmanager.operations.list/name": name
"/accesscontextmanager:v1/accesscontextmanager.operations.list/pageSize": page_size
"/accesscontextmanager:v1/accesscontextmanager.operations.list/pageToken": page_token
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.create": create_organization_gcp_user_access_binding
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.create/parent": parent
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.delete": delete_organization_gcp_user_access_binding
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.delete/name": name
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.get": get_organization_gcp_user_access_binding
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.get/name": name
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list": list_organization_gcp_user_access_bindings
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/pageSize": page_size
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/pageToken": page_token
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/parent": parent
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch": patch_organization_gcp_user_access_binding
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/name": name
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/updateMask": update_mask
"/accesscontextmanager:v1/fields": fields
"/accesscontextmanager:v1/key": key
"/accesscontextmanager:v1/quotaUser": quota_user
@ -84098,6 +84120,9 @@
"/dialogflow:v2/GoogleCloudDialogflowV2ImportAgentRequest": google_cloud_dialogflow_v2_import_agent_request
"/dialogflow:v2/GoogleCloudDialogflowV2ImportAgentRequest/agentContent": agent_content
"/dialogflow:v2/GoogleCloudDialogflowV2ImportAgentRequest/agentUri": agent_uri
"/dialogflow:v2/GoogleCloudDialogflowV2ImportDocumentsResponse": google_cloud_dialogflow_v2_import_documents_response
"/dialogflow:v2/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings": warnings
"/dialogflow:v2/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig": google_cloud_dialogflow_v2_input_audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/audioEncoding": audio_encoding
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/enableWordInfo": enable_word_info
@ -84483,6 +84508,9 @@
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": google_cloud_dialogflow_v2beta1_human_agent_assistant_event
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/conversation": conversation
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/type": type
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ImportDocumentsResponse": google_cloud_dialogflow_v2beta1_import_documents_response
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings": warnings
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent": google_cloud_dialogflow_v2beta1_intent
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent/action": action
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent/defaultResponsePlatforms": default_response_platforms
@ -85243,6 +85271,9 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ExportAgentResponse": google_cloud_dialogflow_v2_export_agent_response
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ExportAgentResponse/agentContent": agent_content
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ExportAgentResponse/agentUri": agent_uri
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ImportDocumentsResponse": google_cloud_dialogflow_v2_import_documents_response
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings": warnings
"/dialogflow:v2beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent": google_cloud_dialogflow_v2_intent
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/action": action
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/defaultResponsePlatforms": default_response_platforms
@ -85694,6 +85725,9 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest": google_cloud_dialogflow_v2beta1_import_agent_request
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest/agentContent": agent_content
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest/agentUri": agent_uri
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse": google_cloud_dialogflow_v2beta1_import_documents_response
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings": warnings
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudio": google_cloud_dialogflow_v2beta1_input_audio
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudio/audio": audio
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudio/config": config
@ -87240,6 +87274,7 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/matches/match": match
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/text": text
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/transcript": transcript
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/triggerEvent": trigger_event
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/triggerIntent": trigger_intent
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings": google_cloud_dialogflow_cx_v3beta1_nlu_settings
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings/classificationThreshold": classification_threshold
@ -87482,6 +87517,9 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ExportAgentResponse": google_cloud_dialogflow_v2_export_agent_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ExportAgentResponse/agentContent": agent_content
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ExportAgentResponse/agentUri": agent_uri
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse": google_cloud_dialogflow_v2_import_documents_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings": warnings
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v3beta1/GoogleCloudDialogflowV2Intent": google_cloud_dialogflow_v2_intent
"/dialogflow:v3beta1/GoogleCloudDialogflowV2Intent/action": action
"/dialogflow:v3beta1/GoogleCloudDialogflowV2Intent/defaultResponsePlatforms": default_response_platforms
@ -87772,6 +87810,9 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ExportAgentResponse": google_cloud_dialogflow_v2beta1_export_agent_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ExportAgentResponse/agentContent": agent_content
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ExportAgentResponse/agentUri": agent_uri
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse": google_cloud_dialogflow_v2beta1_import_documents_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings": warnings
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent": google_cloud_dialogflow_v2beta1_intent
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent/action": action
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent/defaultResponsePlatforms": default_response_platforms

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1
VERSION = 'V1'
REVISION = '20200825'
REVISION = '20200927'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -446,6 +446,49 @@ module Google
end
end
# Restricts access to Cloud Console and Google Cloud APIs for a set of users
# using Context-Aware Access.
class GcpUserAccessBinding
include Google::Apis::Core::Hashable
# Required. Access level that a user must have to be granted access. Only one
# access level is supported, not multiple. This repeated field must have exactly
# one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
# Corresponds to the JSON property `accessLevels`
# @return [Array<String>]
attr_accessor :access_levels
# Required. Immutable. Google Group id whose members are subject to this binding'
# s restrictions. See "id" in the [G Suite Directory API's Groups resource] (
# https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource)
# . If a group's email address/alias is changed, this resource will continue to
# point at the changed group. This field does not accept group email addresses
# or aliases. Example: "01d520gv4vjcrht"
# Corresponds to the JSON property `groupKey`
# @return [String]
attr_accessor :group_key
# Immutable. Assigned by the server during creation. The last segment has an
# arbitrary length and has only URI unreserved characters (as defined by [RFC
# 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should
# not be specified by the client during creation. Example: "organizations/256/
# gcpUserAccessBindings/b3-BhcX_Ud5N"
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@access_levels = args[:access_levels] if args.key?(:access_levels)
@group_key = args[:group_key] if args.key?(:group_key)
@name = args[:name] if args.key?(:name)
end
end
# A response to `ListAccessLevelsRequest`.
class ListAccessLevelsResponse
include Google::Apis::Core::Hashable
@ -498,6 +541,31 @@ module Google
end
end
# Response of ListGcpUserAccessBindings.
class ListGcpUserAccessBindingsResponse
include Google::Apis::Core::Hashable
# GcpUserAccessBinding
# Corresponds to the JSON property `gcpUserAccessBindings`
# @return [Array<Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding>]
attr_accessor :gcp_user_access_bindings
# Token to get the next page of items. If blank, there are no more items.
# 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)
@gcp_user_access_bindings = args[:gcp_user_access_bindings] if args.key?(:gcp_user_access_bindings)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Operations.ListOperations.
class ListOperationsResponse
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GcpUserAccessBinding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAccessLevelsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListGcpUserAccessBindingsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -275,6 +287,15 @@ module Google
end
end
class GcpUserAccessBinding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :access_levels, as: 'accessLevels'
property :group_key, as: 'groupKey'
property :name, as: 'name'
end
end
class ListAccessLevelsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -293,6 +314,15 @@ module Google
end
end
class ListGcpUserAccessBindingsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :gcp_user_access_bindings, as: 'gcpUserAccessBindings', class: Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding, decorator: Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -870,6 +870,186 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a GcpUserAccessBinding. If the client specifies a name, the server
# will ignore it. Fails if a resource already exists with the same group_key.
# Completion of this long-running operation does not necessarily signify that
# the new binding is deployed onto all affected users, which may take more time.
# @param [String] parent
# Required. Example: "organizations/256"
# @param [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding] gcp_user_access_binding_object
# @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::AccesscontextmanagerV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
#
# @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 create_organization_gcp_user_access_binding(parent, gcp_user_access_binding_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/gcpUserAccessBindings', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
command.request_object = gcp_user_access_binding_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['parent'] = parent unless parent.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 a GcpUserAccessBinding. Completion of this long-running operation does
# not necessarily signify that the binding deletion is deployed onto all
# affected users, which may take more time.
# @param [String] name
# Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
# @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::AccesscontextmanagerV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
#
# @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 delete_organization_gcp_user_access_binding(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the GcpUserAccessBinding with the given name.
# @param [String] name
# Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
# @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::AccesscontextmanagerV1::GcpUserAccessBinding] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding]
#
# @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 get_organization_gcp_user_access_binding(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists all GcpUserAccessBindings for a Google Cloud organization.
# @param [String] parent
# Required. Example: "organizations/256"
# @param [Fixnum] page_size
# Optional. Maximum number of items to return. The server may return fewer items.
# If left blank, the server may return any number of items.
# @param [String] page_token
# Optional. If left blank, returns the first page. To enumerate all items, use
# the next_page_token from your previous list operation.
# @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::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse]
#
# @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_organization_gcp_user_access_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/gcpUserAccessBindings', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ListGcpUserAccessBindingsResponse
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
# Updates a GcpUserAccessBinding. Completion of this long-running operation does
# not necessarily signify that the changed binding is deployed onto all affected
# users, which may take more time.
# @param [String] name
# Immutable. Assigned by the server during creation. The last segment has an
# arbitrary length and has only URI unreserved characters (as defined by [RFC
# 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should
# not be specified by the client during creation. Example: "organizations/256/
# gcpUserAccessBindings/b3-BhcX_Ud5N"
# @param [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding] gcp_user_access_binding_object
# @param [String] update_mask
# Required. Only the fields specified in this mask are updated. Because name and
# group_key cannot be changed, update_mask is required and must always be:
# update_mask ` paths: "access_levels" `
# @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::AccesscontextmanagerV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
#
# @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 patch_organization_gcp_user_access_binding(name, gcp_user_access_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
command.request_object = gcp_user_access_binding_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected

View File

@ -20,13 +20,12 @@ module Google
module Apis
# Content API for Shopping
#
# Manages product items, inventory, and Merchant Center accounts for Google
# Shopping.
# Manage your product listings and accounts for Google Shopping
#
# @see https://developers.google.com/shopping-content
# @see https://developers.google.com/shopping-content/v2/
module ContentV2
VERSION = 'V2'
REVISION = '20200922'
REVISION = '20200930'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2
VERSION = 'V2'
REVISION = '20200928'
REVISION = '20201005'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1769,6 +1769,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# Instructs the speech recognizer how to process the audio content.
class GoogleCloudDialogflowV2InputAudioConfig
include Google::Apis::Core::Hashable
@ -3616,9 +3635,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -3777,9 +3796,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -4570,6 +4589,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# An intent categorizes an end-user's intention for one conversation turn. For
# each agent, you define many intents, where your combined intents can handle a
# complete conversation. When an end-user writes or says something, referred to
@ -6542,9 +6580,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -6629,9 +6667,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -6911,26 +6949,6 @@ module Google
end
end
# Metadata associated with the long running operation for Versions.CreateVersion.
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
include Google::Apis::Core::Hashable
# Name of the created version. Format: `projects//locations//agents//flows//
# versions/`.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# The response message for Agents.ExportAgent.
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
include Google::Apis::Core::Hashable

View File

@ -310,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2InputAudioConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -742,6 +748,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1102,12 +1114,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1641,6 +1647,14 @@ module Google
end
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2InputAudioConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2396,6 +2410,14 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3039,13 +3061,6 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20200928'
REVISION = '20201005'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1076,6 +1076,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# An intent categorizes an end-user's intention for one conversation turn. For
# each agent, you define many intents, where your combined intents can handle a
# complete conversation. When an end-user writes or says something, referred to
@ -2529,9 +2548,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -2615,9 +2634,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -4036,6 +4055,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# Instructs the speech recognizer on how to process the audio content.
class GoogleCloudDialogflowV2beta1InputAudioConfig
include Google::Apis::Core::Hashable
@ -6525,9 +6563,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -6706,9 +6744,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -7237,26 +7275,6 @@ module Google
end
end
# Metadata associated with the long running operation for Versions.CreateVersion.
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
include Google::Apis::Core::Hashable
# Name of the created version. Format: `projects//locations//agents//flows//
# versions/`.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# The response message for Agents.ExportAgent.
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
include Google::Apis::Core::Hashable

View File

@ -208,6 +208,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -640,6 +646,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputAudioConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1150,12 +1162,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1513,6 +1519,14 @@ module Google
end
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2287,6 +2301,14 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2beta1InputAudioConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3168,13 +3190,6 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV3beta1
VERSION = 'V3beta1'
REVISION = '20200928'
REVISION = '20201005'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -172,8 +172,10 @@ module Google
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig]
attr_accessor :output_audio_config
# Represents the query input. It can contain either: 1. A conversational query
# Represents the query input. It can contain one of: 1. A conversational query
# in the form of text. 2. An intent query that specifies which intent to trigger.
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
#
# Corresponds to the JSON property `queryInput`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
attr_accessor :query_input
@ -1698,8 +1700,10 @@ module Google
class GoogleCloudDialogflowCxV3beta1MatchIntentRequest
include Google::Apis::Core::Hashable
# Represents the query input. It can contain either: 1. A conversational query
# Represents the query input. It can contain one of: 1. A conversational query
# in the form of text. 2. An intent query that specifies which intent to trigger.
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
#
# Corresponds to the JSON property `queryInput`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
attr_accessor :query_input
@ -1758,6 +1762,12 @@ module Google
# @return [String]
attr_accessor :transcript
# If an event was provided as input, this field will contain a copy of the event
# name.
# Corresponds to the JSON property `triggerEvent`
# @return [String]
attr_accessor :trigger_event
# If an intent was provided as input, this field will contain a copy of the
# intent identifier.
# Corresponds to the JSON property `triggerIntent`
@ -1774,6 +1784,7 @@ module Google
@matches = args[:matches] if args.key?(:matches)
@text = args[:text] if args.key?(:text)
@transcript = args[:transcript] if args.key?(:transcript)
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
end
end
@ -2041,8 +2052,10 @@ module Google
end
end
# Represents the query input. It can contain either: 1. A conversational query
# Represents the query input. It can contain one of: 1. A conversational query
# in the form of text. 2. An intent query that specifies which intent to trigger.
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
#
class GoogleCloudDialogflowCxV3beta1QueryInput
include Google::Apis::Core::Hashable
@ -3673,6 +3686,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# An intent categorizes an end-user's intention for one conversation turn. For
# each agent, you define many intents, where your combined intents can handle a
# complete conversation. When an end-user writes or says something, referred to
@ -5126,9 +5158,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -5212,9 +5244,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -5784,6 +5816,25 @@ module Google
end
end
# Response message for Documents.ImportDocuments.
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
include Google::Apis::Core::Hashable
# Includes details about skipped documents or any other warnings.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
# An intent categorizes an end-user's intention for one conversation turn. For
# each agent, you define many intents, where your combined intents can handle a
# complete conversation. When an end-user writes or says something, referred to
@ -7756,9 +7807,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -7843,9 +7894,9 @@ module Google
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
# it needs to be configured in DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
# needs to be configured in DetectIntentRequest.query_params. For Participants.
# StreamingDetectIntent, it needs to be configured in
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
# and Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
@ -8125,26 +8176,6 @@ module Google
end
end
# Metadata associated with the long running operation for Versions.CreateVersion.
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
include Google::Apis::Core::Hashable
# Name of the created version. Format: `projects//locations//agents//flows//
# versions/`.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# The response message for Agents.ExportAgent.
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
include Google::Apis::Core::Hashable

View File

@ -586,6 +586,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -898,6 +904,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1258,12 +1270,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1796,6 +1802,7 @@ module Google
property :text, as: 'text'
property :transcript, as: 'transcript'
property :trigger_event, as: 'triggerEvent'
property :trigger_intent, as: 'triggerIntent'
end
end
@ -2285,6 +2292,14 @@ module Google
end
end
class GoogleCloudDialogflowV2ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2849,6 +2864,14 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
end
end
class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3492,13 +3515,6 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -112,7 +112,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Exports the specified agent to a ZIP file.
# Exports the specified agent to a binary file.
# @param [String] name
# Required. The name of the agent to export. Format: `projects//locations//
# agents/`.
@ -252,8 +252,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Restores the specified agent from a ZIP file. Note that all existing intents,
# intent routes, entity types, pages and webhooks in the agent will be deleted.
# Restores the specified agent from a bianry 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.
# @param [String] name
# Required. The name of the agent to restore into. Format: `projects//locations//
# agents/`.
@ -714,7 +715,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -754,7 +757,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -792,7 +797,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2100,7 +2107,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2140,7 +2149,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2178,7 +2189,9 @@ module Google
# 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.
# hashed). The length of the `Session ID` must not exceed 36 characters. For
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
# cx/docs/concept/session).
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/
module PeopleV1
VERSION = 'V1'
REVISION = '20200923'
REVISION = '20201004'
# See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -1026,7 +1026,8 @@ module Google
attr_accessor :next_page_token
# A token, which can be sent as `sync_token` to retrieve changes since the last
# request. Request must set `request_sync_token` to return the sync token.
# request. Request must set `request_sync_token` to return the sync token. When
# the response is paginated, only the last page will contain `nextSyncToken`.
# Corresponds to the JSON property `nextSyncToken`
# @return [String]
attr_accessor :next_sync_token

View File

@ -866,10 +866,10 @@ module Google
# Each path should start with `person.`: for example, `person.names` or `person.
# photos`.
# @param [Boolean] request_sync_token
# Optional. Whether the response should include `next_sync_token`, which can be
# used to get all changes since the last request. For subsequent sync requests
# use the `sync_token` param instead. Initial sync requests that specify `
# request_sync_token` have an additional rate limit.
# Optional. Whether the response should include `next_sync_token` on the last
# page, which can be used to get all changes since the last request. For
# subsequent sync requests use the `sync_token` param instead. Initial sync
# requests that specify `request_sync_token` have an additional rate limit.
# @param [String] sort_order
# Optional. The order in which the connections should be sorted. Defaults to `
# LAST_MODIFIED_ASCENDING`.