Skip to content

Commit

Permalink
feat(dialogflow)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### dialogflow:v2
The following keys were added:
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.endInteraction.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.endInteraction.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.liveAgentHandoff.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.liveAgentHandoff.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.mixedAudio.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.mixedAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.outputAudioText.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.outputAudioText.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.playAudio.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.playAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.additionalProperties.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.additionalProperties.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.items.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.allowPlaybackInterruption.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.format
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.uri.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.uri.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.ssml.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.ssml.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.text.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.text.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.allowPlaybackInterruption.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.audioUri.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.audioUri.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.allowPlaybackInterruption.type

The following keys were changed:
- resources.projects.resources.agent.methods.import.description
- resources.projects.resources.agent.methods.restore.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.text.description
- schemas.GoogleCloudDialogflowV2SentimentAnalysisResult.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia.properties.height.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation.description
- schemas.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.description

#### dialogflow:v2beta1
The following keys were deleted:
- resources.projects.resources.locations.resources.agent.methods.fulfillment.description
- resources.projects.resources.locations.resources.agent.methods.fulfillment.flatPath
- resources.projects.resources.locations.resources.agent.methods.fulfillment.httpMethod
- resources.projects.resources.locations.resources.agent.methods.fulfillment.id
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameterOrder
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.name.description
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.name.location
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.name.pattern
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.name.required
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.name.type
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.updateMask.description
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.updateMask.format
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.updateMask.location
- resources.projects.resources.locations.resources.agent.methods.fulfillment.parameters.updateMask.type
- resources.projects.resources.locations.resources.agent.methods.fulfillment.path
- resources.projects.resources.locations.resources.agent.methods.fulfillment.request.$ref
- resources.projects.resources.locations.resources.agent.methods.fulfillment.response.$ref
- resources.projects.resources.locations.resources.agent.methods.fulfillment.scopes

The following keys were added:
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.description
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.flatPath
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.httpMethod
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.id
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameterOrder
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.name.description
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.name.location
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.name.pattern
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.name.required
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.name.type
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.updateMask.description
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.updateMask.format
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.updateMask.location
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.parameters.updateMask.type
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.path
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.request.$ref
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.response.$ref
- resources.projects.resources.locations.resources.agent.methods.updateFulfillment.scopes
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.endInteraction.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.endInteraction.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.liveAgentHandoff.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.liveAgentHandoff.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.mixedAudio.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.mixedAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.outputAudioText.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.outputAudioText.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.playAudio.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessage.properties.playAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.additionalProperties.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.additionalProperties.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.properties.metadata.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.items.$ref
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.properties.segments.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.allowPlaybackInterruption.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.format
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.audio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.uri.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.properties.uri.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.ssml.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.ssml.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.text.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.properties.text.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.id
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.allowPlaybackInterruption.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.audioUri.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.properties.audioUri.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio.type
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.allowPlaybackInterruption.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.allowPlaybackInterruption.type

The following keys were changed:
- resources.projects.resources.agent.methods.import.description
- resources.projects.resources.agent.methods.restore.description
- resources.projects.resources.agent.resources.environments.methods.list.parameters.parent.description
- resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.list.parameters.pageSize.description
- resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.list.parameters.pageToken.description
- resources.projects.resources.knowledgeBases.resources.documents.methods.list.parameters.pageSize.description
- resources.projects.resources.knowledgeBases.resources.documents.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.agent.methods.import.description
- resources.projects.resources.locations.resources.agent.methods.restore.description
- resources.projects.resources.locations.resources.agent.resources.environments.methods.list.parameters.parent.description
- schemas.GoogleCloudDialogflowCxV3beta1ResponseMessageText.properties.text.description
- schemas.GoogleCloudDialogflowV2SentimentAnalysisResult.description
- schemas.GoogleCloudDialogflowV2beta1Environment.properties.name.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia.properties.height.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri.description
- schemas.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation.description
- schemas.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 2ff7db7 commit e92b84e
Show file tree
Hide file tree
Showing 4 changed files with 697 additions and 295 deletions.
133 changes: 121 additions & 12 deletions discovery/dialogflow-v2.json
Expand Up @@ -288,7 +288,7 @@
]
},
"import": {
"description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest.\n\nOperation <response: google.protobuf.Empty>",
"description": "Imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest. After the import, the imported draft\nagent will be trained automatically (unless disabled in agent settings).\nHowever, once the import is done, training may not be completed yet. Please\ncall TrainAgent and wait for the operation it returns in order to train\nexplicitly.\n\nOperation <response: google.protobuf.Empty>\nAn operation which tracks when importing is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2/projects/{projectsId}/agent:import",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.import",
Expand Down Expand Up @@ -317,7 +317,7 @@
]
},
"restore": {
"description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted.\n\nOperation <response: google.protobuf.Empty>",
"description": "Restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call TrainAgent and wait for the operation it\nreturns in order to train explicitly.\n\nOperation <response: google.protobuf.Empty>\nAn operation which tracks when restoring is complete. It only tracks\nwhen the draft agent is updated not when it is done training.",
"flatPath": "v2/projects/{projectsId}/agent:restore",
"httpMethod": "POST",
"id": "dialogflow.projects.agent.restore",
Expand Down Expand Up @@ -2049,7 +2049,7 @@
}
}
},
"revision": "20200604",
"revision": "20200706",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3beta1ExportAgentResponse": {
Expand Down Expand Up @@ -2144,10 +2144,26 @@
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess",
"description": "Indicates that the conversation succeeded."
},
"endInteraction": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
"description": "Output only. A signal that indicates the interaction with the Dialogflow agent has\nended.\nThis message is generated by Dialogflow only when the conversation\nreaches `END_SESSION` or `END_PAGE` page. It is not supposed to be\ndefined by the user.\nIt's guaranteed that there is at most one such message in each response."
},
"humanAgentHandoff": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
"description": "Hands off conversation to a human agent."
},
"liveAgentHandoff": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
"description": "Hands off conversation to a human agent."
},
"mixedAudio": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
"description": "Output only. An audio response message composed of both the synthesized Dialogflow\nagent responses and responses defined via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user."
},
"outputAudioText": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
"description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message."
},
"payload": {
"additionalProperties": {
"description": "Properties of the object.",
Expand All @@ -2156,6 +2172,10 @@
"description": "Returns a response containing a custom, platform-specific payload.",
"type": "object"
},
"playAudio": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
"description": "Signal that the client should play an audio clip hosted at a\nclient-specific URI. Dialogflow uses this to construct\nmixed_audio. However, Dialogflow itself\ndoes not try to read or process the URI in any way."
},
"text": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
"description": "Returns a text response."
Expand All @@ -2178,6 +2198,12 @@
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": {
"description": "Indicates that interaction with the Dialogflow agent has ended.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction",
"properties": {},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff": {
"description": "Indicates that the conversation should be handed off to a human agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff",
Expand All @@ -2193,12 +2219,95 @@
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": {
"description": "Indicates that the conversation should be handed off to a live agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff",
"properties": {
"metadata": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": {
"description": "Represents an audio message that is composed of both segments\nsynthesized from the Dialogflow agent prompts and ones hosted externally\nat the specified URIs.\nThe external URIs are specified via\nplay_audio.\nThis message is generated by Dialogflow only and not supposed to be\ndefined by the user.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio",
"properties": {
"segments": {
"description": "Segments this audio response is composed of.",
"items": {
"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": {
"description": "Represents one segment of audio.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment",
"properties": {
"allowPlaybackInterruption": {
"description": "Whether the playback of this segment can be interrupted by the end\nuser's speech and the client should then start the next Dialogflow\nrequest.",
"type": "boolean"
},
"audio": {
"description": "Raw audio synthesized from the Dialogflow agent's response using\nthe output config specified in the request.",
"format": "byte",
"type": "string"
},
"uri": {
"description": "Client-specific URI that points to an audio clip accessible to the\nclient. Dialogflow does not impose any validation on it.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": {
"description": "A text or ssml response that is preferentially used for TTS output audio\nsynthesis, as described in the comment on the ResponseMessage message.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText",
"properties": {
"ssml": {
"description": "The SSML text to be synthesized. For more information, see\n[SSML](/speech/text-to-speech/docs/ssml).",
"type": "string"
},
"text": {
"description": "The raw text to be synthesized.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": {
"description": "Specifies an audio clip to be played by the client as part of the response.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio",
"properties": {
"allowPlaybackInterruption": {
"description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
"type": "boolean"
},
"audioUri": {
"description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this\nvalue. It is specific to the client that reads it.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDialogflowCxV3beta1ResponseMessageText": {
"description": "The text response message.",
"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText",
"properties": {
"allowPlaybackInterruption": {
"description": "Whether the playback of this message can be interrupted by the end\nuser's speech and the client can then starts the next Dialogflow\nrequest.",
"type": "boolean"
},
"text": {
"description": "A collection of text responses.",
"description": "Required. A collection of text responses.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -4472,7 +4581,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2SentimentAnalysisResult": {
"description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
"description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
Expand Down Expand Up @@ -5646,7 +5755,7 @@
"type": "string"
},
"height": {
"description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout. (https://goo.gl/NeFCjz).\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
"description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout.\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.",
"enum": [
"HEIGHT_UNSPECIFIED",
"SHORT",
Expand All @@ -5669,7 +5778,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": {
"description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/business-communications/rcs-business-messaging/guides/build/messages/send#rich-cards\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
"description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard",
"properties": {
"cardContents": {
Expand Down Expand Up @@ -5697,7 +5806,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": {
"description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/business-communications/rcs-business-messaging/guides/build/messages/send#rich-cards\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
"description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard",
"properties": {
"cardContent": {
Expand Down Expand Up @@ -5763,7 +5872,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": {
"description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically (https://goo.gl/ergbB2).",
"description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial",
"properties": {
"phoneNumber": {
Expand All @@ -5774,7 +5883,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": {
"description": "Opens the user's default web browser app to the specified uri\n(https://goo.gl/6GLJD2). If the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
"description": "Opens the user's default web browser app to the specified uri\nIf the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri",
"properties": {
"uri": {
Expand All @@ -5785,7 +5894,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": {
"description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent (https://goo.gl/GXotJW).",
"description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent.",
"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation",
"properties": {},
"type": "object"
Expand Down Expand Up @@ -6356,7 +6465,7 @@
"type": "object"
},
"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": {
"description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.",
"description": "The result of sentiment analysis. Sentiment analysis inspects user input\nand identifies the prevailing subjective opinion, especially to determine a\nuser's attitude as positive, negative, or neutral.\nFor Participants.AnalyzeContent, it needs to be configured in\nDetectIntentRequest.query_params. For\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nStreamingDetectIntentRequest.query_params.\nAnd for Participants.AnalyzeContent and\nParticipants.StreamingAnalyzeContent, it needs to be configured in\nConversationProfile.human_agent_assistant_config",
"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult",
"properties": {
"queryTextSentiment": {
Expand Down

0 comments on commit e92b84e

Please sign in to comment.