google-api-client 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +23 -45
- data/CHANGELOG.md +100 -0
- data/README.md +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
- data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +71 -0
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +206 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -13
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -7
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -4
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -22,6 +22,132 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2
|
24
24
|
|
25
|
+
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleCloudDialogflowCxV3ExportAgentResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudDialogflowCxV3PageInfo
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleCloudDialogflowCxV3ResponseMessage
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudDialogflowCxV3ResponseMessageText
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDialogflowCxV3SessionInfo
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDialogflowCxV3WebhookRequest
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudDialogflowCxV3WebhookResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
25
151
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
26
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
153
|
|
@@ -1090,6 +1216,206 @@ module Google
|
|
1090
1216
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1217
|
end
|
1092
1218
|
|
1219
|
+
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
|
1220
|
+
# @private
|
1221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1222
|
+
property :version, as: 'version'
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class GoogleCloudDialogflowCxV3ExportAgentResponse
|
1227
|
+
# @private
|
1228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1229
|
+
property :agent_content, :base64 => true, as: 'agentContent'
|
1230
|
+
property :agent_uri, as: 'agentUri'
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
class GoogleCloudDialogflowCxV3PageInfo
|
1235
|
+
# @private
|
1236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
|
+
property :current_page, as: 'currentPage'
|
1238
|
+
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
|
1239
|
+
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo::Representation
|
1247
|
+
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
1252
|
+
# @private
|
1253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1254
|
+
property :display_name, as: 'displayName'
|
1255
|
+
property :just_collected, as: 'justCollected'
|
1256
|
+
property :required, as: 'required'
|
1257
|
+
property :state, as: 'state'
|
1258
|
+
property :value, as: 'value'
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
class GoogleCloudDialogflowCxV3ResponseMessage
|
1263
|
+
# @private
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1265
|
+
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation
|
1266
|
+
|
1267
|
+
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
1268
|
+
|
1269
|
+
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
1270
|
+
|
1271
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
1272
|
+
|
1273
|
+
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText::Representation
|
1274
|
+
|
1275
|
+
hash :payload, as: 'payload'
|
1276
|
+
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
|
1277
|
+
|
1278
|
+
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
1279
|
+
|
1280
|
+
end
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
1284
|
+
# @private
|
1285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1286
|
+
hash :metadata, as: 'metadata'
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
1291
|
+
# @private
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
1297
|
+
# @private
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1299
|
+
hash :metadata, as: 'metadata'
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
1304
|
+
# @private
|
1305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1306
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment::Representation
|
1307
|
+
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
1312
|
+
# @private
|
1313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1315
|
+
property :audio, :base64 => true, as: 'audio'
|
1316
|
+
property :uri, as: 'uri'
|
1317
|
+
end
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
1321
|
+
# @private
|
1322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1323
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1324
|
+
property :ssml, as: 'ssml'
|
1325
|
+
property :text, as: 'text'
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
1330
|
+
# @private
|
1331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1332
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1333
|
+
property :audio_uri, as: 'audioUri'
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
class GoogleCloudDialogflowCxV3ResponseMessageText
|
1338
|
+
# @private
|
1339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1340
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
1341
|
+
collection :text, as: 'text'
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
class GoogleCloudDialogflowCxV3SessionInfo
|
1346
|
+
# @private
|
1347
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1348
|
+
hash :parameters, as: 'parameters'
|
1349
|
+
property :session, as: 'session'
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
class GoogleCloudDialogflowCxV3WebhookRequest
|
1354
|
+
# @private
|
1355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1356
|
+
property :detect_intent_response_id, as: 'detectIntentResponseId'
|
1357
|
+
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo::Representation
|
1358
|
+
|
1359
|
+
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
|
1360
|
+
|
1361
|
+
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
1362
|
+
|
1363
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
|
1364
|
+
|
1365
|
+
hash :payload, as: 'payload'
|
1366
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
1367
|
+
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
1372
|
+
# @private
|
1373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1374
|
+
property :tag, as: 'tag'
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
1379
|
+
# @private
|
1380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1381
|
+
property :last_matched_intent, as: 'lastMatchedIntent'
|
1382
|
+
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
|
1383
|
+
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
1388
|
+
# @private
|
1389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1390
|
+
property :original_value, as: 'originalValue'
|
1391
|
+
property :resolved_value, as: 'resolvedValue'
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
class GoogleCloudDialogflowCxV3WebhookResponse
|
1396
|
+
# @private
|
1397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1398
|
+
property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse::Representation
|
1399
|
+
|
1400
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
|
1401
|
+
|
1402
|
+
hash :payload, as: 'payload'
|
1403
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
1404
|
+
|
1405
|
+
property :target_flow, as: 'targetFlow'
|
1406
|
+
property :target_page, as: 'targetPage'
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
1411
|
+
# @private
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1413
|
+
property :merge_behavior, as: 'mergeBehavior'
|
1414
|
+
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
1415
|
+
|
1416
|
+
end
|
1417
|
+
end
|
1418
|
+
|
1093
1419
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
1094
1420
|
# @private
|
1095
1421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201207'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,698 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2beta1
|
24
24
|
|
25
|
+
# Metadata associated with the long running operation for Versions.CreateVersion.
|
26
|
+
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Name of the created version. Format: `projects//locations//agents//flows//
|
30
|
+
# versions/`.
|
31
|
+
# Corresponds to the JSON property `version`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :version
|
34
|
+
|
35
|
+
def initialize(**args)
|
36
|
+
update!(**args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update properties of this object
|
40
|
+
def update!(**args)
|
41
|
+
@version = args[:version] if args.key?(:version)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# The response message for Agents.ExportAgent.
|
46
|
+
class GoogleCloudDialogflowCxV3ExportAgentResponse
|
47
|
+
include Google::Apis::Core::Hashable
|
48
|
+
|
49
|
+
# Uncompressed raw byte content for agent.
|
50
|
+
# Corresponds to the JSON property `agentContent`
|
51
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :agent_content
|
54
|
+
|
55
|
+
# The URI to a file containing the exported agent. This field is populated only
|
56
|
+
# if `agent_uri` is specified in ExportAgentRequest.
|
57
|
+
# Corresponds to the JSON property `agentUri`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :agent_uri
|
60
|
+
|
61
|
+
def initialize(**args)
|
62
|
+
update!(**args)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Update properties of this object
|
66
|
+
def update!(**args)
|
67
|
+
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
68
|
+
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# Represents page information communicated to and from the webhook.
|
73
|
+
class GoogleCloudDialogflowCxV3PageInfo
|
74
|
+
include Google::Apis::Core::Hashable
|
75
|
+
|
76
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
77
|
+
# identifier of the current page. Format: `projects//locations//agents//flows//
|
78
|
+
# pages/`.
|
79
|
+
# Corresponds to the JSON property `currentPage`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :current_page
|
82
|
+
|
83
|
+
# Represents form information.
|
84
|
+
# Corresponds to the JSON property `formInfo`
|
85
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
|
86
|
+
attr_accessor :form_info
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
95
|
+
@form_info = args[:form_info] if args.key?(:form_info)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Represents form information.
|
100
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
101
|
+
include Google::Apis::Core::Hashable
|
102
|
+
|
103
|
+
# Optional for both WebhookRequest and WebhookResponse. The parameters contained
|
104
|
+
# in the form. Note that the webhook cannot add or remove any form parameter.
|
105
|
+
# Corresponds to the JSON property `parameterInfo`
|
106
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo>]
|
107
|
+
attr_accessor :parameter_info
|
108
|
+
|
109
|
+
def initialize(**args)
|
110
|
+
update!(**args)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Update properties of this object
|
114
|
+
def update!(**args)
|
115
|
+
@parameter_info = args[:parameter_info] if args.key?(:parameter_info)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# Represents parameter information.
|
120
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
121
|
+
include Google::Apis::Core::Hashable
|
122
|
+
|
123
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The human-
|
124
|
+
# readable name of the parameter, unique within the form. This field cannot be
|
125
|
+
# modified by the webhook.
|
126
|
+
# Corresponds to the JSON property `displayName`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :display_name
|
129
|
+
|
130
|
+
# Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the
|
131
|
+
# parameter value was just collected on the last conversation turn.
|
132
|
+
# Corresponds to the JSON property `justCollected`
|
133
|
+
# @return [Boolean]
|
134
|
+
attr_accessor :just_collected
|
135
|
+
alias_method :just_collected?, :just_collected
|
136
|
+
|
137
|
+
# Optional for both WebhookRequest and WebhookResponse. Indicates whether the
|
138
|
+
# parameter is required. Optional parameters will not trigger prompts; however,
|
139
|
+
# they are filled if the user specifies them. Required parameters must be filled
|
140
|
+
# before form filling concludes.
|
141
|
+
# Corresponds to the JSON property `required`
|
142
|
+
# @return [Boolean]
|
143
|
+
attr_accessor :required
|
144
|
+
alias_method :required?, :required
|
145
|
+
|
146
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The state of
|
147
|
+
# the parameter. This field can be set to INVALID by the webhook to invalidate
|
148
|
+
# the parameter; other values set by the webhook will be ignored.
|
149
|
+
# Corresponds to the JSON property `state`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :state
|
152
|
+
|
153
|
+
# Optional for both WebhookRequest and WebhookResponse. The value of the
|
154
|
+
# parameter. This field can be set by the webhook to change the parameter value.
|
155
|
+
# Corresponds to the JSON property `value`
|
156
|
+
# @return [Object]
|
157
|
+
attr_accessor :value
|
158
|
+
|
159
|
+
def initialize(**args)
|
160
|
+
update!(**args)
|
161
|
+
end
|
162
|
+
|
163
|
+
# Update properties of this object
|
164
|
+
def update!(**args)
|
165
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
166
|
+
@just_collected = args[:just_collected] if args.key?(:just_collected)
|
167
|
+
@required = args[:required] if args.key?(:required)
|
168
|
+
@state = args[:state] if args.key?(:state)
|
169
|
+
@value = args[:value] if args.key?(:value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Represents a response message that can be returned by a conversational agent.
|
174
|
+
# Response messages are also used for output audio synthesis. The approach is as
|
175
|
+
# follows: * If at least one OutputAudioText response is present, then all
|
176
|
+
# OutputAudioText responses are linearly concatenated, and the result is used
|
177
|
+
# for output audio synthesis. * If the OutputAudioText responses are a mixture
|
178
|
+
# of text and SSML, then the concatenated result is treated as SSML; otherwise,
|
179
|
+
# the result is treated as either text or SSML as appropriate. The agent
|
180
|
+
# designer should ideally use either text or SSML consistently throughout the
|
181
|
+
# bot design. * Otherwise, all Text responses are linearly concatenated, and the
|
182
|
+
# result is used for output audio synthesis. This approach allows for more
|
183
|
+
# sophisticated user experience scenarios, where the text displayed to the user
|
184
|
+
# may differ from what is heard.
|
185
|
+
class GoogleCloudDialogflowCxV3ResponseMessage
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
189
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
190
|
+
# which conversations should be counted as successful and doesn't process the
|
191
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
192
|
+
# conversations that get to the conversation end page as successful even if they
|
193
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
194
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
195
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
196
|
+
# handled the customer issue.
|
197
|
+
# Corresponds to the JSON property `conversationSuccess`
|
198
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]
|
199
|
+
attr_accessor :conversation_success
|
200
|
+
|
201
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
202
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
203
|
+
# Corresponds to the JSON property `endInteraction`
|
204
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
|
205
|
+
attr_accessor :end_interaction
|
206
|
+
|
207
|
+
# Indicates that the conversation should be handed off to a live agent.
|
208
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
209
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
210
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
211
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
212
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
213
|
+
# determine that the customer issue can only be handled by a human.
|
214
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
215
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]
|
216
|
+
attr_accessor :live_agent_handoff
|
217
|
+
|
218
|
+
# Represents an audio message that is composed of both segments synthesized from
|
219
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
220
|
+
# The external URIs are specified via play_audio. This message is generated by
|
221
|
+
# Dialogflow only and not supposed to be defined by the user.
|
222
|
+
# Corresponds to the JSON property `mixedAudio`
|
223
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio]
|
224
|
+
attr_accessor :mixed_audio
|
225
|
+
|
226
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
227
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
228
|
+
# Corresponds to the JSON property `outputAudioText`
|
229
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]
|
230
|
+
attr_accessor :output_audio_text
|
231
|
+
|
232
|
+
# Returns a response containing a custom, platform-specific payload.
|
233
|
+
# Corresponds to the JSON property `payload`
|
234
|
+
# @return [Hash<String,Object>]
|
235
|
+
attr_accessor :payload
|
236
|
+
|
237
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
238
|
+
# Corresponds to the JSON property `playAudio`
|
239
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
240
|
+
attr_accessor :play_audio
|
241
|
+
|
242
|
+
# The text response message.
|
243
|
+
# Corresponds to the JSON property `text`
|
244
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
|
245
|
+
attr_accessor :text
|
246
|
+
|
247
|
+
def initialize(**args)
|
248
|
+
update!(**args)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Update properties of this object
|
252
|
+
def update!(**args)
|
253
|
+
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
254
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
255
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
256
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
257
|
+
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
258
|
+
@payload = args[:payload] if args.key?(:payload)
|
259
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
260
|
+
@text = args[:text] if args.key?(:text)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
265
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
266
|
+
# which conversations should be counted as successful and doesn't process the
|
267
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
268
|
+
# conversations that get to the conversation end page as successful even if they
|
269
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
270
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
271
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
272
|
+
# handled the customer issue.
|
273
|
+
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# Custom metadata. Dialogflow doesn't impose any structure on this.
|
277
|
+
# Corresponds to the JSON property `metadata`
|
278
|
+
# @return [Hash<String,Object>]
|
279
|
+
attr_accessor :metadata
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
292
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
293
|
+
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
def initialize(**args)
|
297
|
+
update!(**args)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Update properties of this object
|
301
|
+
def update!(**args)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# Indicates that the conversation should be handed off to a live agent.
|
306
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
307
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
308
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
309
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
310
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
311
|
+
# determine that the customer issue can only be handled by a human.
|
312
|
+
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
313
|
+
include Google::Apis::Core::Hashable
|
314
|
+
|
315
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
316
|
+
# structure on this.
|
317
|
+
# Corresponds to the JSON property `metadata`
|
318
|
+
# @return [Hash<String,Object>]
|
319
|
+
attr_accessor :metadata
|
320
|
+
|
321
|
+
def initialize(**args)
|
322
|
+
update!(**args)
|
323
|
+
end
|
324
|
+
|
325
|
+
# Update properties of this object
|
326
|
+
def update!(**args)
|
327
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
# Represents an audio message that is composed of both segments synthesized from
|
332
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
333
|
+
# The external URIs are specified via play_audio. This message is generated by
|
334
|
+
# Dialogflow only and not supposed to be defined by the user.
|
335
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
336
|
+
include Google::Apis::Core::Hashable
|
337
|
+
|
338
|
+
# Segments this audio response is composed of.
|
339
|
+
# Corresponds to the JSON property `segments`
|
340
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment>]
|
341
|
+
attr_accessor :segments
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@segments = args[:segments] if args.key?(:segments)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# Represents one segment of audio.
|
354
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
355
|
+
include Google::Apis::Core::Hashable
|
356
|
+
|
357
|
+
# Output only. Whether the playback of this segment can be interrupted by the
|
358
|
+
# end user's speech and the client should then start the next Dialogflow request.
|
359
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
360
|
+
# @return [Boolean]
|
361
|
+
attr_accessor :allow_playback_interruption
|
362
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
363
|
+
|
364
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
365
|
+
# config specified in the request.
|
366
|
+
# Corresponds to the JSON property `audio`
|
367
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :audio
|
370
|
+
|
371
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
372
|
+
# Dialogflow does not impose any validation on it.
|
373
|
+
# Corresponds to the JSON property `uri`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :uri
|
376
|
+
|
377
|
+
def initialize(**args)
|
378
|
+
update!(**args)
|
379
|
+
end
|
380
|
+
|
381
|
+
# Update properties of this object
|
382
|
+
def update!(**args)
|
383
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
384
|
+
@audio = args[:audio] if args.key?(:audio)
|
385
|
+
@uri = args[:uri] if args.key?(:uri)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
390
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
391
|
+
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
392
|
+
include Google::Apis::Core::Hashable
|
393
|
+
|
394
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
395
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
396
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
397
|
+
# @return [Boolean]
|
398
|
+
attr_accessor :allow_playback_interruption
|
399
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
400
|
+
|
401
|
+
# The SSML text to be synthesized. For more information, see [SSML](/speech/text-
|
402
|
+
# to-speech/docs/ssml).
|
403
|
+
# Corresponds to the JSON property `ssml`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :ssml
|
406
|
+
|
407
|
+
# The raw text to be synthesized.
|
408
|
+
# Corresponds to the JSON property `text`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :text
|
411
|
+
|
412
|
+
def initialize(**args)
|
413
|
+
update!(**args)
|
414
|
+
end
|
415
|
+
|
416
|
+
# Update properties of this object
|
417
|
+
def update!(**args)
|
418
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
419
|
+
@ssml = args[:ssml] if args.key?(:ssml)
|
420
|
+
@text = args[:text] if args.key?(:text)
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
425
|
+
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
426
|
+
include Google::Apis::Core::Hashable
|
427
|
+
|
428
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
429
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
430
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
431
|
+
# @return [Boolean]
|
432
|
+
attr_accessor :allow_playback_interruption
|
433
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
434
|
+
|
435
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
436
|
+
# this value. It is specific to the client that reads it.
|
437
|
+
# Corresponds to the JSON property `audioUri`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :audio_uri
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
448
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# The text response message.
|
453
|
+
class GoogleCloudDialogflowCxV3ResponseMessageText
|
454
|
+
include Google::Apis::Core::Hashable
|
455
|
+
|
456
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
457
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
458
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
459
|
+
# @return [Boolean]
|
460
|
+
attr_accessor :allow_playback_interruption
|
461
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
462
|
+
|
463
|
+
# Required. A collection of text responses.
|
464
|
+
# Corresponds to the JSON property `text`
|
465
|
+
# @return [Array<String>]
|
466
|
+
attr_accessor :text
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
475
|
+
@text = args[:text] if args.key?(:text)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# Represents session information communicated to and from the webhook.
|
480
|
+
class GoogleCloudDialogflowCxV3SessionInfo
|
481
|
+
include Google::Apis::Core::Hashable
|
482
|
+
|
483
|
+
# Optional for WebhookRequest. Optional for WebhookResponse. All parameters
|
484
|
+
# collected from forms and intents during the session. Parameters can be created,
|
485
|
+
# updated, or removed by the webhook. To remove a parameter from the session,
|
486
|
+
# the webhook should explicitly set the parameter value to null in
|
487
|
+
# WebhookResponse. The map is keyed by parameters' display names.
|
488
|
+
# Corresponds to the JSON property `parameters`
|
489
|
+
# @return [Hash<String,Object>]
|
490
|
+
attr_accessor :parameters
|
491
|
+
|
492
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
493
|
+
# identifier of the session. This field can be used by the webhook to identify a
|
494
|
+
# user. Format: `projects//locations//agents//sessions/`.
|
495
|
+
# Corresponds to the JSON property `session`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :session
|
498
|
+
|
499
|
+
def initialize(**args)
|
500
|
+
update!(**args)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Update properties of this object
|
504
|
+
def update!(**args)
|
505
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
506
|
+
@session = args[:session] if args.key?(:session)
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# The request message for a webhook call.
|
511
|
+
class GoogleCloudDialogflowCxV3WebhookRequest
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# Always present. The unique identifier of the DetectIntentResponse that will be
|
515
|
+
# returned to the API caller.
|
516
|
+
# Corresponds to the JSON property `detectIntentResponseId`
|
517
|
+
# @return [String]
|
518
|
+
attr_accessor :detect_intent_response_id
|
519
|
+
|
520
|
+
# Represents fulfillment information communicated to the webhook.
|
521
|
+
# Corresponds to the JSON property `fulfillmentInfo`
|
522
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo]
|
523
|
+
attr_accessor :fulfillment_info
|
524
|
+
|
525
|
+
# Represents intent information communicated to the webhook.
|
526
|
+
# Corresponds to the JSON property `intentInfo`
|
527
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
528
|
+
attr_accessor :intent_info
|
529
|
+
|
530
|
+
# The list of rich message responses to present to the user. Webhook can choose
|
531
|
+
# to append or replace this list in WebhookResponse.fulfillment_response;
|
532
|
+
# Corresponds to the JSON property `messages`
|
533
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
534
|
+
attr_accessor :messages
|
535
|
+
|
536
|
+
# Represents page information communicated to and from the webhook.
|
537
|
+
# Corresponds to the JSON property `pageInfo`
|
538
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo]
|
539
|
+
attr_accessor :page_info
|
540
|
+
|
541
|
+
# Custom data set in QueryParameters.payload.
|
542
|
+
# Corresponds to the JSON property `payload`
|
543
|
+
# @return [Hash<String,Object>]
|
544
|
+
attr_accessor :payload
|
545
|
+
|
546
|
+
# Represents session information communicated to and from the webhook.
|
547
|
+
# Corresponds to the JSON property `sessionInfo`
|
548
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
549
|
+
attr_accessor :session_info
|
550
|
+
|
551
|
+
def initialize(**args)
|
552
|
+
update!(**args)
|
553
|
+
end
|
554
|
+
|
555
|
+
# Update properties of this object
|
556
|
+
def update!(**args)
|
557
|
+
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
558
|
+
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
559
|
+
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
560
|
+
@messages = args[:messages] if args.key?(:messages)
|
561
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
562
|
+
@payload = args[:payload] if args.key?(:payload)
|
563
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# Represents fulfillment information communicated to the webhook.
|
568
|
+
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
569
|
+
include Google::Apis::Core::Hashable
|
570
|
+
|
571
|
+
# Always present. The tag used to identify which fulfillment is being called.
|
572
|
+
# Corresponds to the JSON property `tag`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :tag
|
575
|
+
|
576
|
+
def initialize(**args)
|
577
|
+
update!(**args)
|
578
|
+
end
|
579
|
+
|
580
|
+
# Update properties of this object
|
581
|
+
def update!(**args)
|
582
|
+
@tag = args[:tag] if args.key?(:tag)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# Represents intent information communicated to the webhook.
|
587
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
588
|
+
include Google::Apis::Core::Hashable
|
589
|
+
|
590
|
+
# Always present. The unique identifier of the last matched intent. Format: `
|
591
|
+
# projects//locations//agents//intents/`.
|
592
|
+
# Corresponds to the JSON property `lastMatchedIntent`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :last_matched_intent
|
595
|
+
|
596
|
+
# Parameters identified as a result of intent matching. This is a map of the
|
597
|
+
# name of the identified parameter to the value of the parameter identified from
|
598
|
+
# the user's utterance. All parameters defined in the matched intent that are
|
599
|
+
# identified will be surfaced here.
|
600
|
+
# Corresponds to the JSON property `parameters`
|
601
|
+
# @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue>]
|
602
|
+
attr_accessor :parameters
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
611
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# Represents a value for an intent parameter.
|
616
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
617
|
+
include Google::Apis::Core::Hashable
|
618
|
+
|
619
|
+
# Always present. Original text value extracted from user utterance.
|
620
|
+
# Corresponds to the JSON property `originalValue`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :original_value
|
623
|
+
|
624
|
+
# Always present. Structured value for the parameter extracted from user
|
625
|
+
# utterance.
|
626
|
+
# Corresponds to the JSON property `resolvedValue`
|
627
|
+
# @return [Object]
|
628
|
+
attr_accessor :resolved_value
|
629
|
+
|
630
|
+
def initialize(**args)
|
631
|
+
update!(**args)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Update properties of this object
|
635
|
+
def update!(**args)
|
636
|
+
@original_value = args[:original_value] if args.key?(:original_value)
|
637
|
+
@resolved_value = args[:resolved_value] if args.key?(:resolved_value)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# The response message for a webhook call.
|
642
|
+
class GoogleCloudDialogflowCxV3WebhookResponse
|
643
|
+
include Google::Apis::Core::Hashable
|
644
|
+
|
645
|
+
# Represents a fulfillment response to the user.
|
646
|
+
# Corresponds to the JSON property `fulfillmentResponse`
|
647
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse]
|
648
|
+
attr_accessor :fulfillment_response
|
649
|
+
|
650
|
+
# Represents page information communicated to and from the webhook.
|
651
|
+
# Corresponds to the JSON property `pageInfo`
|
652
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo]
|
653
|
+
attr_accessor :page_info
|
654
|
+
|
655
|
+
# Value to append directly to QueryResult.webhook_payloads.
|
656
|
+
# Corresponds to the JSON property `payload`
|
657
|
+
# @return [Hash<String,Object>]
|
658
|
+
attr_accessor :payload
|
659
|
+
|
660
|
+
# Represents session information communicated to and from the webhook.
|
661
|
+
# Corresponds to the JSON property `sessionInfo`
|
662
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
663
|
+
attr_accessor :session_info
|
664
|
+
|
665
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
666
|
+
# .
|
667
|
+
# Corresponds to the JSON property `targetFlow`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :target_flow
|
670
|
+
|
671
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
672
|
+
# pages/`.
|
673
|
+
# Corresponds to the JSON property `targetPage`
|
674
|
+
# @return [String]
|
675
|
+
attr_accessor :target_page
|
676
|
+
|
677
|
+
def initialize(**args)
|
678
|
+
update!(**args)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Update properties of this object
|
682
|
+
def update!(**args)
|
683
|
+
@fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
|
684
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
685
|
+
@payload = args[:payload] if args.key?(:payload)
|
686
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
687
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
688
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
# Represents a fulfillment response to the user.
|
693
|
+
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
694
|
+
include Google::Apis::Core::Hashable
|
695
|
+
|
696
|
+
# Merge behavior for `messages`.
|
697
|
+
# Corresponds to the JSON property `mergeBehavior`
|
698
|
+
# @return [String]
|
699
|
+
attr_accessor :merge_behavior
|
700
|
+
|
701
|
+
# The list of rich message responses to present to the user.
|
702
|
+
# Corresponds to the JSON property `messages`
|
703
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
704
|
+
attr_accessor :messages
|
705
|
+
|
706
|
+
def initialize(**args)
|
707
|
+
update!(**args)
|
708
|
+
end
|
709
|
+
|
710
|
+
# Update properties of this object
|
711
|
+
def update!(**args)
|
712
|
+
@merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
|
713
|
+
@messages = args[:messages] if args.key?(:messages)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
25
717
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
26
718
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
27
719
|
include Google::Apis::Core::Hashable
|