diff --git a/api_names_out.yaml b/api_names_out.yaml index d48604e47..c8402a92b 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -85258,6 +85258,88 @@ "/dialogflow:v2beta1/ExportAgentResponse": export_agent_response "/dialogflow:v2beta1/ExportAgentResponse/agentContent": agent_content "/dialogflow:v2beta1/ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfo": google_cloud_dialogflow_cx_v3_page_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfo/currentPage": current_page +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfo/formInfo": form_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfo": google_cloud_dialogflow_cx_v3_page_info_form_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfo/parameterInfo": parameter_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfo/parameterInfo/parameter_info": parameter_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": google_cloud_dialogflow_cx_v3_page_info_form_info_parameter_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/displayName": display_name +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/justCollected": just_collected +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/required": required +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/state": state +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/value": value +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage": google_cloud_dialogflow_cx_v3_response_message +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/conversationSuccess": conversation_success +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/endInteraction": end_interaction +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/liveAgentHandoff": live_agent_handoff +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/mixedAudio": mixed_audio +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/outputAudioText": output_audio_text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/payload/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/playAudio": play_audio +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessage/text": text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": google_cloud_dialogflow_cx_v3_response_message_conversation_success +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess/metadata": metadata +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess/metadata/metadatum": metadatum +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": google_cloud_dialogflow_cx_v3_response_message_end_interaction +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": google_cloud_dialogflow_cx_v3_response_message_live_agent_handoff +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff/metadata": metadata +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff/metadata/metadatum": metadatum +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": google_cloud_dialogflow_cx_v3_response_message_mixed_audio +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudio/segments": segments +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudio/segments/segment": segment +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": google_cloud_dialogflow_cx_v3_response_message_mixed_audio_segment +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment/allowPlaybackInterruption": allow_playback_interruption +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment/audio": audio +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment/uri": uri +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": google_cloud_dialogflow_cx_v3_response_message_output_audio_text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText/allowPlaybackInterruption": allow_playback_interruption +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText/ssml": ssml +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText/text": text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": google_cloud_dialogflow_cx_v3_response_message_play_audio +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessagePlayAudio/allowPlaybackInterruption": allow_playback_interruption +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessagePlayAudio/audioUri": audio_uri +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageText": google_cloud_dialogflow_cx_v3_response_message_text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageText/allowPlaybackInterruption": allow_playback_interruption +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageText/text": text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3ResponseMessageText/text/text": text +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3SessionInfo": google_cloud_dialogflow_cx_v3_session_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3SessionInfo/parameters": parameters +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3SessionInfo/parameters/parameter": parameter +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3SessionInfo/session": session +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/fulfillmentInfo": fulfillment_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/intentInfo": intent_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/messages": messages +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/messages/message": message +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/pageInfo": page_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/payload/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/sessionInfo": session_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": google_cloud_dialogflow_cx_v3_webhook_request_fulfillment_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo/tag": tag +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": google_cloud_dialogflow_cx_v3_webhook_request_intent_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfo/lastMatchedIntent": last_matched_intent +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfo/parameters": parameters +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfo/parameters/parameter": parameter +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": google_cloud_dialogflow_cx_v3_webhook_request_intent_info_intent_parameter_value +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue/originalValue": original_value +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue/resolvedValue": resolved_value +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse": google_cloud_dialogflow_cx_v3_webhook_response +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/fulfillmentResponse": fulfillment_response +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/pageInfo": page_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/payload/payload": payload +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/sessionInfo": session_info +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/targetFlow": target_flow +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponse/targetPage": target_page +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": google_cloud_dialogflow_cx_v3_webhook_response_fulfillment_response +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/mergeBehavior": merge_behavior +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages": messages +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages/message": message "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_version_operation_metadata "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata/version": version "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response @@ -86397,6 +86479,7 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse": google_cloud_dialogflow_v3alpha1_import_test_cases_response "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names": names "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names/name": name +"/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1RunTestCaseMetadata": google_cloud_dialogflow_v3alpha1_run_test_case_metadata "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse/operations": operations diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 8010d986f..8f08fefbd 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20201006' + REVISION = '20201017' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 884402fc6..1d517582a 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -22,6 +22,651 @@ module Google module Apis module DialogflowV2beta1 + # Represents page information communicated to and from the webhook. + class GoogleCloudDialogflowCxV3PageInfo + include Google::Apis::Core::Hashable + + # Always present for WebhookRequest. Ignored for WebhookResponse. The unique + # identifier of the current page. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `currentPage` + # @return [String] + attr_accessor :current_page + + # Represents form information. + # Corresponds to the JSON property `formInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo] + attr_accessor :form_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_page = args[:current_page] if args.key?(:current_page) + @form_info = args[:form_info] if args.key?(:form_info) + end + end + + # Represents form information. + class GoogleCloudDialogflowCxV3PageInfoFormInfo + include Google::Apis::Core::Hashable + + # Optional for both WebhookRequest and WebhookResponse. The parameters contained + # in the form. Note that the webhook cannot add or remove any form parameter. + # Corresponds to the JSON property `parameterInfo` + # @return [Array] + attr_accessor :parameter_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter_info = args[:parameter_info] if args.key?(:parameter_info) + end + end + + # Represents parameter information. + class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + include Google::Apis::Core::Hashable + + # Always present for WebhookRequest. Required for WebhookResponse. The human- + # readable name of the parameter, unique within the form. This field cannot be + # modified by the webhook. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the + # parameter value was just collected on the last conversation turn. + # Corresponds to the JSON property `justCollected` + # @return [Boolean] + attr_accessor :just_collected + alias_method :just_collected?, :just_collected + + # Optional for both WebhookRequest and WebhookResponse. Indicates whether the + # parameter is required. Optional parameters will not trigger prompts; however, + # they are filled if the user specifies them. Required parameters must be filled + # before form filling concludes. + # Corresponds to the JSON property `required` + # @return [Boolean] + attr_accessor :required + alias_method :required?, :required + + # Always present for WebhookRequest. Required for WebhookResponse. The state of + # the parameter. This field can be set to INVALID by the webhook to invalidate + # the parameter; other values set by the webhook will be ignored. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Optional for both WebhookRequest and WebhookResponse. The value of the + # parameter. This field can be set by the webhook to change the parameter value. + # Corresponds to the JSON property `value` + # @return [Object] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @just_collected = args[:just_collected] if args.key?(:just_collected) + @required = args[:required] if args.key?(:required) + @state = args[:state] if args.key?(:state) + @value = args[:value] if args.key?(:value) + end + end + + # Represents a response message that can be returned by a conversational agent. + # Response messages are also used for output audio synthesis. The approach is as + # follows: * If at least one OutputAudioText response is present, then all + # OutputAudioText responses are linearly concatenated, and the result is used + # for output audio synthesis. * If the OutputAudioText responses are a mixture + # of text and SSML, then the concatenated result is treated as SSML; otherwise, + # the result is treated as either text or SSML as appropriate. The agent + # designer should ideally use either text or SSML consistently throughout the + # bot design. * Otherwise, all Text responses are linearly concatenated, and the + # result is used for output audio synthesis. This approach allows for more + # sophisticated user experience scenarios, where the text displayed to the user + # may differ from what is heard. + class GoogleCloudDialogflowCxV3ResponseMessage + include Google::Apis::Core::Hashable + + # Indicates that the conversation succeeded, i.e., the bot handled the issue + # that the customer talked to it about. Dialogflow only uses this to determine + # which conversations should be counted as successful and doesn't process the + # metadata in this message in any way. Note that Dialogflow also considers + # conversations that get to the conversation end page as successful even if they + # don't return ConversationSuccess. You may set this, for example: * In the + # entry_fulfillment of a Page if entering the page indicates that the + # conversation succeeded. * In a webhook response when you determine that you + # handled the customer issue. + # Corresponds to the JSON property `conversationSuccess` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess] + 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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction] + attr_accessor :end_interaction + + # 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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff] + 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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio] + attr_accessor :mixed_audio + + # A text or ssml response that is preferentially used for TTS output audio + # synthesis, as described in the comment on the ResponseMessage message. + # Corresponds to the JSON property `outputAudioText` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText] + attr_accessor :output_audio_text + + # Returns a response containing a custom, platform-specific payload. + # Corresponds to the JSON property `payload` + # @return [Hash] + 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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio] + attr_accessor :play_audio + + # The text response message. + # Corresponds to the JSON property `text` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # 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) + @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) + @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) + @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text) + @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 + + # Indicates that the conversation succeeded, i.e., the bot handled the issue + # that the customer talked to it about. Dialogflow only uses this to determine + # which conversations should be counted as successful and doesn't process the + # metadata in this message in any way. Note that Dialogflow also considers + # conversations that get to the conversation end page as successful even if they + # don't return ConversationSuccess. You may set this, for example: * In the + # entry_fulfillment of a Page if entering the page indicates that the + # conversation succeeded. * In a webhook response when you determine that you + # handled the customer issue. + class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + include Google::Apis::Core::Hashable + + # Custom metadata. Dialogflow doesn't impose any structure on this. + # Corresponds to the JSON property `metadata` + # @return [Hash] + 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 + + # 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 GoogleCloudDialogflowCxV3ResponseMessageEndInteraction + 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 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 GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + 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] + 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 GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + include Google::Apis::Core::Hashable + + # Segments this audio response is composed of. + # Corresponds to the JSON property `segments` + # @return [Array] + 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 GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + include Google::Apis::Core::Hashable + + # Output only. 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 + + # A text or ssml response that is preferentially used for TTS output audio + # synthesis, as described in the comment on the ResponseMessage message. + class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + include Google::Apis::Core::Hashable + + # Output only. 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 + + # The SSML text to be synthesized. For more information, see [SSML](/speech/text- + # to-speech/docs/ssml). + # Corresponds to the JSON property `ssml` + # @return [String] + attr_accessor :ssml + + # The raw text to be synthesized. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + 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) + @ssml = args[:ssml] if args.key?(:ssml) + @text = args[:text] if args.key?(:text) + end + end + + # Specifies an audio clip to be played by the client as part of the response. + class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + include Google::Apis::Core::Hashable + + # Output only. 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 GoogleCloudDialogflowCxV3ResponseMessageText + include Google::Apis::Core::Hashable + + # Output only. 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] + attr_accessor :text + + 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) + @text = args[:text] if args.key?(:text) + end + end + + # Represents session information communicated to and from the webhook. + class GoogleCloudDialogflowCxV3SessionInfo + include Google::Apis::Core::Hashable + + # Optional for WebhookRequest. Optional for WebhookResponse. All parameters + # collected from forms and intents during the session. Parameters can be created, + # updated, or removed by the webhook. To remove a parameter from the session, + # the webhook should explicitly set the parameter value to null in + # WebhookResponse. The map is keyed by parameters' display names. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Always present for WebhookRequest. Ignored for WebhookResponse. The unique + # identifier of the session. This field can be used by the webhook to identify a + # user. Format: `projects//locations//agents//sessions/`. + # Corresponds to the JSON property `session` + # @return [String] + attr_accessor :session + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @session = args[:session] if args.key?(:session) + end + end + + # The request message for a webhook call. + class GoogleCloudDialogflowCxV3WebhookRequest + include Google::Apis::Core::Hashable + + # Always present. The unique identifier of the DetectIntentResponse that will be + # returned to the API caller. + # Corresponds to the JSON property `detectIntentResponseId` + # @return [String] + attr_accessor :detect_intent_response_id + + # Represents fulfillment information communicated to the webhook. + # Corresponds to the JSON property `fulfillmentInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo] + attr_accessor :fulfillment_info + + # Represents intent information communicated to the webhook. + # Corresponds to the JSON property `intentInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo] + attr_accessor :intent_info + + # The list of rich message responses to present to the user. Webhook can choose + # to append or replace this list in WebhookResponse.fulfillment_response; + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages + + # Represents page information communicated to and from the webhook. + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo] + attr_accessor :page_info + + # Custom data set in QueryParameters.payload. + # Corresponds to the JSON property `payload` + # @return [Hash] + attr_accessor :payload + + # Represents session information communicated to and from the webhook. + # Corresponds to the JSON property `sessionInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo] + attr_accessor :session_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id) + @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info) + @intent_info = args[:intent_info] if args.key?(:intent_info) + @messages = args[:messages] if args.key?(:messages) + @page_info = args[:page_info] if args.key?(:page_info) + @payload = args[:payload] if args.key?(:payload) + @session_info = args[:session_info] if args.key?(:session_info) + end + end + + # Represents fulfillment information communicated to the webhook. + class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + include Google::Apis::Core::Hashable + + # Always present. The tag used to identify which fulfillment is being called. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Represents intent information communicated to the webhook. + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + include Google::Apis::Core::Hashable + + # Always present. The unique identifier of the last matched intent. Format: ` + # projects//locations//agents//intents/`. + # Corresponds to the JSON property `lastMatchedIntent` + # @return [String] + attr_accessor :last_matched_intent + + # Parameters identified as a result of intent matching. This is a map of the + # name of the identified parameter to the value of the parameter identified from + # the user's utterance. All parameters defined in the matched intent that are + # identified will be surfaced here. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Represents a value for an intent parameter. + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + include Google::Apis::Core::Hashable + + # Always present. Original text value extracted from user utterance. + # Corresponds to the JSON property `originalValue` + # @return [String] + attr_accessor :original_value + + # Always present. Structured value for the parameter extracted from user + # utterance. + # Corresponds to the JSON property `resolvedValue` + # @return [Object] + attr_accessor :resolved_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_value = args[:original_value] if args.key?(:original_value) + @resolved_value = args[:resolved_value] if args.key?(:resolved_value) + end + end + + # The response message for a webhook call. + class GoogleCloudDialogflowCxV3WebhookResponse + include Google::Apis::Core::Hashable + + # Represents a fulfillment response to the user. + # Corresponds to the JSON property `fulfillmentResponse` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse] + attr_accessor :fulfillment_response + + # Represents page information communicated to and from the webhook. + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo] + attr_accessor :page_info + + # Value to append directly to QueryResult.webhook_payloads. + # Corresponds to the JSON property `payload` + # @return [Hash] + attr_accessor :payload + + # Represents session information communicated to and from the webhook. + # Corresponds to the JSON property `sessionInfo` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo] + attr_accessor :session_info + + # The target flow to transition to. Format: `projects//locations//agents//flows/` + # . + # Corresponds to the JSON property `targetFlow` + # @return [String] + attr_accessor :target_flow + + # The target page to transition to. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `targetPage` + # @return [String] + attr_accessor :target_page + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response) + @page_info = args[:page_info] if args.key?(:page_info) + @payload = args[:payload] if args.key?(:payload) + @session_info = args[:session_info] if args.key?(:session_info) + @target_flow = args[:target_flow] if args.key?(:target_flow) + @target_page = args[:target_page] if args.key?(:target_page) + end + end + + # Represents a fulfillment response to the user. + class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + include Google::Apis::Core::Hashable + + # Merge behavior for `messages`. + # Corresponds to the JSON property `mergeBehavior` + # @return [String] + attr_accessor :merge_behavior + + # The list of rich message responses to present to the user. + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior) + @messages = args[:messages] if args.key?(:messages) + end + end + # Metadata associated with the long running operation for Versions.CreateVersion. class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata include Google::Apis::Core::Hashable @@ -69,25 +714,6 @@ module Google end end - # The response message for Agents.ImportAgent. - class GoogleCloudDialogflowCxV3beta1ImportAgentResponse - include Google::Apis::Core::Hashable - - # The unique identifier of the new agent. Format: `projects//locations//agents/`. - # Corresponds to the JSON property `agent` - # @return [String] - attr_accessor :agent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @agent = args[:agent] if args.key?(:agent) - end - end - # Represents page information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1PageInfo include Google::Apis::Core::Hashable @@ -1076,25 +1702,6 @@ 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] - 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 @@ -2938,102 +3545,6 @@ module Google end end - # Represents an annotated conversation dataset. ConversationDataset can have - # multiple AnnotatedConversationDataset, each of them represents one result from - # one annotation task. AnnotatedConversationDataset can only be generated from - # annotation task, which will be triggered by LabelConversation. - class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset - include Google::Apis::Core::Hashable - - # Output only. Number of examples that have annotations in the annotated - # conversation dataset. - # Corresponds to the JSON property `completedExampleCount` - # @return [Fixnum] - attr_accessor :completed_example_count - - # Output only. Creation time of this annotated conversation dataset. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Optional. The description of the annotated conversation dataset. Maximum of - # 10000 bytes. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Required. The display name of the annotated conversation dataset. It's - # specified when user starts an annotation task. Maximum of 64 bytes. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Number of examples in the annotated conversation dataset. - # Corresponds to the JSON property `exampleCount` - # @return [Fixnum] - attr_accessor :example_count - - # Output only. AnnotatedConversationDataset resource name. Format: `projects// - # conversationDatasets//annotatedConversationDatasets/` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. Question type name that identifies a labeling task. A question is - # a single task that a worker answers. A question type is set of related - # questions. Each question belongs to a particular question type. It can be used - # in CrowdCompute UI to filter and manage labeling tasks. - # Corresponds to the JSON property `questionTypeName` - # @return [String] - attr_accessor :question_type_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count) - @create_time = args[:create_time] if args.key?(:create_time) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @example_count = args[:example_count] if args.key?(:example_count) - @name = args[:name] if args.key?(:name) - @question_type_name = args[:question_type_name] if args.key?(:question_type_name) - end - end - - # Response message for [Documents.AutoApproveSmartMessagingEntries]. - class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse - include Google::Apis::Core::Hashable - - # Number of smart messaging entries disabled. - # Corresponds to the JSON property `disabledCount` - # @return [Fixnum] - attr_accessor :disabled_count - - # Number of smart messaging entries enabled. - # Corresponds to the JSON property `enabledCount` - # @return [Fixnum] - attr_accessor :enabled_count - - # Number of smart messaging entries unreviewed. - # Corresponds to the JSON property `unreviewedCount` - # @return [Fixnum] - attr_accessor :unreviewed_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disabled_count = args[:disabled_count] if args.key?(:disabled_count) - @enabled_count = args[:enabled_count] if args.key?(:enabled_count) - @unreviewed_count = args[:unreviewed_count] if args.key?(:unreviewed_count) - end - end - # The request message for EntityTypes.BatchCreateEntities. class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest include Google::Apis::Core::Hashable @@ -3293,25 +3804,6 @@ module Google end end - # Response message for [Documents.BatchUpdateSmartMessagingEntries] - class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse - include Google::Apis::Core::Hashable - - # List of updated smart message entries. - # Corresponds to the JSON property `smartMessagingEntries` - # @return [Array] - attr_accessor :smart_messaging_entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @smart_messaging_entries = args[:smart_messaging_entries] if args.key?(:smart_messaging_entries) - end - end - # Dialogflow contexts are similar to natural language context. If a person says # to you "they are orange", you need context in order to understand what "they" # is referring to. Similarly, for Dialogflow to handle an end-user expression @@ -4055,25 +4547,6 @@ 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] - 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 @@ -6041,28 +6514,6 @@ module Google end end - # The response for ConversationDatasets.LabelConversation. - class GoogleCloudDialogflowV2beta1LabelConversationResponse - include Google::Apis::Core::Hashable - - # Represents an annotated conversation dataset. ConversationDataset can have - # multiple AnnotatedConversationDataset, each of them represents one result from - # one annotation task. AnnotatedConversationDataset can only be generated from - # annotation task, which will be triggered by LabelConversation. - # Corresponds to the JSON property `annotatedConversationDataset` - # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset] - attr_accessor :annotated_conversation_dataset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @annotated_conversation_dataset = args[:annotated_conversation_dataset] if args.key?(:annotated_conversation_dataset) - end - end - # The response message for Contexts.ListContexts. class GoogleCloudDialogflowV2beta1ListContextsResponse include Google::Apis::Core::Hashable @@ -6373,8 +6824,8 @@ module Google # @return [Array] attr_accessor :contexts - # An object representing a latitude/longitude pair. This is expressed as a pair - # of doubles representing degrees latitude and degrees longitude. Unless + # An object that represents a latitude/longitude pair. This is expressed as a + # pair of doubles to represent degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the WGS84 standard. Values must be # within normalized ranges. # Corresponds to the JSON property `geoLocation` @@ -6815,74 +7266,6 @@ module Google end end - # Smart Messaging Entry resource. - class GoogleCloudDialogflowV2beta1SmartMessagingEntry - include Google::Apis::Core::Hashable - - # Smart messaging entry info. - # Corresponds to the JSON property `messageInfo` - # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo] - attr_accessor :message_info - - # The unique identifier of this message entry. Required for [Documents. - # GetSmartMessagingEntry], [Documents.CreateSmartMessagingEntry], [Documents. - # UpdateSmartMessagingEntry], and [Documents.DeleteSmartMessagingEntry]. Format: - # `projects//knowledgeBases//documents//smartMessagingEntries/` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Required. The raw text of the message. - # Corresponds to the JSON property `rawText` - # @return [String] - attr_accessor :raw_text - - # Required. Smart Messaging Entry's enabled/disabled state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @message_info = args[:message_info] if args.key?(:message_info) - @name = args[:name] if args.key?(:name) - @raw_text = args[:raw_text] if args.key?(:raw_text) - @state = args[:state] if args.key?(:state) - end - end - - # Smart messaging entry info. - class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo - include Google::Apis::Core::Hashable - - # Output only. Method of how the smart messaging entry was created. When the - # smart messaging entry was generated from GenerateDocument, the value is - # AUTOMATIC; when the entry was manually added through CreateSmartMessagingEntry, - # the value is MANUAL. - # Corresponds to the JSON property `creationMethod` - # @return [String] - attr_accessor :creation_method - - # The number of times an entry's message text has been uttered - # Corresponds to the JSON property `occurrenceCount` - # @return [Fixnum] - attr_accessor :occurrence_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @creation_method = args[:creation_method] if args.key?(:creation_method) - @occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count) - end - end - # Hints for the speech recognizer to help with recognition in a specific # conversation state. class GoogleCloudDialogflowV2beta1SpeechContext @@ -7275,35 +7658,8 @@ 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 - - # Metadata returned for the TestCases.ExportTestCases long running operation. - class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata + # Metadata returned for the TestCases.RunTestCase long running operation. + class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata include Google::Apis::Core::Hashable def initialize(**args) @@ -7315,85 +7671,6 @@ module Google end end - # The response message for TestCases.ExportTestCases. - class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse - include Google::Apis::Core::Hashable - - # Uncompressed raw byte content for test cases. - # Corresponds to the JSON property `content` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :content - - # The URI to a file containing the exported test cases. This field is populated - # only if `gcs_uri` is specified in ExportTestCasesRequest. - # Corresponds to the JSON property `gcsUri` - # @return [String] - attr_accessor :gcs_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) - end - end - - # The response message for Agents.ImportAgent. - class GoogleCloudDialogflowV3alpha1ImportAgentResponse - include Google::Apis::Core::Hashable - - # The unique identifier of the new agent. Format: `projects//locations//agents/`. - # Corresponds to the JSON property `agent` - # @return [String] - attr_accessor :agent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @agent = args[:agent] if args.key?(:agent) - end - end - - # Metadata returned for the TestCases.ImportTestCases long running operation. - class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The response message for TestCases.ImportTestCases. - class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse - include Google::Apis::Core::Hashable - - # The unique identifiers of the new test cases. Format: `projects//locations// - # agents//testCases/`. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @names = args[:names] if args.key?(:names) - end - end - # The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable @@ -7537,8 +7814,8 @@ module Google end end - # An object representing a latitude/longitude pair. This is expressed as a pair - # of doubles representing degrees latitude and degrees longitude. Unless + # An object that represents a latitude/longitude pair. This is expressed as a + # pair of doubles to represent degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the WGS84 standard. Values must be # within normalized ranges. class GoogleTypeLatLng diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index 20b6d8234..1cddecc92 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -22,6 +22,120 @@ module Google module Apis module DialogflowV2beta1 + class GoogleCloudDialogflowCxV3PageInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3PageInfoFormInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ResponseMessageText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3SessionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -34,12 +148,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowCxV3beta1ImportAgentResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowCxV3beta1PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,12 +316,6 @@ 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 @@ -472,18 +574,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -538,12 +628,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowV2beta1Context class Representation < Google::Apis::Core::JsonRepresentation; end @@ -646,12 +730,6 @@ 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 @@ -970,12 +1048,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV2beta1LabelConversationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowV2beta1ListContextsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1090,18 +1162,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV2beta1SmartMessagingEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowV2beta1SpeechContext class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1162,37 +1222,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV3alpha1ExportAgentResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV3alpha1ImportAgentResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse + class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -1228,6 +1258,191 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3PageInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_page, as: 'currentPage' + property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation + + end + end + + class GoogleCloudDialogflowCxV3PageInfoFormInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo::Representation + + end + end + + class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :just_collected, as: 'justCollected' + property :required, as: 'required' + property :state, as: 'state' + property :value, as: 'value' + end + end + + class GoogleCloudDialogflowCxV3ResponseMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation + + property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation + + property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation + + property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation + + property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText::Representation + + hash :payload, as: 'payload' + property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation + + property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation + + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :metadata, as: 'metadata' + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :metadata, as: 'metadata' + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment::Representation + + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + # @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 GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_playback_interruption, as: 'allowPlaybackInterruption' + property :ssml, as: 'ssml' + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_playback_interruption, as: 'allowPlaybackInterruption' + property :audio_uri, as: 'audioUri' + end + end + + class GoogleCloudDialogflowCxV3ResponseMessageText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_playback_interruption, as: 'allowPlaybackInterruption' + collection :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3SessionInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :parameters, as: 'parameters' + property :session, as: 'session' + end + end + + class GoogleCloudDialogflowCxV3WebhookRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :detect_intent_response_id, as: 'detectIntentResponseId' + property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo::Representation + + property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation + + collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation + + property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation + + hash :payload, as: 'payload' + property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation + + end + end + + class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag, as: 'tag' + end + end + + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_matched_intent, as: 'lastMatchedIntent' + hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation + + end + end + + class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :original_value, as: 'originalValue' + property :resolved_value, as: 'resolvedValue' + end + end + + class GoogleCloudDialogflowCxV3WebhookResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse::Representation + + property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation + + hash :payload, as: 'payload' + property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation + + property :target_flow, as: 'targetFlow' + property :target_page, as: 'targetPage' + end + end + + class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :merge_behavior, as: 'mergeBehavior' + collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1243,13 +1458,6 @@ module Google end end - class GoogleCloudDialogflowCxV3beta1ImportAgentResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :agent, as: 'agent' - end - end - class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1519,14 +1727,6 @@ 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 @@ -2016,28 +2216,6 @@ module Google end end - class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :completed_example_count, :numeric_string => true, as: 'completedExampleCount' - property :create_time, as: 'createTime' - property :description, as: 'description' - property :display_name, as: 'displayName' - property :example_count, :numeric_string => true, as: 'exampleCount' - property :name, as: 'name' - property :question_type_name, as: 'questionTypeName' - end - end - - class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disabled_count, as: 'disabledCount' - property :enabled_count, as: 'enabledCount' - property :unreviewed_count, as: 'unreviewedCount' - end - end - class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2119,14 +2297,6 @@ module Google end end - class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :smart_messaging_entries, as: 'smartMessagingEntries', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntry, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntry::Representation - - end - end - class GoogleCloudDialogflowV2beta1Context # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2301,14 +2471,6 @@ 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 @@ -2864,14 +3026,6 @@ module Google end end - class GoogleCloudDialogflowV2beta1LabelConversationResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :annotated_conversation_dataset, as: 'annotatedConversationDataset', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset::Representation - - end - end - class GoogleCloudDialogflowV2beta1ListContextsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3072,25 +3226,6 @@ module Google end end - class GoogleCloudDialogflowV2beta1SmartMessagingEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :message_info, as: 'messageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo::Representation - - property :name, as: 'name' - property :raw_text, as: 'rawText' - property :state, as: 'state' - end - end - - class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :creation_method, as: 'creationMethod' - property :occurrence_count, as: 'occurrenceCount' - end - end - class GoogleCloudDialogflowV2beta1SpeechContext # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3190,45 +3325,9 @@ module Google end end - class GoogleCloudDialogflowV3alpha1ExportAgentResponse + class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :agent_content, :base64 => true, as: 'agentContent' - property :agent_uri, as: 'agentUri' - end - end - - class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, :base64 => true, as: 'content' - property :gcs_uri, as: 'gcsUri' - end - end - - class GoogleCloudDialogflowV3alpha1ImportAgentResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :agent, as: 'agent' - end - end - - class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :names, as: 'names' end end diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 8db2a51e7..8b258475b 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -1816,7 +1816,7 @@ module Google # Creates a new document. Note: The `projects.agent.knowledgeBases.documents` # resource is deprecated; only use `projects.knowledgeBases.documents`. # @param [String] parent - # Required. The knoweldge base to create a document for. Format: `projects// + # Required. The knowledge base to create a document for. Format: `projects// # knowledgeBases/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object # @param [String] fields @@ -2730,7 +2730,7 @@ module Google # Creates a new document. Note: The `projects.agent.knowledgeBases.documents` # resource is deprecated; only use `projects.knowledgeBases.documents`. # @param [String] parent - # Required. The knoweldge base to create a document for. Format: `projects// + # Required. The knowledge base to create a document for. Format: `projects// # knowledgeBases/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object # @param [String] fields diff --git a/generated/google/apis/dialogflow_v2beta1/synth.metadata b/generated/google/apis/dialogflow_v2beta1/synth.metadata index 429012f74..8ba18e27d 100644 --- a/generated/google/apis/dialogflow_v2beta1/synth.metadata +++ b/generated/google/apis/dialogflow_v2beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "cb0c5bf94e2b1c915107eec83041d4409c900155" } } ]