google-api-client 0.39.5 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +39 -4
- data/generated/google/apis/apigee_v1/representations.rb +5 -0
- data/generated/google/apis/apigee_v1/service.rb +15 -13
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -0
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +281 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +23 -7
- data/generated/google/apis/compute_alpha/representations.rb +3 -1
- data/generated/google/apis/compute_alpha/service.rb +671 -671
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +37 -1
- data/generated/google/apis/compute_v1/representations.rb +5 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +27 -4
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +44 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +238 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
- data/generated/google/apis/displayvideo_v1/service.rb +280 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +36 -27
- data/generated/google/apis/healthcare_v1/service.rb +61 -29
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +38 -34
- data/generated/google/apis/healthcare_v1beta1/service.rb +162 -144
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +29 -10
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +26 -26
- data/generated/google/apis/youtube_v3/service.rb +1 -36
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -11
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4.rb +0 -32
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
|
@@ -22,6 +22,96 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV2
|
|
24
24
|
|
|
25
|
+
class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class GoogleCloudDialogflowCxV3beta1PageInfo
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class GoogleCloudDialogflowCxV3beta1SessionInfo
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
25
115
|
class GoogleCloudDialogflowV2Agent
|
|
26
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
117
|
|
|
@@ -982,6 +1072,154 @@ module Google
|
|
|
982
1072
|
include Google::Apis::Core::JsonObjectSupport
|
|
983
1073
|
end
|
|
984
1074
|
|
|
1075
|
+
class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
|
|
1076
|
+
# @private
|
|
1077
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1078
|
+
property :agent_content, :base64 => true, as: 'agentContent'
|
|
1079
|
+
property :agent_uri, as: 'agentUri'
|
|
1080
|
+
end
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
class GoogleCloudDialogflowCxV3beta1PageInfo
|
|
1084
|
+
# @private
|
|
1085
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1086
|
+
property :current_page, as: 'currentPage'
|
|
1087
|
+
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
|
|
1088
|
+
|
|
1089
|
+
property :next_page, as: 'nextPage'
|
|
1090
|
+
end
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
|
|
1094
|
+
# @private
|
|
1095
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1096
|
+
collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo::Representation
|
|
1097
|
+
|
|
1098
|
+
property :state, as: 'state'
|
|
1099
|
+
end
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
|
|
1103
|
+
# @private
|
|
1104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1105
|
+
property :display_name, as: 'displayName'
|
|
1106
|
+
property :just_collected, as: 'justCollected'
|
|
1107
|
+
collection :prompt, as: 'prompt', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
|
1108
|
+
|
|
1109
|
+
property :required, as: 'required'
|
|
1110
|
+
property :state, as: 'state'
|
|
1111
|
+
property :value, as: 'value'
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
|
1116
|
+
# @private
|
|
1117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1118
|
+
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
|
1119
|
+
|
|
1120
|
+
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
|
|
1121
|
+
|
|
1122
|
+
hash :payload, as: 'payload'
|
|
1123
|
+
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
|
1124
|
+
|
|
1125
|
+
end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
|
|
1129
|
+
# @private
|
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1131
|
+
hash :metadata, as: 'metadata'
|
|
1132
|
+
end
|
|
1133
|
+
end
|
|
1134
|
+
|
|
1135
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
1136
|
+
# @private
|
|
1137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1138
|
+
hash :metadata, as: 'metadata'
|
|
1139
|
+
end
|
|
1140
|
+
end
|
|
1141
|
+
|
|
1142
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
1143
|
+
# @private
|
|
1144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1145
|
+
collection :text, as: 'text'
|
|
1146
|
+
end
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
class GoogleCloudDialogflowCxV3beta1SessionInfo
|
|
1150
|
+
# @private
|
|
1151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1152
|
+
hash :parameters, as: 'parameters'
|
|
1153
|
+
property :session, as: 'session'
|
|
1154
|
+
end
|
|
1155
|
+
end
|
|
1156
|
+
|
|
1157
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
|
1158
|
+
# @private
|
|
1159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1160
|
+
property :detect_intent_response_id, as: 'detectIntentResponseId'
|
|
1161
|
+
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo::Representation
|
|
1162
|
+
|
|
1163
|
+
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
|
|
1164
|
+
|
|
1165
|
+
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
|
1166
|
+
|
|
1167
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
|
1168
|
+
|
|
1169
|
+
hash :payload, as: 'payload'
|
|
1170
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
|
1171
|
+
|
|
1172
|
+
end
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
|
|
1176
|
+
# @private
|
|
1177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1178
|
+
property :tag, as: 'tag'
|
|
1179
|
+
end
|
|
1180
|
+
end
|
|
1181
|
+
|
|
1182
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
|
|
1183
|
+
# @private
|
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1185
|
+
property :last_matched_intent, as: 'lastMatchedIntent'
|
|
1186
|
+
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
|
|
1187
|
+
|
|
1188
|
+
end
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
|
|
1192
|
+
# @private
|
|
1193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1194
|
+
property :original_value, as: 'originalValue'
|
|
1195
|
+
property :resolved_value, as: 'resolvedValue'
|
|
1196
|
+
end
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
|
1200
|
+
# @private
|
|
1201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1202
|
+
property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse::Representation
|
|
1203
|
+
|
|
1204
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
|
1205
|
+
|
|
1206
|
+
hash :payload, as: 'payload'
|
|
1207
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
|
1208
|
+
|
|
1209
|
+
property :target_flow, as: 'targetFlow'
|
|
1210
|
+
property :target_page, as: 'targetPage'
|
|
1211
|
+
end
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
|
|
1215
|
+
# @private
|
|
1216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1217
|
+
property :merge_behavior, as: 'mergeBehavior'
|
|
1218
|
+
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
|
1219
|
+
|
|
1220
|
+
end
|
|
1221
|
+
end
|
|
1222
|
+
|
|
985
1223
|
class GoogleCloudDialogflowV2Agent
|
|
986
1224
|
# @private
|
|
987
1225
|
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 = '20200526'
|
|
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,563 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV2beta1
|
|
24
24
|
|
|
25
|
+
# The response message for Agents.ExportAgent.
|
|
26
|
+
class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Uncompressed raw byte content for agent.
|
|
30
|
+
# Corresponds to the JSON property `agentContent`
|
|
31
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
32
|
+
# @return [String]
|
|
33
|
+
attr_accessor :agent_content
|
|
34
|
+
|
|
35
|
+
# The URI to a file containing the exported agent. This field is populated
|
|
36
|
+
# only if `agent_uri` is specified in ExportAgentRequest.
|
|
37
|
+
# Corresponds to the JSON property `agentUri`
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :agent_uri
|
|
40
|
+
|
|
41
|
+
def initialize(**args)
|
|
42
|
+
update!(**args)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Update properties of this object
|
|
46
|
+
def update!(**args)
|
|
47
|
+
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
|
48
|
+
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Represents page information communicated to and from the webhook.
|
|
53
|
+
class GoogleCloudDialogflowCxV3beta1PageInfo
|
|
54
|
+
include Google::Apis::Core::Hashable
|
|
55
|
+
|
|
56
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse.
|
|
57
|
+
# The unique identifier of the current page.
|
|
58
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
|
59
|
+
# ID>/flows/<Flow ID>/pages/<Page ID>`.
|
|
60
|
+
# Corresponds to the JSON property `currentPage`
|
|
61
|
+
# @return [String]
|
|
62
|
+
attr_accessor :current_page
|
|
63
|
+
|
|
64
|
+
# Represents form information.
|
|
65
|
+
# Corresponds to the JSON property `formInfo`
|
|
66
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
|
|
67
|
+
attr_accessor :form_info
|
|
68
|
+
|
|
69
|
+
# Deprecated. Please use WebhookResponse.target_page or
|
|
70
|
+
# WebhookResponse.target_flow instead.
|
|
71
|
+
# Optional for WebhookResponse.
|
|
72
|
+
# The unique identifier of the next page. This field can be set by the
|
|
73
|
+
# webhook to immediately transition to a page different from `current_page`.
|
|
74
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
|
75
|
+
# ID>/flows/<Flow ID>/pages/<Page ID>`.
|
|
76
|
+
# Corresponds to the JSON property `nextPage`
|
|
77
|
+
# @return [String]
|
|
78
|
+
attr_accessor :next_page
|
|
79
|
+
|
|
80
|
+
def initialize(**args)
|
|
81
|
+
update!(**args)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Update properties of this object
|
|
85
|
+
def update!(**args)
|
|
86
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
|
87
|
+
@form_info = args[:form_info] if args.key?(:form_info)
|
|
88
|
+
@next_page = args[:next_page] if args.key?(:next_page)
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Represents form information.
|
|
93
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
|
|
94
|
+
include Google::Apis::Core::Hashable
|
|
95
|
+
|
|
96
|
+
# Optional for both WebhookRequest and WebhookResponse.
|
|
97
|
+
# The parameters contained in the form. Note that the webhook cannot add
|
|
98
|
+
# or remove any form parameter.
|
|
99
|
+
# Corresponds to the JSON property `parameterInfo`
|
|
100
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>]
|
|
101
|
+
attr_accessor :parameter_info
|
|
102
|
+
|
|
103
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse.
|
|
104
|
+
# The current state of the form.
|
|
105
|
+
# Corresponds to the JSON property `state`
|
|
106
|
+
# @return [String]
|
|
107
|
+
attr_accessor :state
|
|
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
|
+
@state = args[:state] if args.key?(:state)
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Represents parameter information.
|
|
121
|
+
class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
|
|
122
|
+
include Google::Apis::Core::Hashable
|
|
123
|
+
|
|
124
|
+
# Always present for WebhookRequest. Required for
|
|
125
|
+
# WebhookResponse.
|
|
126
|
+
# The human-readable name of the parameter, unique within the form. This
|
|
127
|
+
# field cannot be modified by the webhook.
|
|
128
|
+
# Corresponds to the JSON property `displayName`
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :display_name
|
|
131
|
+
|
|
132
|
+
# Optional for WebhookRequest. Ignored for WebhookResponse.
|
|
133
|
+
# Indicates if the parameter value was just collected on the last
|
|
134
|
+
# conversation turn.
|
|
135
|
+
# Corresponds to the JSON property `justCollected`
|
|
136
|
+
# @return [Boolean]
|
|
137
|
+
attr_accessor :just_collected
|
|
138
|
+
alias_method :just_collected?, :just_collected
|
|
139
|
+
|
|
140
|
+
# Not set for WebhookRequest. Optional for WebhookResponse.
|
|
141
|
+
# The prompt to send to the user to fill a required form parameter. This
|
|
142
|
+
# field can be set by the webhook. If set, this field overrides the
|
|
143
|
+
# prompt defined for the form parameter.
|
|
144
|
+
# Corresponds to the JSON property `prompt`
|
|
145
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
|
146
|
+
attr_accessor :prompt
|
|
147
|
+
|
|
148
|
+
# Optional for both WebhookRequest and WebhookResponse.
|
|
149
|
+
# Indicates whether the parameter is required. Optional parameters will
|
|
150
|
+
# not trigger prompts; however, they are filled if the user specifies
|
|
151
|
+
# them. Required parameters must be filled before form filling concludes.
|
|
152
|
+
# Corresponds to the JSON property `required`
|
|
153
|
+
# @return [Boolean]
|
|
154
|
+
attr_accessor :required
|
|
155
|
+
alias_method :required?, :required
|
|
156
|
+
|
|
157
|
+
# Always present for WebhookRequest. Required for
|
|
158
|
+
# WebhookResponse. The state of the parameter. This field can be set
|
|
159
|
+
# to INVALID by
|
|
160
|
+
# the webhook to invalidate the parameter; other values set by the
|
|
161
|
+
# webhook will be ignored.
|
|
162
|
+
# Corresponds to the JSON property `state`
|
|
163
|
+
# @return [String]
|
|
164
|
+
attr_accessor :state
|
|
165
|
+
|
|
166
|
+
# Optional for both WebhookRequest and WebhookResponse.
|
|
167
|
+
# The value of the parameter. This field can be set by the webhook to
|
|
168
|
+
# change the parameter value.
|
|
169
|
+
# Corresponds to the JSON property `value`
|
|
170
|
+
# @return [Object]
|
|
171
|
+
attr_accessor :value
|
|
172
|
+
|
|
173
|
+
def initialize(**args)
|
|
174
|
+
update!(**args)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Update properties of this object
|
|
178
|
+
def update!(**args)
|
|
179
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
180
|
+
@just_collected = args[:just_collected] if args.key?(:just_collected)
|
|
181
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
182
|
+
@required = args[:required] if args.key?(:required)
|
|
183
|
+
@state = args[:state] if args.key?(:state)
|
|
184
|
+
@value = args[:value] if args.key?(:value)
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Represents a response message that can be returned by a conversational agent.
|
|
189
|
+
# Response messages are also used for output audio synthesis. The approach is
|
|
190
|
+
# as follows:
|
|
191
|
+
# * If at least one OutputAudioText response is present, then all
|
|
192
|
+
# OutputAudioText responses are linearly concatenated, and the result is used
|
|
193
|
+
# for output audio synthesis.
|
|
194
|
+
# * If the OutputAudioText responses are a mixture of text and SSML, then the
|
|
195
|
+
# concatenated result is treated as SSML; otherwise, the result is treated as
|
|
196
|
+
# either text or SSML as appropriate. The agent designer should ideally use
|
|
197
|
+
# either text or SSML consistently throughout the bot design.
|
|
198
|
+
# * Otherwise, all Text responses are linearly concatenated, and the result is
|
|
199
|
+
# used for output audio synthesis.
|
|
200
|
+
# This approach allows for more sophisticated user experience scenarios, where
|
|
201
|
+
# the text displayed to the user may differ from what is heard.
|
|
202
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
|
203
|
+
include Google::Apis::Core::Hashable
|
|
204
|
+
|
|
205
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
|
206
|
+
# that the customer talked to it about.
|
|
207
|
+
# Dialogflow only uses this to determine which conversations should be
|
|
208
|
+
# counted as successful and doesn't process the metadata in this message in
|
|
209
|
+
# any way. Note that Dialogflow also considers conversations that get to the
|
|
210
|
+
# conversation end page as successful even if they don't return
|
|
211
|
+
# ConversationSuccess.
|
|
212
|
+
# You may set this, for example:
|
|
213
|
+
# * In the entry_fulfillment of a Page if
|
|
214
|
+
# entering the page indicates that the conversation succeeded.
|
|
215
|
+
# * In a webhook response when you determine that you handled the customer
|
|
216
|
+
# issue.
|
|
217
|
+
# Corresponds to the JSON property `conversationSuccess`
|
|
218
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
|
|
219
|
+
attr_accessor :conversation_success
|
|
220
|
+
|
|
221
|
+
# Indicates that the conversation should be handed off to a human agent.
|
|
222
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
223
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
224
|
+
# is up to you and your handoff procedures.
|
|
225
|
+
# You may set this, for example:
|
|
226
|
+
# * In the entry_fulfillment of a Page if
|
|
227
|
+
# entering the page indicates something went extremely wrong in the
|
|
228
|
+
# conversation.
|
|
229
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
230
|
+
# be handled by a human.
|
|
231
|
+
# Corresponds to the JSON property `humanAgentHandoff`
|
|
232
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
|
|
233
|
+
attr_accessor :human_agent_handoff
|
|
234
|
+
|
|
235
|
+
# Returns a response containing a custom, platform-specific payload.
|
|
236
|
+
# Corresponds to the JSON property `payload`
|
|
237
|
+
# @return [Hash<String,Object>]
|
|
238
|
+
attr_accessor :payload
|
|
239
|
+
|
|
240
|
+
# The text response message.
|
|
241
|
+
# Corresponds to the JSON property `text`
|
|
242
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
|
243
|
+
attr_accessor :text
|
|
244
|
+
|
|
245
|
+
def initialize(**args)
|
|
246
|
+
update!(**args)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Update properties of this object
|
|
250
|
+
def update!(**args)
|
|
251
|
+
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
|
252
|
+
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
|
|
253
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
254
|
+
@text = args[:text] if args.key?(:text)
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
|
259
|
+
# that the customer talked to it about.
|
|
260
|
+
# Dialogflow only uses this to determine which conversations should be
|
|
261
|
+
# counted as successful and doesn't process the metadata in this message in
|
|
262
|
+
# any way. Note that Dialogflow also considers conversations that get to the
|
|
263
|
+
# conversation end page as successful even if they don't return
|
|
264
|
+
# ConversationSuccess.
|
|
265
|
+
# You may set this, for example:
|
|
266
|
+
# * In the entry_fulfillment of a Page if
|
|
267
|
+
# entering the page indicates that the conversation succeeded.
|
|
268
|
+
# * In a webhook response when you determine that you handled the customer
|
|
269
|
+
# issue.
|
|
270
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
|
|
271
|
+
include Google::Apis::Core::Hashable
|
|
272
|
+
|
|
273
|
+
# Custom metadata. Dialogflow doesn't impose any structure on this.
|
|
274
|
+
# Corresponds to the JSON property `metadata`
|
|
275
|
+
# @return [Hash<String,Object>]
|
|
276
|
+
attr_accessor :metadata
|
|
277
|
+
|
|
278
|
+
def initialize(**args)
|
|
279
|
+
update!(**args)
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Update properties of this object
|
|
283
|
+
def update!(**args)
|
|
284
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Indicates that the conversation should be handed off to a human agent.
|
|
289
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
290
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
291
|
+
# is up to you and your handoff procedures.
|
|
292
|
+
# You may set this, for example:
|
|
293
|
+
# * In the entry_fulfillment of a Page if
|
|
294
|
+
# entering the page indicates something went extremely wrong in the
|
|
295
|
+
# conversation.
|
|
296
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
297
|
+
# be handled by a human.
|
|
298
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
299
|
+
include Google::Apis::Core::Hashable
|
|
300
|
+
|
|
301
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose
|
|
302
|
+
# any structure on this.
|
|
303
|
+
# Corresponds to the JSON property `metadata`
|
|
304
|
+
# @return [Hash<String,Object>]
|
|
305
|
+
attr_accessor :metadata
|
|
306
|
+
|
|
307
|
+
def initialize(**args)
|
|
308
|
+
update!(**args)
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Update properties of this object
|
|
312
|
+
def update!(**args)
|
|
313
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# The text response message.
|
|
318
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
319
|
+
include Google::Apis::Core::Hashable
|
|
320
|
+
|
|
321
|
+
# A collection of text responses.
|
|
322
|
+
# Corresponds to the JSON property `text`
|
|
323
|
+
# @return [Array<String>]
|
|
324
|
+
attr_accessor :text
|
|
325
|
+
|
|
326
|
+
def initialize(**args)
|
|
327
|
+
update!(**args)
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# Update properties of this object
|
|
331
|
+
def update!(**args)
|
|
332
|
+
@text = args[:text] if args.key?(:text)
|
|
333
|
+
end
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Represents session information communicated to and from the webhook.
|
|
337
|
+
class GoogleCloudDialogflowCxV3beta1SessionInfo
|
|
338
|
+
include Google::Apis::Core::Hashable
|
|
339
|
+
|
|
340
|
+
# Optional for WebhookRequest. Optional for WebhookResponse.
|
|
341
|
+
# All parameters collected from forms and intents during the session.
|
|
342
|
+
# Parameters can be created, updated, or removed by the webhook. To remove a
|
|
343
|
+
# parameter from the session, the webhook should explicitly set the parameter
|
|
344
|
+
# value to null in WebhookResponse. The map is keyed by parameters'
|
|
345
|
+
# display names.
|
|
346
|
+
# Corresponds to the JSON property `parameters`
|
|
347
|
+
# @return [Hash<String,Object>]
|
|
348
|
+
attr_accessor :parameters
|
|
349
|
+
|
|
350
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse.
|
|
351
|
+
# The unique identifier of the session. This
|
|
352
|
+
# field can be used by the webhook to identify a user.
|
|
353
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
|
354
|
+
# ID>/sessions/<Session ID>`.
|
|
355
|
+
# Corresponds to the JSON property `session`
|
|
356
|
+
# @return [String]
|
|
357
|
+
attr_accessor :session
|
|
358
|
+
|
|
359
|
+
def initialize(**args)
|
|
360
|
+
update!(**args)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Update properties of this object
|
|
364
|
+
def update!(**args)
|
|
365
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
366
|
+
@session = args[:session] if args.key?(:session)
|
|
367
|
+
end
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# The request message for a webhook call.
|
|
371
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
|
372
|
+
include Google::Apis::Core::Hashable
|
|
373
|
+
|
|
374
|
+
# Always present. The unique identifier of the DetectIntentResponse that
|
|
375
|
+
# will be returned to the API caller.
|
|
376
|
+
# Corresponds to the JSON property `detectIntentResponseId`
|
|
377
|
+
# @return [String]
|
|
378
|
+
attr_accessor :detect_intent_response_id
|
|
379
|
+
|
|
380
|
+
# Represents fulfillment information communicated to the webhook.
|
|
381
|
+
# Corresponds to the JSON property `fulfillmentInfo`
|
|
382
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo]
|
|
383
|
+
attr_accessor :fulfillment_info
|
|
384
|
+
|
|
385
|
+
# Represents intent information communicated to the webhook.
|
|
386
|
+
# Corresponds to the JSON property `intentInfo`
|
|
387
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
|
388
|
+
attr_accessor :intent_info
|
|
389
|
+
|
|
390
|
+
# The list of rich message responses to present to the user. Webhook can
|
|
391
|
+
# choose to append or replace this list in
|
|
392
|
+
# WebhookResponse.fulfillment_response;
|
|
393
|
+
# Corresponds to the JSON property `messages`
|
|
394
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
|
395
|
+
attr_accessor :messages
|
|
396
|
+
|
|
397
|
+
# Represents page information communicated to and from the webhook.
|
|
398
|
+
# Corresponds to the JSON property `pageInfo`
|
|
399
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo]
|
|
400
|
+
attr_accessor :page_info
|
|
401
|
+
|
|
402
|
+
# Custom data set in QueryParameters.payload.
|
|
403
|
+
# Corresponds to the JSON property `payload`
|
|
404
|
+
# @return [Hash<String,Object>]
|
|
405
|
+
attr_accessor :payload
|
|
406
|
+
|
|
407
|
+
# Represents session information communicated to and from the webhook.
|
|
408
|
+
# Corresponds to the JSON property `sessionInfo`
|
|
409
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
|
410
|
+
attr_accessor :session_info
|
|
411
|
+
|
|
412
|
+
def initialize(**args)
|
|
413
|
+
update!(**args)
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
# Update properties of this object
|
|
417
|
+
def update!(**args)
|
|
418
|
+
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
|
419
|
+
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
|
420
|
+
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
|
421
|
+
@messages = args[:messages] if args.key?(:messages)
|
|
422
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
423
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
424
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
|
425
|
+
end
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Represents fulfillment information communicated to the webhook.
|
|
429
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
|
|
430
|
+
include Google::Apis::Core::Hashable
|
|
431
|
+
|
|
432
|
+
# Always present. The tag used to identify which fulfillment is being
|
|
433
|
+
# called.
|
|
434
|
+
# Corresponds to the JSON property `tag`
|
|
435
|
+
# @return [String]
|
|
436
|
+
attr_accessor :tag
|
|
437
|
+
|
|
438
|
+
def initialize(**args)
|
|
439
|
+
update!(**args)
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
# Update properties of this object
|
|
443
|
+
def update!(**args)
|
|
444
|
+
@tag = args[:tag] if args.key?(:tag)
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Represents intent information communicated to the webhook.
|
|
449
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
|
|
450
|
+
include Google::Apis::Core::Hashable
|
|
451
|
+
|
|
452
|
+
# Always present. The unique identifier of the last matched
|
|
453
|
+
# intent. Format: `projects/<Project ID>/locations/<Location
|
|
454
|
+
# ID>/agents/<Agent ID>/intents/<Intent ID>`.
|
|
455
|
+
# Corresponds to the JSON property `lastMatchedIntent`
|
|
456
|
+
# @return [String]
|
|
457
|
+
attr_accessor :last_matched_intent
|
|
458
|
+
|
|
459
|
+
# Parameters identified as a result of intent matching. This is a map of
|
|
460
|
+
# the name of the identified parameter to the value of the parameter
|
|
461
|
+
# identified from the user's utterance. All parameters defined in the
|
|
462
|
+
# matched intent that are identified will be surfaced here.
|
|
463
|
+
# Corresponds to the JSON property `parameters`
|
|
464
|
+
# @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue>]
|
|
465
|
+
attr_accessor :parameters
|
|
466
|
+
|
|
467
|
+
def initialize(**args)
|
|
468
|
+
update!(**args)
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Update properties of this object
|
|
472
|
+
def update!(**args)
|
|
473
|
+
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
|
474
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
475
|
+
end
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
# Represents a value for an intent parameter.
|
|
479
|
+
class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
|
|
480
|
+
include Google::Apis::Core::Hashable
|
|
481
|
+
|
|
482
|
+
# Always present. Original text value extracted from user utterance.
|
|
483
|
+
# Corresponds to the JSON property `originalValue`
|
|
484
|
+
# @return [String]
|
|
485
|
+
attr_accessor :original_value
|
|
486
|
+
|
|
487
|
+
# Always present. Structured value for the parameter extracted from user
|
|
488
|
+
# utterance.
|
|
489
|
+
# Corresponds to the JSON property `resolvedValue`
|
|
490
|
+
# @return [Object]
|
|
491
|
+
attr_accessor :resolved_value
|
|
492
|
+
|
|
493
|
+
def initialize(**args)
|
|
494
|
+
update!(**args)
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Update properties of this object
|
|
498
|
+
def update!(**args)
|
|
499
|
+
@original_value = args[:original_value] if args.key?(:original_value)
|
|
500
|
+
@resolved_value = args[:resolved_value] if args.key?(:resolved_value)
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# The response message for a webhook call.
|
|
505
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponse
|
|
506
|
+
include Google::Apis::Core::Hashable
|
|
507
|
+
|
|
508
|
+
# Represents a fulfillment response to the user.
|
|
509
|
+
# Corresponds to the JSON property `fulfillmentResponse`
|
|
510
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse]
|
|
511
|
+
attr_accessor :fulfillment_response
|
|
512
|
+
|
|
513
|
+
# Represents page information communicated to and from the webhook.
|
|
514
|
+
# Corresponds to the JSON property `pageInfo`
|
|
515
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo]
|
|
516
|
+
attr_accessor :page_info
|
|
517
|
+
|
|
518
|
+
# Value to append directly to QueryResult.webhook_payloads.
|
|
519
|
+
# Corresponds to the JSON property `payload`
|
|
520
|
+
# @return [Hash<String,Object>]
|
|
521
|
+
attr_accessor :payload
|
|
522
|
+
|
|
523
|
+
# Represents session information communicated to and from the webhook.
|
|
524
|
+
# Corresponds to the JSON property `sessionInfo`
|
|
525
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
|
526
|
+
attr_accessor :session_info
|
|
527
|
+
|
|
528
|
+
# The target flow to transition to.
|
|
529
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
|
530
|
+
# ID>/flows/<Flow ID>`.
|
|
531
|
+
# Corresponds to the JSON property `targetFlow`
|
|
532
|
+
# @return [String]
|
|
533
|
+
attr_accessor :target_flow
|
|
534
|
+
|
|
535
|
+
# The target page to transition to.
|
|
536
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
|
537
|
+
# ID>/flows/<Flow ID>/pages/<Page ID>`.
|
|
538
|
+
# Corresponds to the JSON property `targetPage`
|
|
539
|
+
# @return [String]
|
|
540
|
+
attr_accessor :target_page
|
|
541
|
+
|
|
542
|
+
def initialize(**args)
|
|
543
|
+
update!(**args)
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# Update properties of this object
|
|
547
|
+
def update!(**args)
|
|
548
|
+
@fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
|
|
549
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
550
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
551
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
|
552
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
|
553
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
|
554
|
+
end
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Represents a fulfillment response to the user.
|
|
558
|
+
class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
|
|
559
|
+
include Google::Apis::Core::Hashable
|
|
560
|
+
|
|
561
|
+
# Merge behavior for `messages`.
|
|
562
|
+
# Corresponds to the JSON property `mergeBehavior`
|
|
563
|
+
# @return [String]
|
|
564
|
+
attr_accessor :merge_behavior
|
|
565
|
+
|
|
566
|
+
# The list of rich message responses to present to the user.
|
|
567
|
+
# Corresponds to the JSON property `messages`
|
|
568
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
|
569
|
+
attr_accessor :messages
|
|
570
|
+
|
|
571
|
+
def initialize(**args)
|
|
572
|
+
update!(**args)
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# Update properties of this object
|
|
576
|
+
def update!(**args)
|
|
577
|
+
@merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
|
|
578
|
+
@messages = args[:messages] if args.key?(:messages)
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
|
|
25
582
|
# Represents a part of a message possibly annotated with an entity. The part
|
|
26
583
|
# can be an entity or purely a part of the message between two entities or
|
|
27
584
|
# message start/end.
|
|
@@ -3759,8 +4316,8 @@ module Google
|
|
|
3759
4316
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
3760
4317
|
# with media and suggestions.
|
|
3761
4318
|
# For more details about RBM rich cards, please see:
|
|
3762
|
-
# https://developers.google.com/rcs-business-messaging/
|
|
3763
|
-
# messages#rich-cards
|
|
4319
|
+
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4320
|
+
# guides/build/messages/send#rich-cards
|
|
3764
4321
|
# If you want to show a single card with more control over the layout,
|
|
3765
4322
|
# please use RbmStandaloneCard instead.
|
|
3766
4323
|
# Corresponds to the JSON property `rbmCarouselRichCard`
|
|
@@ -3771,8 +4328,8 @@ module Google
|
|
|
3771
4328
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
3772
4329
|
# with media and suggestions.
|
|
3773
4330
|
# For more details about RBM rich cards, please see:
|
|
3774
|
-
# https://developers.google.com/rcs-business-messaging/
|
|
3775
|
-
# messages#rich-cards
|
|
4331
|
+
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4332
|
+
# guides/build/messages/send#rich-cards
|
|
3776
4333
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
3777
4334
|
# carousel cards will give you less control over the card layout.
|
|
3778
4335
|
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
|
@@ -4512,8 +5069,8 @@ module Google
|
|
|
4512
5069
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4513
5070
|
# with media and suggestions.
|
|
4514
5071
|
# For more details about RBM rich cards, please see:
|
|
4515
|
-
# https://developers.google.com/rcs-business-messaging/
|
|
4516
|
-
# messages#rich-cards
|
|
5072
|
+
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5073
|
+
# guides/build/messages/send#rich-cards
|
|
4517
5074
|
# If you want to show a single card with more control over the layout,
|
|
4518
5075
|
# please use RbmStandaloneCard instead.
|
|
4519
5076
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
|
@@ -4545,8 +5102,8 @@ module Google
|
|
|
4545
5102
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4546
5103
|
# with media and suggestions.
|
|
4547
5104
|
# For more details about RBM rich cards, please see:
|
|
4548
|
-
# https://developers.google.com/rcs-business-messaging/
|
|
4549
|
-
# messages#rich-cards
|
|
5105
|
+
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5106
|
+
# guides/build/messages/send#rich-cards
|
|
4550
5107
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
4551
5108
|
# carousel cards will give you less control over the card layout.
|
|
4552
5109
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|