Autogenerated update (2020-06-24)

Update:
- cloudbuild_v1
- cloudbuild_v1alpha1
- cloudbuild_v1alpha2
- cloudfunctions_v1
- dialogflow_v2
- dialogflow_v2beta1
- displayvideo_v1
- documentai_v1beta2
- doubleclicksearch_v2
- fcm_v1
- healthcare_v1
- healthcare_v1beta1
- monitoring_v3
- spanner_v1
- speech_v1
- speech_v1p1beta1
This commit is contained in:
Google APIs committed 2020-06-24 00:38:30 +00:00
1 parent 16c24bd5d6
commit b7da348cd1
41 files changed
+4776 -339

No files matched your search

+194 -20
View File
@@ -190,6 +190,13 @@ module Google
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
attr_accessor :conversation_success
# Indicates that interaction with the Dialogflow agent has ended.
# This message is generated by Dialogflow only and not supposed to be
# defined by the user.
# Corresponds to the JSON property `endInteraction`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
attr_accessor :end_interaction
# Indicates that the conversation should be handed off to a human agent.
# Dialogflow only uses this to determine which conversations were handed off
# to a human agent for measurement purposes. What else to do with this signal
@@ -204,11 +211,41 @@ module Google
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
attr_accessor :human_agent_handoff
# Indicates that the conversation should be handed off to a live agent.
# Dialogflow only uses this to determine which conversations were handed off
# to a human agent for measurement purposes. What else to do with this signal
# is up to you and your handoff procedures.
# You may set this, for example:
# * In the entry_fulfillment of a Page if
# entering the page indicates something went extremely wrong in the
# conversation.
# * In a webhook response when you determine that the customer issue can only
# be handled by a human.
# Corresponds to the JSON property `liveAgentHandoff`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]
attr_accessor :live_agent_handoff
# Represents an audio message that is composed of both segments
# synthesized from the Dialogflow agent prompts and ones hosted externally
# at the specified URIs.
# The external URIs are specified via
# play_audio.
# This message is generated by Dialogflow only and not supposed to be
# defined by the user.
# Corresponds to the JSON property `mixedAudio`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
attr_accessor :mixed_audio
# Returns a response containing a custom, platform-specific payload.
# Corresponds to the JSON property `payload`
# @return [Hash<String,Object>]
attr_accessor :payload
# Specifies an audio clip to be played by the client as part of the response.
# Corresponds to the JSON property `playAudio`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
attr_accessor :play_audio
# The text response message.
# Corresponds to the JSON property `text`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -221,8 +258,12 @@ module Google
# Update properties of this object
def update!(**args)
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
@payload = args[:payload] if args.key?(:payload)
@play_audio = args[:play_audio] if args.key?(:play_audio)
@text = args[:text] if args.key?(:text)
end
end
@@ -257,6 +298,21 @@ module Google
end
end
# Indicates that interaction with the Dialogflow agent has ended.
# This message is generated by Dialogflow only and not supposed to be
# defined by the user.
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Indicates that the conversation should be handed off to a human agent.
# Dialogflow only uses this to determine which conversations were handed off
# to a human agent for measurement purposes. What else to do with this signal
@@ -286,11 +342,140 @@ module Google
end
end
# Indicates that the conversation should be handed off to a live agent.
# Dialogflow only uses this to determine which conversations were handed off
# to a human agent for measurement purposes. What else to do with this signal
# is up to you and your handoff procedures.
# You may set this, for example:
# * In the entry_fulfillment of a Page if
# entering the page indicates something went extremely wrong in the
# conversation.
# * In a webhook response when you determine that the customer issue can only
# be handled by a human.
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
include Google::Apis::Core::Hashable
# Custom metadata for your handoff procedure. Dialogflow doesn't impose
# any structure on this.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@metadata = args[:metadata] if args.key?(:metadata)
end
end
# Represents an audio message that is composed of both segments
# synthesized from the Dialogflow agent prompts and ones hosted externally
# at the specified URIs.
# The external URIs are specified via
# play_audio.
# This message is generated by Dialogflow only and not supposed to be
# defined by the user.
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
include Google::Apis::Core::Hashable
# Segments this audio response is composed of.
# Corresponds to the JSON property `segments`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>]
attr_accessor :segments
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@segments = args[:segments] if args.key?(:segments)
end
end
# Represents one segment of audio.
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
include Google::Apis::Core::Hashable
# Whether the playback of this segment can be interrupted by the end
# user's speech and the client should then start the next Dialogflow
# request.
# Corresponds to the JSON property `allowPlaybackInterruption`
# @return [Boolean]
attr_accessor :allow_playback_interruption
alias_method :allow_playback_interruption?, :allow_playback_interruption
# Raw audio synthesized from the Dialogflow agent's response using
# the output config specified in the request.
# Corresponds to the JSON property `audio`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :audio
# Client-specific URI that points to an audio clip accessible to the
# client. Dialogflow does not impose any validation on it.
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
@audio = args[:audio] if args.key?(:audio)
@uri = args[:uri] if args.key?(:uri)
end
end
# Specifies an audio clip to be played by the client as part of the response.
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
include Google::Apis::Core::Hashable
# Whether the playback of this message can be interrupted by the end
# user's speech and the client can then starts the next Dialogflow
# request.
# Corresponds to the JSON property `allowPlaybackInterruption`
# @return [Boolean]
attr_accessor :allow_playback_interruption
alias_method :allow_playback_interruption?, :allow_playback_interruption
# Required. URI of the audio clip. Dialogflow does not impose any validation on
# this
# value. It is specific to the client that reads it.
# Corresponds to the JSON property `audioUri`
# @return [String]
attr_accessor :audio_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
end
end
# The text response message.
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
include Google::Apis::Core::Hashable
# A collection of text responses.
# Whether the playback of this message can be interrupted by the end
# user's speech and the client can then starts the next Dialogflow
# request.
# Corresponds to the JSON property `allowPlaybackInterruption`
# @return [Boolean]
attr_accessor :allow_playback_interruption
alias_method :allow_playback_interruption?, :allow_playback_interruption
# Required. A collection of text responses.
# Corresponds to the JSON property `text`
# @return [Array<String>]
attr_accessor :text
@@ -301,6 +486,7 @@ module Google
# Update properties of this object
def update!(**args)
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
@text = args[:text] if args.key?(:text)
end
end
@@ -4721,9 +4907,6 @@ module Google
# Carousel Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/business-communications/rcs-business-messaging/
# guides/build/messages/send#rich-cards
# If you want to show a single card with more control over the layout,
# please use RbmStandaloneCard instead.
# Corresponds to the JSON property `rbmCarouselRichCard`
@@ -4733,9 +4916,6 @@ module Google
# Standalone Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/business-communications/rcs-business-messaging/
# guides/build/messages/send#rich-cards
# You can group multiple rich cards into one using RbmCarouselCard but
# carousel cards will give you less control over the card layout.
# Corresponds to the JSON property `rbmStandaloneRichCard`
@@ -5443,7 +5623,7 @@ module Google
attr_accessor :file_uri
# Required for cards with vertical orientation. The height of the media
# within a rich card with a vertical layout. (https://goo.gl/NeFCjz).
# within a rich card with a vertical layout.
# For a standalone card with horizontal layout, height is not
# customizable, and this field is ignored.
# Corresponds to the JSON property `height`
@@ -5474,9 +5654,6 @@ module Google
# Carousel Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/business-communications/rcs-business-messaging/
# guides/build/messages/send#rich-cards
# If you want to show a single card with more control over the layout,
# please use RbmStandaloneCard instead.
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
@@ -5507,9 +5684,6 @@ module Google
# Standalone Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/business-communications/rcs-business-messaging/
# guides/build/messages/send#rich-cards
# You can group multiple rich cards into one using RbmCarouselCard but
# carousel cards will give you less control over the card layout.
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
@@ -5549,13 +5723,13 @@ module Google
include Google::Apis::Core::Hashable
# Opens the user's default dialer app with the specified phone number
# but does not dial automatically (https://goo.gl/ergbB2).
# but does not dial automatically.
# Corresponds to the JSON property `dial`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
attr_accessor :dial
# Opens the user's default web browser app to the specified uri
# (https://goo.gl/6GLJD2). If the user has an app installed that is
# If the user has an app installed that is
# registered as the default handler for the URL, then this app will be
# opened instead, and its icon will be used in the suggested action UI.
# Corresponds to the JSON property `openUrl`
@@ -5570,7 +5744,7 @@ module Google
attr_accessor :postback_data
# Opens the device's location chooser so the user can pick a location
# to send back to the agent (https://goo.gl/GXotJW).
# to send back to the agent.
# Corresponds to the JSON property `shareLocation`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
attr_accessor :share_location
@@ -5595,7 +5769,7 @@ module Google
end
# Opens the user's default dialer app with the specified phone number
# but does not dial automatically (https://goo.gl/ergbB2).
# but does not dial automatically.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
include Google::Apis::Core::Hashable
@@ -5618,7 +5792,7 @@ module Google
end
# Opens the user's default web browser app to the specified uri
# (https://goo.gl/6GLJD2). If the user has an app installed that is
# If the user has an app installed that is
# registered as the default handler for the URL, then this app will be
# opened instead, and its icon will be used in the suggested action UI.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
@@ -5640,7 +5814,7 @@ module Google
end
# Opens the device's location chooser so the user can pick a location
# to send back to the agent (https://goo.gl/GXotJW).
# to send back to the agent.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
include Google::Apis::Core::Hashable
@@ -58,12 +58,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1113,9 +1143,17 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
hash :payload, as: 'payload'
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
end
@@ -1128,6 +1166,12 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1135,9 +1179,42 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :metadata, as: 'metadata'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment::Representation
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
property :audio, :base64 => true, as: 'audio'
property :uri, as: 'uri'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
property :audio_uri, as: 'audioUri'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
collection :text, as: 'text'
end
end