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.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV3beta1
28
28
  VERSION = 'V3beta1'
29
- REVISION = '20201201'
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 DialogflowV3beta1
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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
240
+ attr_accessor :play_audio
241
+
242
+ # The text response message.
243
+ # Corresponds to the JSON property `text`
244
+ # @return [Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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
  # Agents are best described as Natural Language Understanding (NLU) modules that
26
718
  # transform user requests into actionable data. You can include agents in your
27
719
  # app, product, or service to determine user intent and respond to the user in a
@@ -1502,6 +2194,32 @@ module Google
1502
2194
  end
1503
2195
  end
1504
2196
 
2197
+ # The response message for SecuritySettings.ListSecuritySettings.
2198
+ class GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse
2199
+ include Google::Apis::Core::Hashable
2200
+
2201
+ # Token to retrieve the next page of results, or empty if there are no more
2202
+ # results in the list.
2203
+ # Corresponds to the JSON property `nextPageToken`
2204
+ # @return [String]
2205
+ attr_accessor :next_page_token
2206
+
2207
+ # The list of security settings.
2208
+ # Corresponds to the JSON property `securitySettings`
2209
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings>]
2210
+ attr_accessor :security_settings
2211
+
2212
+ def initialize(**args)
2213
+ update!(**args)
2214
+ end
2215
+
2216
+ # Update properties of this object
2217
+ def update!(**args)
2218
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2219
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
2220
+ end
2221
+ end
2222
+
1505
2223
  # The response message for SessionEntityTypes.ListSessionEntityTypes.
1506
2224
  class GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse
1507
2225
  include Google::Apis::Core::Hashable
@@ -2696,6 +3414,72 @@ module Google
2696
3414
  end
2697
3415
  end
2698
3416
 
3417
+ # Represents the settings related to security issues, such as data redaction and
3418
+ # data retention. It may take hours for updates on the settings to propagate to
3419
+ # all the related components and take effect.
3420
+ class GoogleCloudDialogflowCxV3beta1SecuritySettings
3421
+ include Google::Apis::Core::Hashable
3422
+
3423
+ # Required. The human-readable name of the security settings, unique within the
3424
+ # location.
3425
+ # Corresponds to the JSON property `displayName`
3426
+ # @return [String]
3427
+ attr_accessor :display_name
3428
+
3429
+ # DLP inspect template name. Use this template to define inspect base settings.
3430
+ # If empty, we use the default DLP inspect config. The template name will have
3431
+ # one of the following formats: `projects/PROJECT_ID/inspectTemplates/
3432
+ # TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
3433
+ # Corresponds to the JSON property `inspectTemplate`
3434
+ # @return [String]
3435
+ attr_accessor :inspect_template
3436
+
3437
+ # Required. Resource name of the settings. Format: `projects//locations//
3438
+ # securitySettings/`.
3439
+ # Corresponds to the JSON property `name`
3440
+ # @return [String]
3441
+ attr_accessor :name
3442
+
3443
+ # List of types of data to remove when retention settings triggers purge.
3444
+ # Corresponds to the JSON property `purgeDataTypes`
3445
+ # @return [Array<String>]
3446
+ attr_accessor :purge_data_types
3447
+
3448
+ # Defines on what data we apply redaction. Note that we don't redact data to
3449
+ # which we don't have access, e.g., Stackdriver logs.
3450
+ # Corresponds to the JSON property `redactionScope`
3451
+ # @return [String]
3452
+ attr_accessor :redaction_scope
3453
+
3454
+ # Strategy that defines how we do redaction.
3455
+ # Corresponds to the JSON property `redactionStrategy`
3456
+ # @return [String]
3457
+ attr_accessor :redaction_strategy
3458
+
3459
+ # Retains the data for the specified number of days. User must Set a value lower
3460
+ # than Dialogflow's default 30d TTL. Setting a value higher than that has no
3461
+ # effect. A missing value or setting to 0 also means we use Dialogflow's default
3462
+ # TTL.
3463
+ # Corresponds to the JSON property `retentionWindowDays`
3464
+ # @return [Fixnum]
3465
+ attr_accessor :retention_window_days
3466
+
3467
+ def initialize(**args)
3468
+ update!(**args)
3469
+ end
3470
+
3471
+ # Update properties of this object
3472
+ def update!(**args)
3473
+ @display_name = args[:display_name] if args.key?(:display_name)
3474
+ @inspect_template = args[:inspect_template] if args.key?(:inspect_template)
3475
+ @name = args[:name] if args.key?(:name)
3476
+ @purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types)
3477
+ @redaction_scope = args[:redaction_scope] if args.key?(:redaction_scope)
3478
+ @redaction_strategy = args[:redaction_strategy] if args.key?(:redaction_strategy)
3479
+ @retention_window_days = args[:retention_window_days] if args.key?(:retention_window_days)
3480
+ end
3481
+ end
3482
+
2699
3483
  # The result of sentiment analysis. Sentiment analysis inspects user input and
2700
3484
  # identifies the prevailing subjective opinion, especially to determine a user's
2701
3485
  # attitude as positive, negative, or neutral.