google-apis-integrations_v2 0.1.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 +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/integrations_v2/classes.rb +3648 -0
- data/lib/google/apis/integrations_v2/gem_version.rb +28 -0
- data/lib/google/apis/integrations_v2/representations.rb +1727 -0
- data/lib/google/apis/integrations_v2/service.rb +437 -0
- data/lib/google/apis/integrations_v2.rb +36 -0
- data/lib/google-apis-integrations_v2.rb +15 -0
- metadata +79 -0
|
@@ -0,0 +1,3648 @@
|
|
|
1
|
+
# Copyright 2020 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'date'
|
|
16
|
+
require 'google/apis/core/base_service'
|
|
17
|
+
require 'google/apis/core/json_representation'
|
|
18
|
+
require 'google/apis/core/hashable'
|
|
19
|
+
require 'google/apis/errors'
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Apis
|
|
23
|
+
module IntegrationsV2
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Defines the credential types to be supported as Task may restrict specific
|
|
30
|
+
# types to use, e.g. Cloud SQL Task will use username/password type only.
|
|
31
|
+
# Corresponds to the JSON property `allowedCredentialTypes`
|
|
32
|
+
# @return [Array<String>]
|
|
33
|
+
attr_accessor :allowed_credential_types
|
|
34
|
+
|
|
35
|
+
#
|
|
36
|
+
# Corresponds to the JSON property `allowedServiceAccountInContext`
|
|
37
|
+
# @return [Boolean]
|
|
38
|
+
attr_accessor :allowed_service_account_in_context
|
|
39
|
+
alias_method :allowed_service_account_in_context?, :allowed_service_account_in_context
|
|
40
|
+
|
|
41
|
+
# UUID of the AuthConfig.
|
|
42
|
+
# Corresponds to the JSON property `authConfigId`
|
|
43
|
+
# @return [String]
|
|
44
|
+
attr_accessor :auth_config_id
|
|
45
|
+
|
|
46
|
+
# A space-delimited list of requested scope permissions.
|
|
47
|
+
# Corresponds to the JSON property `scope`
|
|
48
|
+
# @return [String]
|
|
49
|
+
attr_accessor :scope
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
# Corresponds to the JSON property `useServiceAccountInContext`
|
|
53
|
+
# @return [Boolean]
|
|
54
|
+
attr_accessor :use_service_account_in_context
|
|
55
|
+
alias_method :use_service_account_in_context?, :use_service_account_in_context
|
|
56
|
+
|
|
57
|
+
def initialize(**args)
|
|
58
|
+
update!(**args)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Update properties of this object
|
|
62
|
+
def update!(**args)
|
|
63
|
+
@allowed_credential_types = args[:allowed_credential_types] if args.key?(:allowed_credential_types)
|
|
64
|
+
@allowed_service_account_in_context = args[:allowed_service_account_in_context] if args.key?(:allowed_service_account_in_context)
|
|
65
|
+
@auth_config_id = args[:auth_config_id] if args.key?(:auth_config_id)
|
|
66
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
67
|
+
@use_service_account_in_context = args[:use_service_account_in_context] if args.key?(:use_service_account_in_context)
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Email address along with optional name and tokens. These tokens will be
|
|
72
|
+
# substituted for the variables in the form of [`var_name`], where var_name
|
|
73
|
+
# could be any string of no more than 32 bytes.
|
|
74
|
+
class EnterpriseCrmEventbusProtoAddress
|
|
75
|
+
include Google::Apis::Core::Hashable
|
|
76
|
+
|
|
77
|
+
# Required.
|
|
78
|
+
# Corresponds to the JSON property `email`
|
|
79
|
+
# @return [String]
|
|
80
|
+
attr_accessor :email
|
|
81
|
+
|
|
82
|
+
#
|
|
83
|
+
# Corresponds to the JSON property `name`
|
|
84
|
+
# @return [String]
|
|
85
|
+
attr_accessor :name
|
|
86
|
+
|
|
87
|
+
#
|
|
88
|
+
# Corresponds to the JSON property `tokens`
|
|
89
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoToken>]
|
|
90
|
+
attr_accessor :tokens
|
|
91
|
+
|
|
92
|
+
def initialize(**args)
|
|
93
|
+
update!(**args)
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Update properties of this object
|
|
97
|
+
def update!(**args)
|
|
98
|
+
@email = args[:email] if args.key?(:email)
|
|
99
|
+
@name = args[:name] if args.key?(:name)
|
|
100
|
+
@tokens = args[:tokens] if args.key?(:tokens)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
#
|
|
105
|
+
class EnterpriseCrmEventbusProtoBaseFunction
|
|
106
|
+
include Google::Apis::Core::Hashable
|
|
107
|
+
|
|
108
|
+
#
|
|
109
|
+
# Corresponds to the JSON property `functionName`
|
|
110
|
+
# @return [String]
|
|
111
|
+
attr_accessor :function_name
|
|
112
|
+
|
|
113
|
+
def initialize(**args)
|
|
114
|
+
update!(**args)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Update properties of this object
|
|
118
|
+
def update!(**args)
|
|
119
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
#
|
|
124
|
+
class EnterpriseCrmEventbusProtoBaseValue
|
|
125
|
+
include Google::Apis::Core::Hashable
|
|
126
|
+
|
|
127
|
+
# Start with a function that does not build on existing values. Eg. CurrentTime,
|
|
128
|
+
# Min, Max, Exists, etc.
|
|
129
|
+
# Corresponds to the JSON property `baseFunction`
|
|
130
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoFunction]
|
|
131
|
+
attr_accessor :base_function
|
|
132
|
+
|
|
133
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
134
|
+
# 14
|
|
135
|
+
# Corresponds to the JSON property `literalValue`
|
|
136
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterValueType]
|
|
137
|
+
attr_accessor :literal_value
|
|
138
|
+
|
|
139
|
+
# Start with a reference value to dereference.
|
|
140
|
+
# Corresponds to the JSON property `referenceValue`
|
|
141
|
+
# @return [String]
|
|
142
|
+
attr_accessor :reference_value
|
|
143
|
+
|
|
144
|
+
def initialize(**args)
|
|
145
|
+
update!(**args)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Update properties of this object
|
|
149
|
+
def update!(**args)
|
|
150
|
+
@base_function = args[:base_function] if args.key?(:base_function)
|
|
151
|
+
@literal_value = args[:literal_value] if args.key?(:literal_value)
|
|
152
|
+
@reference_value = args[:reference_value] if args.key?(:reference_value)
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
#
|
|
157
|
+
class EnterpriseCrmEventbusProtoBooleanArrayFunction
|
|
158
|
+
include Google::Apis::Core::Hashable
|
|
159
|
+
|
|
160
|
+
#
|
|
161
|
+
# Corresponds to the JSON property `functionName`
|
|
162
|
+
# @return [String]
|
|
163
|
+
attr_accessor :function_name
|
|
164
|
+
|
|
165
|
+
def initialize(**args)
|
|
166
|
+
update!(**args)
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Update properties of this object
|
|
170
|
+
def update!(**args)
|
|
171
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
#
|
|
176
|
+
class EnterpriseCrmEventbusProtoBooleanFunction
|
|
177
|
+
include Google::Apis::Core::Hashable
|
|
178
|
+
|
|
179
|
+
#
|
|
180
|
+
# Corresponds to the JSON property `functionName`
|
|
181
|
+
# @return [String]
|
|
182
|
+
attr_accessor :function_name
|
|
183
|
+
|
|
184
|
+
def initialize(**args)
|
|
185
|
+
update!(**args)
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Update properties of this object
|
|
189
|
+
def update!(**args)
|
|
190
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
#
|
|
195
|
+
class EnterpriseCrmEventbusProtoBooleanParameterArray
|
|
196
|
+
include Google::Apis::Core::Hashable
|
|
197
|
+
|
|
198
|
+
#
|
|
199
|
+
# Corresponds to the JSON property `booleanValues`
|
|
200
|
+
# @return [Array<Boolean>]
|
|
201
|
+
attr_accessor :boolean_values
|
|
202
|
+
|
|
203
|
+
def initialize(**args)
|
|
204
|
+
update!(**args)
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Update properties of this object
|
|
208
|
+
def update!(**args)
|
|
209
|
+
@boolean_values = args[:boolean_values] if args.key?(:boolean_values)
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
#
|
|
214
|
+
class EnterpriseCrmEventbusProtoBuganizerNotification
|
|
215
|
+
include Google::Apis::Core::Hashable
|
|
216
|
+
|
|
217
|
+
# Whom to assign the new bug. Optional.
|
|
218
|
+
# Corresponds to the JSON property `assigneeEmailAddress`
|
|
219
|
+
# @return [String]
|
|
220
|
+
attr_accessor :assignee_email_address
|
|
221
|
+
|
|
222
|
+
# ID of the buganizer component within which to create a new issue. Required.
|
|
223
|
+
# Corresponds to the JSON property `componentId`
|
|
224
|
+
# @return [Fixnum]
|
|
225
|
+
attr_accessor :component_id
|
|
226
|
+
|
|
227
|
+
# ID of the buganizer template to use. Optional.
|
|
228
|
+
# Corresponds to the JSON property `templateId`
|
|
229
|
+
# @return [Fixnum]
|
|
230
|
+
attr_accessor :template_id
|
|
231
|
+
|
|
232
|
+
# Title of the issue to be created. Required.
|
|
233
|
+
# Corresponds to the JSON property `title`
|
|
234
|
+
# @return [String]
|
|
235
|
+
attr_accessor :title
|
|
236
|
+
|
|
237
|
+
def initialize(**args)
|
|
238
|
+
update!(**args)
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# Update properties of this object
|
|
242
|
+
def update!(**args)
|
|
243
|
+
@assignee_email_address = args[:assignee_email_address] if args.key?(:assignee_email_address)
|
|
244
|
+
@component_id = args[:component_id] if args.key?(:component_id)
|
|
245
|
+
@template_id = args[:template_id] if args.key?(:template_id)
|
|
246
|
+
@title = args[:title] if args.key?(:title)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
#
|
|
251
|
+
class EnterpriseCrmEventbusProtoCloudKmsConfig
|
|
252
|
+
include Google::Apis::Core::Hashable
|
|
253
|
+
|
|
254
|
+
# Optional. The id of GCP project where the KMS key is stored. If not provided,
|
|
255
|
+
# assume the key is stored in the same GCP project defined in Client (tag 14).
|
|
256
|
+
# Corresponds to the JSON property `gcpProjectId`
|
|
257
|
+
# @return [String]
|
|
258
|
+
attr_accessor :gcp_project_id
|
|
259
|
+
|
|
260
|
+
# A Cloud KMS key is a named object containing one or more key versions, along
|
|
261
|
+
# with metadata for the key. A key exists on exactly one key ring tied to a
|
|
262
|
+
# specific location.
|
|
263
|
+
# Corresponds to the JSON property `keyName`
|
|
264
|
+
# @return [String]
|
|
265
|
+
attr_accessor :key_name
|
|
266
|
+
|
|
267
|
+
# A key ring organizes keys in a specific Google Cloud location and allows you
|
|
268
|
+
# to manage access control on groups of keys. A key ring's name does not need to
|
|
269
|
+
# be unique across a Google Cloud project, but must be unique within a given
|
|
270
|
+
# location.
|
|
271
|
+
# Corresponds to the JSON property `keyRingName`
|
|
272
|
+
# @return [String]
|
|
273
|
+
attr_accessor :key_ring_name
|
|
274
|
+
|
|
275
|
+
# Optional. Each version of a key contains key material used for encryption or
|
|
276
|
+
# signing. A key's version is represented by an integer, starting at 1. To
|
|
277
|
+
# decrypt data or verify a signature, you must use the same key version that was
|
|
278
|
+
# used to encrypt or sign the data.
|
|
279
|
+
# Corresponds to the JSON property `keyVersionName`
|
|
280
|
+
# @return [String]
|
|
281
|
+
attr_accessor :key_version_name
|
|
282
|
+
|
|
283
|
+
# Location name of the key ring, e.g. "us-west1".
|
|
284
|
+
# Corresponds to the JSON property `locationName`
|
|
285
|
+
# @return [String]
|
|
286
|
+
attr_accessor :location_name
|
|
287
|
+
|
|
288
|
+
# Optional. The service account used for authentication of this KMS key. If this
|
|
289
|
+
# is not provided, the service account in Client.clientSource will be used.
|
|
290
|
+
# Corresponds to the JSON property `serviceAccount`
|
|
291
|
+
# @return [String]
|
|
292
|
+
attr_accessor :service_account
|
|
293
|
+
|
|
294
|
+
def initialize(**args)
|
|
295
|
+
update!(**args)
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Update properties of this object
|
|
299
|
+
def update!(**args)
|
|
300
|
+
@gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id)
|
|
301
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
|
302
|
+
@key_ring_name = args[:key_ring_name] if args.key?(:key_ring_name)
|
|
303
|
+
@key_version_name = args[:key_version_name] if args.key?(:key_version_name)
|
|
304
|
+
@location_name = args[:location_name] if args.key?(:location_name)
|
|
305
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
#
|
|
310
|
+
class EnterpriseCrmEventbusProtoConnectorsConnection
|
|
311
|
+
include Google::Apis::Core::Hashable
|
|
312
|
+
|
|
313
|
+
# Connection name Format: projects/`project`/locations/`location`/connections/`
|
|
314
|
+
# connection`
|
|
315
|
+
# Corresponds to the JSON property `connectionName`
|
|
316
|
+
# @return [String]
|
|
317
|
+
attr_accessor :connection_name
|
|
318
|
+
|
|
319
|
+
# Connector version Format: projects/`project`/locations/`location`/providers/`
|
|
320
|
+
# provider`/connectors/`connector`/versions/`version`
|
|
321
|
+
# Corresponds to the JSON property `connectorVersion`
|
|
322
|
+
# @return [String]
|
|
323
|
+
attr_accessor :connector_version
|
|
324
|
+
|
|
325
|
+
# The name of the Hostname of the Service Directory service with TLS if used.
|
|
326
|
+
# Corresponds to the JSON property `host`
|
|
327
|
+
# @return [String]
|
|
328
|
+
attr_accessor :host
|
|
329
|
+
|
|
330
|
+
# Service name Format: projects/`project`/locations/`location`/namespaces/`
|
|
331
|
+
# namespace`/services/`service`
|
|
332
|
+
# Corresponds to the JSON property `serviceName`
|
|
333
|
+
# @return [String]
|
|
334
|
+
attr_accessor :service_name
|
|
335
|
+
|
|
336
|
+
def initialize(**args)
|
|
337
|
+
update!(**args)
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Update properties of this object
|
|
341
|
+
def update!(**args)
|
|
342
|
+
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
|
343
|
+
@connector_version = args[:connector_version] if args.key?(:connector_version)
|
|
344
|
+
@host = args[:host] if args.key?(:host)
|
|
345
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
|
346
|
+
end
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
#
|
|
350
|
+
class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig
|
|
351
|
+
include Google::Apis::Core::Hashable
|
|
352
|
+
|
|
353
|
+
# User-selected connection.
|
|
354
|
+
# Corresponds to the JSON property `connection`
|
|
355
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoConnectorsConnection]
|
|
356
|
+
attr_accessor :connection
|
|
357
|
+
|
|
358
|
+
# Operation to perform using the configured connection.
|
|
359
|
+
# Corresponds to the JSON property `operation`
|
|
360
|
+
# @return [String]
|
|
361
|
+
attr_accessor :operation
|
|
362
|
+
|
|
363
|
+
def initialize(**args)
|
|
364
|
+
update!(**args)
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
# Update properties of this object
|
|
368
|
+
def update!(**args)
|
|
369
|
+
@connection = args[:connection] if args.key?(:connection)
|
|
370
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
#
|
|
375
|
+
class EnterpriseCrmEventbusProtoCustomSuspensionRequest
|
|
376
|
+
include Google::Apis::Core::Hashable
|
|
377
|
+
|
|
378
|
+
# LINT.IfChange Use this request to post all workflows associated with a given
|
|
379
|
+
# trigger id. Next available id: 13
|
|
380
|
+
# Corresponds to the JSON property `postToQueueWithTriggerIdRequest`
|
|
381
|
+
# @return [Google::Apis::IntegrationsV2::GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest]
|
|
382
|
+
attr_accessor :post_to_queue_with_trigger_id_request
|
|
383
|
+
|
|
384
|
+
# In the fired event, set the SuspensionInfo message as the value for this key.
|
|
385
|
+
# Corresponds to the JSON property `suspensionInfoEventParameterKey`
|
|
386
|
+
# @return [String]
|
|
387
|
+
attr_accessor :suspension_info_event_parameter_key
|
|
388
|
+
|
|
389
|
+
def initialize(**args)
|
|
390
|
+
update!(**args)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Update properties of this object
|
|
394
|
+
def update!(**args)
|
|
395
|
+
@post_to_queue_with_trigger_id_request = args[:post_to_queue_with_trigger_id_request] if args.key?(:post_to_queue_with_trigger_id_request)
|
|
396
|
+
@suspension_info_event_parameter_key = args[:suspension_info_event_parameter_key] if args.key?(:suspension_info_event_parameter_key)
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
#
|
|
401
|
+
class EnterpriseCrmEventbusProtoDoubleArrayFunction
|
|
402
|
+
include Google::Apis::Core::Hashable
|
|
403
|
+
|
|
404
|
+
#
|
|
405
|
+
# Corresponds to the JSON property `functionName`
|
|
406
|
+
# @return [String]
|
|
407
|
+
attr_accessor :function_name
|
|
408
|
+
|
|
409
|
+
def initialize(**args)
|
|
410
|
+
update!(**args)
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# Update properties of this object
|
|
414
|
+
def update!(**args)
|
|
415
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
#
|
|
420
|
+
class EnterpriseCrmEventbusProtoDoubleFunction
|
|
421
|
+
include Google::Apis::Core::Hashable
|
|
422
|
+
|
|
423
|
+
#
|
|
424
|
+
# Corresponds to the JSON property `functionName`
|
|
425
|
+
# @return [String]
|
|
426
|
+
attr_accessor :function_name
|
|
427
|
+
|
|
428
|
+
def initialize(**args)
|
|
429
|
+
update!(**args)
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# Update properties of this object
|
|
433
|
+
def update!(**args)
|
|
434
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
435
|
+
end
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
#
|
|
439
|
+
class EnterpriseCrmEventbusProtoDoubleParameterArray
|
|
440
|
+
include Google::Apis::Core::Hashable
|
|
441
|
+
|
|
442
|
+
#
|
|
443
|
+
# Corresponds to the JSON property `doubleValues`
|
|
444
|
+
# @return [Array<Float>]
|
|
445
|
+
attr_accessor :double_values
|
|
446
|
+
|
|
447
|
+
def initialize(**args)
|
|
448
|
+
update!(**args)
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
# Update properties of this object
|
|
452
|
+
def update!(**args)
|
|
453
|
+
@double_values = args[:double_values] if args.key?(:double_values)
|
|
454
|
+
end
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
# LINT.IfChange This message is used for processing and persisting (when
|
|
458
|
+
# applicable) key value pair parameters for each event in the event bus. Please
|
|
459
|
+
# see
|
|
460
|
+
class EnterpriseCrmEventbusProtoEventParameters
|
|
461
|
+
include Google::Apis::Core::Hashable
|
|
462
|
+
|
|
463
|
+
# Parameters are a part of Event and can be used to communicate between
|
|
464
|
+
# different tasks that are part of the same integration execution.
|
|
465
|
+
# Corresponds to the JSON property `parameters`
|
|
466
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterEntry>]
|
|
467
|
+
attr_accessor :parameters
|
|
468
|
+
|
|
469
|
+
def initialize(**args)
|
|
470
|
+
update!(**args)
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# Update properties of this object
|
|
474
|
+
def update!(**args)
|
|
475
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
476
|
+
end
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
# Message that helps aggregate all sub-executions triggered by one execution and
|
|
480
|
+
# keeps track of child-parent relationships.
|
|
481
|
+
class EnterpriseCrmEventbusProtoExecutionTraceInfo
|
|
482
|
+
include Google::Apis::Core::Hashable
|
|
483
|
+
|
|
484
|
+
# Parent event execution info id that triggers the current execution through
|
|
485
|
+
# SubWorkflowExecutorTask.
|
|
486
|
+
# Corresponds to the JSON property `parentEventExecutionInfoId`
|
|
487
|
+
# @return [String]
|
|
488
|
+
attr_accessor :parent_event_execution_info_id
|
|
489
|
+
|
|
490
|
+
# Used to aggregate ExecutionTraceInfo.
|
|
491
|
+
# Corresponds to the JSON property `traceId`
|
|
492
|
+
# @return [String]
|
|
493
|
+
attr_accessor :trace_id
|
|
494
|
+
|
|
495
|
+
def initialize(**args)
|
|
496
|
+
update!(**args)
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
# Update properties of this object
|
|
500
|
+
def update!(**args)
|
|
501
|
+
@parent_event_execution_info_id = args[:parent_event_execution_info_id] if args.key?(:parent_event_execution_info_id)
|
|
502
|
+
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
|
503
|
+
end
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Represents external traffic type and id.
|
|
507
|
+
class EnterpriseCrmEventbusProtoExternalTraffic
|
|
508
|
+
include Google::Apis::Core::Hashable
|
|
509
|
+
|
|
510
|
+
# Indicates the client enables internal IP feature, this is applicable for
|
|
511
|
+
# internal clients only.
|
|
512
|
+
# Corresponds to the JSON property `enableInternalIp`
|
|
513
|
+
# @return [Boolean]
|
|
514
|
+
attr_accessor :enable_internal_ip
|
|
515
|
+
alias_method :enable_internal_ip?, :enable_internal_ip
|
|
516
|
+
|
|
517
|
+
# User’s GCP project id the traffic is referring to.
|
|
518
|
+
# Corresponds to the JSON property `gcpProjectId`
|
|
519
|
+
# @return [String]
|
|
520
|
+
attr_accessor :gcp_project_id
|
|
521
|
+
|
|
522
|
+
# User’s GCP project number the traffic is referring to.
|
|
523
|
+
# Corresponds to the JSON property `gcpProjectNumber`
|
|
524
|
+
# @return [String]
|
|
525
|
+
attr_accessor :gcp_project_number
|
|
526
|
+
|
|
527
|
+
# Location for the user's request.
|
|
528
|
+
# Corresponds to the JSON property `location`
|
|
529
|
+
# @return [String]
|
|
530
|
+
attr_accessor :location
|
|
531
|
+
|
|
532
|
+
# Enqueue the execution request due to quota issue
|
|
533
|
+
# Corresponds to the JSON property `retryRequestForQuota`
|
|
534
|
+
# @return [Boolean]
|
|
535
|
+
attr_accessor :retry_request_for_quota
|
|
536
|
+
alias_method :retry_request_for_quota?, :retry_request_for_quota
|
|
537
|
+
|
|
538
|
+
#
|
|
539
|
+
# Corresponds to the JSON property `source`
|
|
540
|
+
# @return [String]
|
|
541
|
+
attr_accessor :source
|
|
542
|
+
|
|
543
|
+
def initialize(**args)
|
|
544
|
+
update!(**args)
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# Update properties of this object
|
|
548
|
+
def update!(**args)
|
|
549
|
+
@enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
|
|
550
|
+
@gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id)
|
|
551
|
+
@gcp_project_number = args[:gcp_project_number] if args.key?(:gcp_project_number)
|
|
552
|
+
@location = args[:location] if args.key?(:location)
|
|
553
|
+
@retry_request_for_quota = args[:retry_request_for_quota] if args.key?(:retry_request_for_quota)
|
|
554
|
+
@source = args[:source] if args.key?(:source)
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# Information about the value and type of the field.
|
|
559
|
+
class EnterpriseCrmEventbusProtoField
|
|
560
|
+
include Google::Apis::Core::Hashable
|
|
561
|
+
|
|
562
|
+
# By default, if the cardinality is unspecified the field is considered required
|
|
563
|
+
# while mapping.
|
|
564
|
+
# Corresponds to the JSON property `cardinality`
|
|
565
|
+
# @return [String]
|
|
566
|
+
attr_accessor :cardinality
|
|
567
|
+
|
|
568
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
569
|
+
# 14
|
|
570
|
+
# Corresponds to the JSON property `defaultValue`
|
|
571
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterValueType]
|
|
572
|
+
attr_accessor :default_value
|
|
573
|
+
|
|
574
|
+
# Specifies the data type of the field.
|
|
575
|
+
# Corresponds to the JSON property `fieldType`
|
|
576
|
+
# @return [String]
|
|
577
|
+
attr_accessor :field_type
|
|
578
|
+
|
|
579
|
+
# Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account).
|
|
580
|
+
# Required for output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if
|
|
581
|
+
# input field_type is BYTES and output field_type is PROTO_VALUE, then fully
|
|
582
|
+
# qualified proto type url should be provided to parse the input bytes. If
|
|
583
|
+
# field_type is *_ARRAY, then all the converted protos are of the same type.
|
|
584
|
+
# Corresponds to the JSON property `protoDefPath`
|
|
585
|
+
# @return [String]
|
|
586
|
+
attr_accessor :proto_def_path
|
|
587
|
+
|
|
588
|
+
# This holds the reference key of the workflow or task parameter. 1. Any
|
|
589
|
+
# workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output
|
|
590
|
+
# parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with
|
|
591
|
+
# subfield references, for e.g., $task1_param1.employee.id$
|
|
592
|
+
# Corresponds to the JSON property `referenceKey`
|
|
593
|
+
# @return [String]
|
|
594
|
+
attr_accessor :reference_key
|
|
595
|
+
|
|
596
|
+
# This is the transform expression to fetch the input field value. for e.g. $
|
|
597
|
+
# param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform
|
|
598
|
+
# expression. 2. If a transform expression is provided, reference_key will be
|
|
599
|
+
# ignored. 3. If no value is returned after evaluation of transform expression,
|
|
600
|
+
# default_value can be mapped if provided. 4. The field_type should be the type
|
|
601
|
+
# of the final object returned after the transform expression is evaluated.
|
|
602
|
+
# Scrubs the transform expression before logging as value provided by user so
|
|
603
|
+
# may or may not contain PII or SPII data.
|
|
604
|
+
# Corresponds to the JSON property `transformExpression`
|
|
605
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoTransformExpression]
|
|
606
|
+
attr_accessor :transform_expression
|
|
607
|
+
|
|
608
|
+
def initialize(**args)
|
|
609
|
+
update!(**args)
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# Update properties of this object
|
|
613
|
+
def update!(**args)
|
|
614
|
+
@cardinality = args[:cardinality] if args.key?(:cardinality)
|
|
615
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
|
616
|
+
@field_type = args[:field_type] if args.key?(:field_type)
|
|
617
|
+
@proto_def_path = args[:proto_def_path] if args.key?(:proto_def_path)
|
|
618
|
+
@reference_key = args[:reference_key] if args.key?(:reference_key)
|
|
619
|
+
@transform_expression = args[:transform_expression] if args.key?(:transform_expression)
|
|
620
|
+
end
|
|
621
|
+
end
|
|
622
|
+
|
|
623
|
+
# Field Mapping Config to map multiple output fields values from input fields
|
|
624
|
+
# values.
|
|
625
|
+
class EnterpriseCrmEventbusProtoFieldMappingConfig
|
|
626
|
+
include Google::Apis::Core::Hashable
|
|
627
|
+
|
|
628
|
+
#
|
|
629
|
+
# Corresponds to the JSON property `mappedFields`
|
|
630
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoMappedField>]
|
|
631
|
+
attr_accessor :mapped_fields
|
|
632
|
+
|
|
633
|
+
def initialize(**args)
|
|
634
|
+
update!(**args)
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
# Update properties of this object
|
|
638
|
+
def update!(**args)
|
|
639
|
+
@mapped_fields = args[:mapped_fields] if args.key?(:mapped_fields)
|
|
640
|
+
end
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
#
|
|
644
|
+
class EnterpriseCrmEventbusProtoFunction
|
|
645
|
+
include Google::Apis::Core::Hashable
|
|
646
|
+
|
|
647
|
+
# The name of the function to perform.
|
|
648
|
+
# Corresponds to the JSON property `functionType`
|
|
649
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoFunctionType]
|
|
650
|
+
attr_accessor :function_type
|
|
651
|
+
|
|
652
|
+
# List of parameters required for the transformation.
|
|
653
|
+
# Corresponds to the JSON property `parameters`
|
|
654
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoTransformExpression>]
|
|
655
|
+
attr_accessor :parameters
|
|
656
|
+
|
|
657
|
+
def initialize(**args)
|
|
658
|
+
update!(**args)
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
# Update properties of this object
|
|
662
|
+
def update!(**args)
|
|
663
|
+
@function_type = args[:function_type] if args.key?(:function_type)
|
|
664
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
665
|
+
end
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
#
|
|
669
|
+
class EnterpriseCrmEventbusProtoFunctionType
|
|
670
|
+
include Google::Apis::Core::Hashable
|
|
671
|
+
|
|
672
|
+
# LINT.IfChange
|
|
673
|
+
# Corresponds to the JSON property `baseFunction`
|
|
674
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBaseFunction]
|
|
675
|
+
attr_accessor :base_function
|
|
676
|
+
|
|
677
|
+
#
|
|
678
|
+
# Corresponds to the JSON property `booleanArrayFunction`
|
|
679
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBooleanArrayFunction]
|
|
680
|
+
attr_accessor :boolean_array_function
|
|
681
|
+
|
|
682
|
+
#
|
|
683
|
+
# Corresponds to the JSON property `booleanFunction`
|
|
684
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBooleanFunction]
|
|
685
|
+
attr_accessor :boolean_function
|
|
686
|
+
|
|
687
|
+
#
|
|
688
|
+
# Corresponds to the JSON property `doubleArrayFunction`
|
|
689
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoDoubleArrayFunction]
|
|
690
|
+
attr_accessor :double_array_function
|
|
691
|
+
|
|
692
|
+
#
|
|
693
|
+
# Corresponds to the JSON property `doubleFunction`
|
|
694
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoDoubleFunction]
|
|
695
|
+
attr_accessor :double_function
|
|
696
|
+
|
|
697
|
+
#
|
|
698
|
+
# Corresponds to the JSON property `intArrayFunction`
|
|
699
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoIntArrayFunction]
|
|
700
|
+
attr_accessor :int_array_function
|
|
701
|
+
|
|
702
|
+
#
|
|
703
|
+
# Corresponds to the JSON property `intFunction`
|
|
704
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoIntFunction]
|
|
705
|
+
attr_accessor :int_function
|
|
706
|
+
|
|
707
|
+
#
|
|
708
|
+
# Corresponds to the JSON property `jsonFunction`
|
|
709
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoJsonFunction]
|
|
710
|
+
attr_accessor :json_function
|
|
711
|
+
|
|
712
|
+
#
|
|
713
|
+
# Corresponds to the JSON property `protoArrayFunction`
|
|
714
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoProtoArrayFunction]
|
|
715
|
+
attr_accessor :proto_array_function
|
|
716
|
+
|
|
717
|
+
#
|
|
718
|
+
# Corresponds to the JSON property `protoFunction`
|
|
719
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoProtoFunction]
|
|
720
|
+
attr_accessor :proto_function
|
|
721
|
+
|
|
722
|
+
#
|
|
723
|
+
# Corresponds to the JSON property `stringArrayFunction`
|
|
724
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoStringArrayFunction]
|
|
725
|
+
attr_accessor :string_array_function
|
|
726
|
+
|
|
727
|
+
#
|
|
728
|
+
# Corresponds to the JSON property `stringFunction`
|
|
729
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoStringFunction]
|
|
730
|
+
attr_accessor :string_function
|
|
731
|
+
|
|
732
|
+
def initialize(**args)
|
|
733
|
+
update!(**args)
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# Update properties of this object
|
|
737
|
+
def update!(**args)
|
|
738
|
+
@base_function = args[:base_function] if args.key?(:base_function)
|
|
739
|
+
@boolean_array_function = args[:boolean_array_function] if args.key?(:boolean_array_function)
|
|
740
|
+
@boolean_function = args[:boolean_function] if args.key?(:boolean_function)
|
|
741
|
+
@double_array_function = args[:double_array_function] if args.key?(:double_array_function)
|
|
742
|
+
@double_function = args[:double_function] if args.key?(:double_function)
|
|
743
|
+
@int_array_function = args[:int_array_function] if args.key?(:int_array_function)
|
|
744
|
+
@int_function = args[:int_function] if args.key?(:int_function)
|
|
745
|
+
@json_function = args[:json_function] if args.key?(:json_function)
|
|
746
|
+
@proto_array_function = args[:proto_array_function] if args.key?(:proto_array_function)
|
|
747
|
+
@proto_function = args[:proto_function] if args.key?(:proto_function)
|
|
748
|
+
@string_array_function = args[:string_array_function] if args.key?(:string_array_function)
|
|
749
|
+
@string_function = args[:string_function] if args.key?(:string_function)
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
#
|
|
754
|
+
class EnterpriseCrmEventbusProtoIntArrayFunction
|
|
755
|
+
include Google::Apis::Core::Hashable
|
|
756
|
+
|
|
757
|
+
#
|
|
758
|
+
# Corresponds to the JSON property `functionName`
|
|
759
|
+
# @return [String]
|
|
760
|
+
attr_accessor :function_name
|
|
761
|
+
|
|
762
|
+
def initialize(**args)
|
|
763
|
+
update!(**args)
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# Update properties of this object
|
|
767
|
+
def update!(**args)
|
|
768
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
769
|
+
end
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
#
|
|
773
|
+
class EnterpriseCrmEventbusProtoIntFunction
|
|
774
|
+
include Google::Apis::Core::Hashable
|
|
775
|
+
|
|
776
|
+
#
|
|
777
|
+
# Corresponds to the JSON property `functionName`
|
|
778
|
+
# @return [String]
|
|
779
|
+
attr_accessor :function_name
|
|
780
|
+
|
|
781
|
+
def initialize(**args)
|
|
782
|
+
update!(**args)
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
# Update properties of this object
|
|
786
|
+
def update!(**args)
|
|
787
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
788
|
+
end
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
#
|
|
792
|
+
class EnterpriseCrmEventbusProtoIntParameterArray
|
|
793
|
+
include Google::Apis::Core::Hashable
|
|
794
|
+
|
|
795
|
+
#
|
|
796
|
+
# Corresponds to the JSON property `intValues`
|
|
797
|
+
# @return [Array<Fixnum>]
|
|
798
|
+
attr_accessor :int_values
|
|
799
|
+
|
|
800
|
+
def initialize(**args)
|
|
801
|
+
update!(**args)
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# Update properties of this object
|
|
805
|
+
def update!(**args)
|
|
806
|
+
@int_values = args[:int_values] if args.key?(:int_values)
|
|
807
|
+
end
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
#
|
|
811
|
+
class EnterpriseCrmEventbusProtoJsonFunction
|
|
812
|
+
include Google::Apis::Core::Hashable
|
|
813
|
+
|
|
814
|
+
#
|
|
815
|
+
# Corresponds to the JSON property `functionName`
|
|
816
|
+
# @return [String]
|
|
817
|
+
attr_accessor :function_name
|
|
818
|
+
|
|
819
|
+
def initialize(**args)
|
|
820
|
+
update!(**args)
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
# Update properties of this object
|
|
824
|
+
def update!(**args)
|
|
825
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
826
|
+
end
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
#
|
|
830
|
+
class EnterpriseCrmEventbusProtoLoopMetadata
|
|
831
|
+
include Google::Apis::Core::Hashable
|
|
832
|
+
|
|
833
|
+
# Starting from 1, not 0.
|
|
834
|
+
# Corresponds to the JSON property `currentIterationCount`
|
|
835
|
+
# @return [Fixnum]
|
|
836
|
+
attr_accessor :current_iteration_count
|
|
837
|
+
|
|
838
|
+
# Needs to be set by the loop impl class before each iteration. The abstract
|
|
839
|
+
# loop class will append the request and response to it. Eg. The foreach Loop
|
|
840
|
+
# will clean up and set it as the current iteration element at the start of each
|
|
841
|
+
# loop. The post request and response will be appended to the value once they
|
|
842
|
+
# are available.
|
|
843
|
+
# Corresponds to the JSON property `currentIterationDetail`
|
|
844
|
+
# @return [String]
|
|
845
|
+
attr_accessor :current_iteration_detail
|
|
846
|
+
|
|
847
|
+
# Add the error message when loops fail.
|
|
848
|
+
# Corresponds to the JSON property `errorMsg`
|
|
849
|
+
# @return [String]
|
|
850
|
+
attr_accessor :error_msg
|
|
851
|
+
|
|
852
|
+
# Indicates where in the loop logic did it error out.
|
|
853
|
+
# Corresponds to the JSON property `failureLocation`
|
|
854
|
+
# @return [String]
|
|
855
|
+
attr_accessor :failure_location
|
|
856
|
+
|
|
857
|
+
def initialize(**args)
|
|
858
|
+
update!(**args)
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
# Update properties of this object
|
|
862
|
+
def update!(**args)
|
|
863
|
+
@current_iteration_count = args[:current_iteration_count] if args.key?(:current_iteration_count)
|
|
864
|
+
@current_iteration_detail = args[:current_iteration_detail] if args.key?(:current_iteration_detail)
|
|
865
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
|
866
|
+
@failure_location = args[:failure_location] if args.key?(:failure_location)
|
|
867
|
+
end
|
|
868
|
+
end
|
|
869
|
+
|
|
870
|
+
# Mapped field is a pair of input field and output field.
|
|
871
|
+
class EnterpriseCrmEventbusProtoMappedField
|
|
872
|
+
include Google::Apis::Core::Hashable
|
|
873
|
+
|
|
874
|
+
# Information about the value and type of the field.
|
|
875
|
+
# Corresponds to the JSON property `inputField`
|
|
876
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoField]
|
|
877
|
+
attr_accessor :input_field
|
|
878
|
+
|
|
879
|
+
# Information about the value and type of the field.
|
|
880
|
+
# Corresponds to the JSON property `outputField`
|
|
881
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoField]
|
|
882
|
+
attr_accessor :output_field
|
|
883
|
+
|
|
884
|
+
def initialize(**args)
|
|
885
|
+
update!(**args)
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
# Update properties of this object
|
|
889
|
+
def update!(**args)
|
|
890
|
+
@input_field = args[:input_field] if args.key?(:input_field)
|
|
891
|
+
@output_field = args[:output_field] if args.key?(:output_field)
|
|
892
|
+
end
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
#
|
|
896
|
+
class EnterpriseCrmEventbusProtoNotification
|
|
897
|
+
include Google::Apis::Core::Hashable
|
|
898
|
+
|
|
899
|
+
#
|
|
900
|
+
# Corresponds to the JSON property `buganizerNotification`
|
|
901
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBuganizerNotification]
|
|
902
|
+
attr_accessor :buganizer_notification
|
|
903
|
+
|
|
904
|
+
# Email address along with optional name and tokens. These tokens will be
|
|
905
|
+
# substituted for the variables in the form of [`var_name`], where var_name
|
|
906
|
+
# could be any string of no more than 32 bytes.
|
|
907
|
+
# Corresponds to the JSON property `emailAddress`
|
|
908
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoAddress]
|
|
909
|
+
attr_accessor :email_address
|
|
910
|
+
|
|
911
|
+
#
|
|
912
|
+
# Corresponds to the JSON property `escalatorQueue`
|
|
913
|
+
# @return [String]
|
|
914
|
+
attr_accessor :escalator_queue
|
|
915
|
+
|
|
916
|
+
#
|
|
917
|
+
# Corresponds to the JSON property `pubsubTopic`
|
|
918
|
+
# @return [String]
|
|
919
|
+
attr_accessor :pubsub_topic
|
|
920
|
+
|
|
921
|
+
# If the out-of-the-box email/pubsub notifications are not suitable and custom
|
|
922
|
+
# logic is required, fire a workflow containing all info needed to notify users
|
|
923
|
+
# to resume execution.
|
|
924
|
+
# Corresponds to the JSON property `request`
|
|
925
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoCustomSuspensionRequest]
|
|
926
|
+
attr_accessor :request
|
|
927
|
+
|
|
928
|
+
def initialize(**args)
|
|
929
|
+
update!(**args)
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
# Update properties of this object
|
|
933
|
+
def update!(**args)
|
|
934
|
+
@buganizer_notification = args[:buganizer_notification] if args.key?(:buganizer_notification)
|
|
935
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
936
|
+
@escalator_queue = args[:escalator_queue] if args.key?(:escalator_queue)
|
|
937
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
|
938
|
+
@request = args[:request] if args.key?(:request)
|
|
939
|
+
end
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
# Key-value pair of EventBus parameters.
|
|
943
|
+
class EnterpriseCrmEventbusProtoParameterEntry
|
|
944
|
+
include Google::Apis::Core::Hashable
|
|
945
|
+
|
|
946
|
+
# Key is used to retrieve the corresponding parameter value. This should be
|
|
947
|
+
# unique for a given fired event. These parameters must be predefined in the
|
|
948
|
+
# integration definition.
|
|
949
|
+
# Corresponds to the JSON property `key`
|
|
950
|
+
# @return [String]
|
|
951
|
+
attr_accessor :key
|
|
952
|
+
|
|
953
|
+
# True if this parameter should be masked in the logs
|
|
954
|
+
# Corresponds to the JSON property `masked`
|
|
955
|
+
# @return [Boolean]
|
|
956
|
+
attr_accessor :masked
|
|
957
|
+
alias_method :masked?, :masked
|
|
958
|
+
|
|
959
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
960
|
+
# 14
|
|
961
|
+
# Corresponds to the JSON property `value`
|
|
962
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterValueType]
|
|
963
|
+
attr_accessor :value
|
|
964
|
+
|
|
965
|
+
def initialize(**args)
|
|
966
|
+
update!(**args)
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
# Update properties of this object
|
|
970
|
+
def update!(**args)
|
|
971
|
+
@key = args[:key] if args.key?(:key)
|
|
972
|
+
@masked = args[:masked] if args.key?(:masked)
|
|
973
|
+
@value = args[:value] if args.key?(:value)
|
|
974
|
+
end
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# A generic multi-map that holds key value pairs. They keys and values can be of
|
|
978
|
+
# any type, unless specified.
|
|
979
|
+
class EnterpriseCrmEventbusProtoParameterMap
|
|
980
|
+
include Google::Apis::Core::Hashable
|
|
981
|
+
|
|
982
|
+
#
|
|
983
|
+
# Corresponds to the JSON property `entries`
|
|
984
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterMapEntry>]
|
|
985
|
+
attr_accessor :entries
|
|
986
|
+
|
|
987
|
+
# Option to specify key value type for all entries of the map. If provided then
|
|
988
|
+
# field types for all entries must conform to this.
|
|
989
|
+
# Corresponds to the JSON property `keyType`
|
|
990
|
+
# @return [String]
|
|
991
|
+
attr_accessor :key_type
|
|
992
|
+
|
|
993
|
+
#
|
|
994
|
+
# Corresponds to the JSON property `valueType`
|
|
995
|
+
# @return [String]
|
|
996
|
+
attr_accessor :value_type
|
|
997
|
+
|
|
998
|
+
def initialize(**args)
|
|
999
|
+
update!(**args)
|
|
1000
|
+
end
|
|
1001
|
+
|
|
1002
|
+
# Update properties of this object
|
|
1003
|
+
def update!(**args)
|
|
1004
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1005
|
+
@key_type = args[:key_type] if args.key?(:key_type)
|
|
1006
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
|
1007
|
+
end
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
# Entry is a pair of key and value.
|
|
1011
|
+
class EnterpriseCrmEventbusProtoParameterMapEntry
|
|
1012
|
+
include Google::Apis::Core::Hashable
|
|
1013
|
+
|
|
1014
|
+
# Field represents either the key or value in an entry.
|
|
1015
|
+
# Corresponds to the JSON property `key`
|
|
1016
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterMapField]
|
|
1017
|
+
attr_accessor :key
|
|
1018
|
+
|
|
1019
|
+
# Field represents either the key or value in an entry.
|
|
1020
|
+
# Corresponds to the JSON property `value`
|
|
1021
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterMapField]
|
|
1022
|
+
attr_accessor :value
|
|
1023
|
+
|
|
1024
|
+
def initialize(**args)
|
|
1025
|
+
update!(**args)
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# Update properties of this object
|
|
1029
|
+
def update!(**args)
|
|
1030
|
+
@key = args[:key] if args.key?(:key)
|
|
1031
|
+
@value = args[:value] if args.key?(:value)
|
|
1032
|
+
end
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# Field represents either the key or value in an entry.
|
|
1036
|
+
class EnterpriseCrmEventbusProtoParameterMapField
|
|
1037
|
+
include Google::Apis::Core::Hashable
|
|
1038
|
+
|
|
1039
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
1040
|
+
# 14
|
|
1041
|
+
# Corresponds to the JSON property `literalValue`
|
|
1042
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterValueType]
|
|
1043
|
+
attr_accessor :literal_value
|
|
1044
|
+
|
|
1045
|
+
# Referencing one of the WF variables.
|
|
1046
|
+
# Corresponds to the JSON property `referenceKey`
|
|
1047
|
+
# @return [String]
|
|
1048
|
+
attr_accessor :reference_key
|
|
1049
|
+
|
|
1050
|
+
def initialize(**args)
|
|
1051
|
+
update!(**args)
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
# Update properties of this object
|
|
1055
|
+
def update!(**args)
|
|
1056
|
+
@literal_value = args[:literal_value] if args.key?(:literal_value)
|
|
1057
|
+
@reference_key = args[:reference_key] if args.key?(:reference_key)
|
|
1058
|
+
end
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
1062
|
+
# 14
|
|
1063
|
+
class EnterpriseCrmEventbusProtoParameterValueType
|
|
1064
|
+
include Google::Apis::Core::Hashable
|
|
1065
|
+
|
|
1066
|
+
#
|
|
1067
|
+
# Corresponds to the JSON property `booleanArray`
|
|
1068
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBooleanParameterArray]
|
|
1069
|
+
attr_accessor :boolean_array
|
|
1070
|
+
|
|
1071
|
+
#
|
|
1072
|
+
# Corresponds to the JSON property `booleanValue`
|
|
1073
|
+
# @return [Boolean]
|
|
1074
|
+
attr_accessor :boolean_value
|
|
1075
|
+
alias_method :boolean_value?, :boolean_value
|
|
1076
|
+
|
|
1077
|
+
#
|
|
1078
|
+
# Corresponds to the JSON property `doubleArray`
|
|
1079
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoDoubleParameterArray]
|
|
1080
|
+
attr_accessor :double_array
|
|
1081
|
+
|
|
1082
|
+
#
|
|
1083
|
+
# Corresponds to the JSON property `doubleValue`
|
|
1084
|
+
# @return [Float]
|
|
1085
|
+
attr_accessor :double_value
|
|
1086
|
+
|
|
1087
|
+
#
|
|
1088
|
+
# Corresponds to the JSON property `intArray`
|
|
1089
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoIntParameterArray]
|
|
1090
|
+
attr_accessor :int_array
|
|
1091
|
+
|
|
1092
|
+
#
|
|
1093
|
+
# Corresponds to the JSON property `intValue`
|
|
1094
|
+
# @return [Fixnum]
|
|
1095
|
+
attr_accessor :int_value
|
|
1096
|
+
|
|
1097
|
+
#
|
|
1098
|
+
# Corresponds to the JSON property `protoArray`
|
|
1099
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoProtoParameterArray]
|
|
1100
|
+
attr_accessor :proto_array
|
|
1101
|
+
|
|
1102
|
+
#
|
|
1103
|
+
# Corresponds to the JSON property `protoValue`
|
|
1104
|
+
# @return [Hash<String,Object>]
|
|
1105
|
+
attr_accessor :proto_value
|
|
1106
|
+
|
|
1107
|
+
#
|
|
1108
|
+
# Corresponds to the JSON property `serializedObjectValue`
|
|
1109
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSerializedObjectParameter]
|
|
1110
|
+
attr_accessor :serialized_object_value
|
|
1111
|
+
|
|
1112
|
+
#
|
|
1113
|
+
# Corresponds to the JSON property `stringArray`
|
|
1114
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoStringParameterArray]
|
|
1115
|
+
attr_accessor :string_array
|
|
1116
|
+
|
|
1117
|
+
#
|
|
1118
|
+
# Corresponds to the JSON property `stringValue`
|
|
1119
|
+
# @return [String]
|
|
1120
|
+
attr_accessor :string_value
|
|
1121
|
+
|
|
1122
|
+
def initialize(**args)
|
|
1123
|
+
update!(**args)
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
# Update properties of this object
|
|
1127
|
+
def update!(**args)
|
|
1128
|
+
@boolean_array = args[:boolean_array] if args.key?(:boolean_array)
|
|
1129
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
|
1130
|
+
@double_array = args[:double_array] if args.key?(:double_array)
|
|
1131
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
1132
|
+
@int_array = args[:int_array] if args.key?(:int_array)
|
|
1133
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
|
1134
|
+
@proto_array = args[:proto_array] if args.key?(:proto_array)
|
|
1135
|
+
@proto_value = args[:proto_value] if args.key?(:proto_value)
|
|
1136
|
+
@serialized_object_value = args[:serialized_object_value] if args.key?(:serialized_object_value)
|
|
1137
|
+
@string_array = args[:string_array] if args.key?(:string_array)
|
|
1138
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
1139
|
+
end
|
|
1140
|
+
end
|
|
1141
|
+
|
|
1142
|
+
#
|
|
1143
|
+
class EnterpriseCrmEventbusProtoProtoArrayFunction
|
|
1144
|
+
include Google::Apis::Core::Hashable
|
|
1145
|
+
|
|
1146
|
+
#
|
|
1147
|
+
# Corresponds to the JSON property `functionName`
|
|
1148
|
+
# @return [String]
|
|
1149
|
+
attr_accessor :function_name
|
|
1150
|
+
|
|
1151
|
+
def initialize(**args)
|
|
1152
|
+
update!(**args)
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1155
|
+
# Update properties of this object
|
|
1156
|
+
def update!(**args)
|
|
1157
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
1158
|
+
end
|
|
1159
|
+
end
|
|
1160
|
+
|
|
1161
|
+
#
|
|
1162
|
+
class EnterpriseCrmEventbusProtoProtoFunction
|
|
1163
|
+
include Google::Apis::Core::Hashable
|
|
1164
|
+
|
|
1165
|
+
#
|
|
1166
|
+
# Corresponds to the JSON property `functionName`
|
|
1167
|
+
# @return [String]
|
|
1168
|
+
attr_accessor :function_name
|
|
1169
|
+
|
|
1170
|
+
def initialize(**args)
|
|
1171
|
+
update!(**args)
|
|
1172
|
+
end
|
|
1173
|
+
|
|
1174
|
+
# Update properties of this object
|
|
1175
|
+
def update!(**args)
|
|
1176
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
1177
|
+
end
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
#
|
|
1181
|
+
class EnterpriseCrmEventbusProtoProtoParameterArray
|
|
1182
|
+
include Google::Apis::Core::Hashable
|
|
1183
|
+
|
|
1184
|
+
#
|
|
1185
|
+
# Corresponds to the JSON property `protoValues`
|
|
1186
|
+
# @return [Array<Hash<String,Object>>]
|
|
1187
|
+
attr_accessor :proto_values
|
|
1188
|
+
|
|
1189
|
+
def initialize(**args)
|
|
1190
|
+
update!(**args)
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
# Update properties of this object
|
|
1194
|
+
def update!(**args)
|
|
1195
|
+
@proto_values = args[:proto_values] if args.key?(:proto_values)
|
|
1196
|
+
end
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
#
|
|
1200
|
+
class EnterpriseCrmEventbusProtoScatterResponse
|
|
1201
|
+
include Google::Apis::Core::Hashable
|
|
1202
|
+
|
|
1203
|
+
# The error message of the failure if applicable.
|
|
1204
|
+
# Corresponds to the JSON property `errorMsg`
|
|
1205
|
+
# @return [String]
|
|
1206
|
+
attr_accessor :error_msg
|
|
1207
|
+
|
|
1208
|
+
# The execution ids of each Subworkflow fired by this scatter.
|
|
1209
|
+
# Corresponds to the JSON property `executionIds`
|
|
1210
|
+
# @return [Array<String>]
|
|
1211
|
+
attr_accessor :execution_ids
|
|
1212
|
+
|
|
1213
|
+
# If execution is sync, this is true if the execution passed and false if it
|
|
1214
|
+
# failed. If the execution is async, this is true if the WF was fired off
|
|
1215
|
+
# successfully, and false if it failed to execute. The success or failure of the
|
|
1216
|
+
# subworkflows executed are not captured.
|
|
1217
|
+
# Corresponds to the JSON property `isSuccessful`
|
|
1218
|
+
# @return [Boolean]
|
|
1219
|
+
attr_accessor :is_successful
|
|
1220
|
+
alias_method :is_successful?, :is_successful
|
|
1221
|
+
|
|
1222
|
+
# A list of all the response parameters in the aggregtorMap stored with the
|
|
1223
|
+
# remapped key.
|
|
1224
|
+
# Corresponds to the JSON property `responseParams`
|
|
1225
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterEntry>]
|
|
1226
|
+
attr_accessor :response_params
|
|
1227
|
+
|
|
1228
|
+
# LINT.IfChange To support various types of parameter values. Next available id:
|
|
1229
|
+
# 14
|
|
1230
|
+
# Corresponds to the JSON property `scatterElement`
|
|
1231
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoParameterValueType]
|
|
1232
|
+
attr_accessor :scatter_element
|
|
1233
|
+
|
|
1234
|
+
def initialize(**args)
|
|
1235
|
+
update!(**args)
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
# Update properties of this object
|
|
1239
|
+
def update!(**args)
|
|
1240
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
|
1241
|
+
@execution_ids = args[:execution_ids] if args.key?(:execution_ids)
|
|
1242
|
+
@is_successful = args[:is_successful] if args.key?(:is_successful)
|
|
1243
|
+
@response_params = args[:response_params] if args.key?(:response_params)
|
|
1244
|
+
@scatter_element = args[:scatter_element] if args.key?(:scatter_element)
|
|
1245
|
+
end
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1248
|
+
#
|
|
1249
|
+
class EnterpriseCrmEventbusProtoSerializedObjectParameter
|
|
1250
|
+
include Google::Apis::Core::Hashable
|
|
1251
|
+
|
|
1252
|
+
#
|
|
1253
|
+
# Corresponds to the JSON property `objectValue`
|
|
1254
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1255
|
+
# @return [String]
|
|
1256
|
+
attr_accessor :object_value
|
|
1257
|
+
|
|
1258
|
+
def initialize(**args)
|
|
1259
|
+
update!(**args)
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
# Update properties of this object
|
|
1263
|
+
def update!(**args)
|
|
1264
|
+
@object_value = args[:object_value] if args.key?(:object_value)
|
|
1265
|
+
end
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1268
|
+
#
|
|
1269
|
+
class EnterpriseCrmEventbusProtoStringArrayFunction
|
|
1270
|
+
include Google::Apis::Core::Hashable
|
|
1271
|
+
|
|
1272
|
+
#
|
|
1273
|
+
# Corresponds to the JSON property `functionName`
|
|
1274
|
+
# @return [String]
|
|
1275
|
+
attr_accessor :function_name
|
|
1276
|
+
|
|
1277
|
+
def initialize(**args)
|
|
1278
|
+
update!(**args)
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1281
|
+
# Update properties of this object
|
|
1282
|
+
def update!(**args)
|
|
1283
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
1284
|
+
end
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
#
|
|
1288
|
+
class EnterpriseCrmEventbusProtoStringFunction
|
|
1289
|
+
include Google::Apis::Core::Hashable
|
|
1290
|
+
|
|
1291
|
+
#
|
|
1292
|
+
# Corresponds to the JSON property `functionName`
|
|
1293
|
+
# @return [String]
|
|
1294
|
+
attr_accessor :function_name
|
|
1295
|
+
|
|
1296
|
+
def initialize(**args)
|
|
1297
|
+
update!(**args)
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
# Update properties of this object
|
|
1301
|
+
def update!(**args)
|
|
1302
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
1303
|
+
end
|
|
1304
|
+
end
|
|
1305
|
+
|
|
1306
|
+
#
|
|
1307
|
+
class EnterpriseCrmEventbusProtoStringParameterArray
|
|
1308
|
+
include Google::Apis::Core::Hashable
|
|
1309
|
+
|
|
1310
|
+
#
|
|
1311
|
+
# Corresponds to the JSON property `stringValues`
|
|
1312
|
+
# @return [Array<String>]
|
|
1313
|
+
attr_accessor :string_values
|
|
1314
|
+
|
|
1315
|
+
def initialize(**args)
|
|
1316
|
+
update!(**args)
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1319
|
+
# Update properties of this object
|
|
1320
|
+
def update!(**args)
|
|
1321
|
+
@string_values = args[:string_values] if args.key?(:string_values)
|
|
1322
|
+
end
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
# LINT.IfChange
|
|
1326
|
+
class EnterpriseCrmEventbusProtoSuspensionAuthPermissions
|
|
1327
|
+
include Google::Apis::Core::Hashable
|
|
1328
|
+
|
|
1329
|
+
# Represents a Gaia identity for a person or service account.
|
|
1330
|
+
# Corresponds to the JSON property `gaiaIdentity`
|
|
1331
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity]
|
|
1332
|
+
attr_accessor :gaia_identity
|
|
1333
|
+
|
|
1334
|
+
#
|
|
1335
|
+
# Corresponds to the JSON property `googleGroup`
|
|
1336
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity]
|
|
1337
|
+
attr_accessor :google_group
|
|
1338
|
+
|
|
1339
|
+
#
|
|
1340
|
+
# Corresponds to the JSON property `loasRole`
|
|
1341
|
+
# @return [String]
|
|
1342
|
+
attr_accessor :loas_role
|
|
1343
|
+
|
|
1344
|
+
#
|
|
1345
|
+
# Corresponds to the JSON property `mdbGroup`
|
|
1346
|
+
# @return [String]
|
|
1347
|
+
attr_accessor :mdb_group
|
|
1348
|
+
|
|
1349
|
+
def initialize(**args)
|
|
1350
|
+
update!(**args)
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1353
|
+
# Update properties of this object
|
|
1354
|
+
def update!(**args)
|
|
1355
|
+
@gaia_identity = args[:gaia_identity] if args.key?(:gaia_identity)
|
|
1356
|
+
@google_group = args[:google_group] if args.key?(:google_group)
|
|
1357
|
+
@loas_role = args[:loas_role] if args.key?(:loas_role)
|
|
1358
|
+
@mdb_group = args[:mdb_group] if args.key?(:mdb_group)
|
|
1359
|
+
end
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1362
|
+
#
|
|
1363
|
+
class EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity
|
|
1364
|
+
include Google::Apis::Core::Hashable
|
|
1365
|
+
|
|
1366
|
+
#
|
|
1367
|
+
# Corresponds to the JSON property `emailAddress`
|
|
1368
|
+
# @return [String]
|
|
1369
|
+
attr_accessor :email_address
|
|
1370
|
+
|
|
1371
|
+
#
|
|
1372
|
+
# Corresponds to the JSON property `gaiaId`
|
|
1373
|
+
# @return [Fixnum]
|
|
1374
|
+
attr_accessor :gaia_id
|
|
1375
|
+
|
|
1376
|
+
def initialize(**args)
|
|
1377
|
+
update!(**args)
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# Update properties of this object
|
|
1381
|
+
def update!(**args)
|
|
1382
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
1383
|
+
@gaia_id = args[:gaia_id] if args.key?(:gaia_id)
|
|
1384
|
+
end
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
#
|
|
1388
|
+
class EnterpriseCrmEventbusProtoSuspensionConfig
|
|
1389
|
+
include Google::Apis::Core::Hashable
|
|
1390
|
+
|
|
1391
|
+
# Optional information to provide recipients of the suspension in addition to
|
|
1392
|
+
# the resolution URL, typically containing relevant parameter values from the
|
|
1393
|
+
# originating workflow.
|
|
1394
|
+
# Corresponds to the JSON property `customMessage`
|
|
1395
|
+
# @return [String]
|
|
1396
|
+
attr_accessor :custom_message
|
|
1397
|
+
|
|
1398
|
+
#
|
|
1399
|
+
# Corresponds to the JSON property `notifications`
|
|
1400
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoNotification>]
|
|
1401
|
+
attr_accessor :notifications
|
|
1402
|
+
|
|
1403
|
+
# Indicates the next steps when no external actions happen on the suspension.
|
|
1404
|
+
# Corresponds to the JSON property `suspensionExpiration`
|
|
1405
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionExpiration]
|
|
1406
|
+
attr_accessor :suspension_expiration
|
|
1407
|
+
|
|
1408
|
+
# Identities able to resolve this suspension.
|
|
1409
|
+
# Corresponds to the JSON property `whoMayResolve`
|
|
1410
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionAuthPermissions>]
|
|
1411
|
+
attr_accessor :who_may_resolve
|
|
1412
|
+
|
|
1413
|
+
def initialize(**args)
|
|
1414
|
+
update!(**args)
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
# Update properties of this object
|
|
1418
|
+
def update!(**args)
|
|
1419
|
+
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
|
1420
|
+
@notifications = args[:notifications] if args.key?(:notifications)
|
|
1421
|
+
@suspension_expiration = args[:suspension_expiration] if args.key?(:suspension_expiration)
|
|
1422
|
+
@who_may_resolve = args[:who_may_resolve] if args.key?(:who_may_resolve)
|
|
1423
|
+
end
|
|
1424
|
+
end
|
|
1425
|
+
|
|
1426
|
+
#
|
|
1427
|
+
class EnterpriseCrmEventbusProtoSuspensionExpiration
|
|
1428
|
+
include Google::Apis::Core::Hashable
|
|
1429
|
+
|
|
1430
|
+
# Milliseconds after which the suspension expires, if no action taken.
|
|
1431
|
+
# Corresponds to the JSON property `expireAfterMs`
|
|
1432
|
+
# @return [Fixnum]
|
|
1433
|
+
attr_accessor :expire_after_ms
|
|
1434
|
+
|
|
1435
|
+
# Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is
|
|
1436
|
+
# the default behavior.
|
|
1437
|
+
# Corresponds to the JSON property `liftWhenExpired`
|
|
1438
|
+
# @return [Boolean]
|
|
1439
|
+
attr_accessor :lift_when_expired
|
|
1440
|
+
alias_method :lift_when_expired?, :lift_when_expired
|
|
1441
|
+
|
|
1442
|
+
# Milliseconds after which the previous suspension action reminder, if any, is
|
|
1443
|
+
# sent using the selected notification option, for a suspension which is still
|
|
1444
|
+
# PENDING_UNSPECIFIED.
|
|
1445
|
+
# Corresponds to the JSON property `remindAfterMs`
|
|
1446
|
+
# @return [Fixnum]
|
|
1447
|
+
attr_accessor :remind_after_ms
|
|
1448
|
+
|
|
1449
|
+
def initialize(**args)
|
|
1450
|
+
update!(**args)
|
|
1451
|
+
end
|
|
1452
|
+
|
|
1453
|
+
# Update properties of this object
|
|
1454
|
+
def update!(**args)
|
|
1455
|
+
@expire_after_ms = args[:expire_after_ms] if args.key?(:expire_after_ms)
|
|
1456
|
+
@lift_when_expired = args[:lift_when_expired] if args.key?(:lift_when_expired)
|
|
1457
|
+
@remind_after_ms = args[:remind_after_ms] if args.key?(:remind_after_ms)
|
|
1458
|
+
end
|
|
1459
|
+
end
|
|
1460
|
+
|
|
1461
|
+
#
|
|
1462
|
+
class EnterpriseCrmEventbusProtoSuspensionResolutionInfo
|
|
1463
|
+
include Google::Apis::Core::Hashable
|
|
1464
|
+
|
|
1465
|
+
#
|
|
1466
|
+
# Corresponds to the JSON property `audit`
|
|
1467
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit]
|
|
1468
|
+
attr_accessor :audit
|
|
1469
|
+
|
|
1470
|
+
# The event data user sends as request.
|
|
1471
|
+
# Corresponds to the JSON property `clientId`
|
|
1472
|
+
# @return [String]
|
|
1473
|
+
attr_accessor :client_id
|
|
1474
|
+
|
|
1475
|
+
# KMS info, used by cmek/gmek integration
|
|
1476
|
+
# Corresponds to the JSON property `cloudKmsConfig`
|
|
1477
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoCloudKmsConfig]
|
|
1478
|
+
attr_accessor :cloud_kms_config
|
|
1479
|
+
|
|
1480
|
+
# Auto-generated.
|
|
1481
|
+
# Corresponds to the JSON property `createdTimestamp`
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
attr_accessor :created_timestamp
|
|
1484
|
+
|
|
1485
|
+
# Encrypted SuspensionResolutionInfo
|
|
1486
|
+
# Corresponds to the JSON property `encryptedSuspensionResolutionInfo`
|
|
1487
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1488
|
+
# @return [String]
|
|
1489
|
+
attr_accessor :encrypted_suspension_resolution_info
|
|
1490
|
+
|
|
1491
|
+
# Required. ID of the associated execution.
|
|
1492
|
+
# Corresponds to the JSON property `eventExecutionInfoId`
|
|
1493
|
+
# @return [String]
|
|
1494
|
+
attr_accessor :event_execution_info_id
|
|
1495
|
+
|
|
1496
|
+
# Represents external traffic type and id.
|
|
1497
|
+
# Corresponds to the JSON property `externalTraffic`
|
|
1498
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoExternalTraffic]
|
|
1499
|
+
attr_accessor :external_traffic
|
|
1500
|
+
|
|
1501
|
+
# Auto-generated.
|
|
1502
|
+
# Corresponds to the JSON property `lastModifiedTimestamp`
|
|
1503
|
+
# @return [String]
|
|
1504
|
+
attr_accessor :last_modified_timestamp
|
|
1505
|
+
|
|
1506
|
+
# Which Google product the suspension belongs to. If not set, the suspension
|
|
1507
|
+
# belongs to Integration Platform by default.
|
|
1508
|
+
# Corresponds to the JSON property `product`
|
|
1509
|
+
# @return [String]
|
|
1510
|
+
attr_accessor :product
|
|
1511
|
+
|
|
1512
|
+
#
|
|
1513
|
+
# Corresponds to the JSON property `status`
|
|
1514
|
+
# @return [String]
|
|
1515
|
+
attr_accessor :status
|
|
1516
|
+
|
|
1517
|
+
#
|
|
1518
|
+
# Corresponds to the JSON property `suspensionConfig`
|
|
1519
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoSuspensionConfig]
|
|
1520
|
+
attr_accessor :suspension_config
|
|
1521
|
+
|
|
1522
|
+
# Primary key for the SuspensionResolutionInfoTable.
|
|
1523
|
+
# Corresponds to the JSON property `suspensionId`
|
|
1524
|
+
# @return [String]
|
|
1525
|
+
attr_accessor :suspension_id
|
|
1526
|
+
|
|
1527
|
+
# Required. Task number of the associated SuspensionTask.
|
|
1528
|
+
# Corresponds to the JSON property `taskNumber`
|
|
1529
|
+
# @return [String]
|
|
1530
|
+
attr_accessor :task_number
|
|
1531
|
+
|
|
1532
|
+
# Required. The name of the originating workflow.
|
|
1533
|
+
# Corresponds to the JSON property `workflowName`
|
|
1534
|
+
# @return [String]
|
|
1535
|
+
attr_accessor :workflow_name
|
|
1536
|
+
|
|
1537
|
+
# Wrapped dek
|
|
1538
|
+
# Corresponds to the JSON property `wrappedDek`
|
|
1539
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1540
|
+
# @return [String]
|
|
1541
|
+
attr_accessor :wrapped_dek
|
|
1542
|
+
|
|
1543
|
+
def initialize(**args)
|
|
1544
|
+
update!(**args)
|
|
1545
|
+
end
|
|
1546
|
+
|
|
1547
|
+
# Update properties of this object
|
|
1548
|
+
def update!(**args)
|
|
1549
|
+
@audit = args[:audit] if args.key?(:audit)
|
|
1550
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
|
1551
|
+
@cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
|
|
1552
|
+
@created_timestamp = args[:created_timestamp] if args.key?(:created_timestamp)
|
|
1553
|
+
@encrypted_suspension_resolution_info = args[:encrypted_suspension_resolution_info] if args.key?(:encrypted_suspension_resolution_info)
|
|
1554
|
+
@event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id)
|
|
1555
|
+
@external_traffic = args[:external_traffic] if args.key?(:external_traffic)
|
|
1556
|
+
@last_modified_timestamp = args[:last_modified_timestamp] if args.key?(:last_modified_timestamp)
|
|
1557
|
+
@product = args[:product] if args.key?(:product)
|
|
1558
|
+
@status = args[:status] if args.key?(:status)
|
|
1559
|
+
@suspension_config = args[:suspension_config] if args.key?(:suspension_config)
|
|
1560
|
+
@suspension_id = args[:suspension_id] if args.key?(:suspension_id)
|
|
1561
|
+
@task_number = args[:task_number] if args.key?(:task_number)
|
|
1562
|
+
@workflow_name = args[:workflow_name] if args.key?(:workflow_name)
|
|
1563
|
+
@wrapped_dek = args[:wrapped_dek] if args.key?(:wrapped_dek)
|
|
1564
|
+
end
|
|
1565
|
+
end
|
|
1566
|
+
|
|
1567
|
+
#
|
|
1568
|
+
class EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit
|
|
1569
|
+
include Google::Apis::Core::Hashable
|
|
1570
|
+
|
|
1571
|
+
#
|
|
1572
|
+
# Corresponds to the JSON property `resolvedBy`
|
|
1573
|
+
# @return [String]
|
|
1574
|
+
attr_accessor :resolved_by
|
|
1575
|
+
|
|
1576
|
+
#
|
|
1577
|
+
# Corresponds to the JSON property `resolvedByCpi`
|
|
1578
|
+
# @return [String]
|
|
1579
|
+
attr_accessor :resolved_by_cpi
|
|
1580
|
+
|
|
1581
|
+
#
|
|
1582
|
+
# Corresponds to the JSON property `timestamp`
|
|
1583
|
+
# @return [String]
|
|
1584
|
+
attr_accessor :timestamp
|
|
1585
|
+
|
|
1586
|
+
def initialize(**args)
|
|
1587
|
+
update!(**args)
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
# Update properties of this object
|
|
1591
|
+
def update!(**args)
|
|
1592
|
+
@resolved_by = args[:resolved_by] if args.key?(:resolved_by)
|
|
1593
|
+
@resolved_by_cpi = args[:resolved_by_cpi] if args.key?(:resolved_by_cpi)
|
|
1594
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
1595
|
+
end
|
|
1596
|
+
end
|
|
1597
|
+
|
|
1598
|
+
#
|
|
1599
|
+
class EnterpriseCrmEventbusProtoToken
|
|
1600
|
+
include Google::Apis::Core::Hashable
|
|
1601
|
+
|
|
1602
|
+
#
|
|
1603
|
+
# Corresponds to the JSON property `name`
|
|
1604
|
+
# @return [String]
|
|
1605
|
+
attr_accessor :name
|
|
1606
|
+
|
|
1607
|
+
#
|
|
1608
|
+
# Corresponds to the JSON property `value`
|
|
1609
|
+
# @return [String]
|
|
1610
|
+
attr_accessor :value
|
|
1611
|
+
|
|
1612
|
+
def initialize(**args)
|
|
1613
|
+
update!(**args)
|
|
1614
|
+
end
|
|
1615
|
+
|
|
1616
|
+
# Update properties of this object
|
|
1617
|
+
def update!(**args)
|
|
1618
|
+
@name = args[:name] if args.key?(:name)
|
|
1619
|
+
@value = args[:value] if args.key?(:value)
|
|
1620
|
+
end
|
|
1621
|
+
end
|
|
1622
|
+
|
|
1623
|
+
#
|
|
1624
|
+
class EnterpriseCrmEventbusProtoTransformExpression
|
|
1625
|
+
include Google::Apis::Core::Hashable
|
|
1626
|
+
|
|
1627
|
+
# Initial value upon which to perform transformations.
|
|
1628
|
+
# Corresponds to the JSON property `initialValue`
|
|
1629
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoBaseValue]
|
|
1630
|
+
attr_accessor :initial_value
|
|
1631
|
+
|
|
1632
|
+
# Transformations to be applied sequentially.
|
|
1633
|
+
# Corresponds to the JSON property `transformationFunctions`
|
|
1634
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoFunction>]
|
|
1635
|
+
attr_accessor :transformation_functions
|
|
1636
|
+
|
|
1637
|
+
def initialize(**args)
|
|
1638
|
+
update!(**args)
|
|
1639
|
+
end
|
|
1640
|
+
|
|
1641
|
+
# Update properties of this object
|
|
1642
|
+
def update!(**args)
|
|
1643
|
+
@initial_value = args[:initial_value] if args.key?(:initial_value)
|
|
1644
|
+
@transformation_functions = args[:transformation_functions] if args.key?(:transformation_functions)
|
|
1645
|
+
end
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1648
|
+
#
|
|
1649
|
+
class EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray
|
|
1650
|
+
include Google::Apis::Core::Hashable
|
|
1651
|
+
|
|
1652
|
+
#
|
|
1653
|
+
# Corresponds to the JSON property `booleanValues`
|
|
1654
|
+
# @return [Array<Boolean>]
|
|
1655
|
+
attr_accessor :boolean_values
|
|
1656
|
+
|
|
1657
|
+
def initialize(**args)
|
|
1658
|
+
update!(**args)
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
# Update properties of this object
|
|
1662
|
+
def update!(**args)
|
|
1663
|
+
@boolean_values = args[:boolean_values] if args.key?(:boolean_values)
|
|
1664
|
+
end
|
|
1665
|
+
end
|
|
1666
|
+
|
|
1667
|
+
#
|
|
1668
|
+
class EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray
|
|
1669
|
+
include Google::Apis::Core::Hashable
|
|
1670
|
+
|
|
1671
|
+
#
|
|
1672
|
+
# Corresponds to the JSON property `doubleValues`
|
|
1673
|
+
# @return [Array<Float>]
|
|
1674
|
+
attr_accessor :double_values
|
|
1675
|
+
|
|
1676
|
+
def initialize(**args)
|
|
1677
|
+
update!(**args)
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1680
|
+
# Update properties of this object
|
|
1681
|
+
def update!(**args)
|
|
1682
|
+
@double_values = args[:double_values] if args.key?(:double_values)
|
|
1683
|
+
end
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
#
|
|
1687
|
+
class EnterpriseCrmFrontendsEventbusProtoIntParameterArray
|
|
1688
|
+
include Google::Apis::Core::Hashable
|
|
1689
|
+
|
|
1690
|
+
#
|
|
1691
|
+
# Corresponds to the JSON property `intValues`
|
|
1692
|
+
# @return [Array<Fixnum>]
|
|
1693
|
+
attr_accessor :int_values
|
|
1694
|
+
|
|
1695
|
+
def initialize(**args)
|
|
1696
|
+
update!(**args)
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1699
|
+
# Update properties of this object
|
|
1700
|
+
def update!(**args)
|
|
1701
|
+
@int_values = args[:int_values] if args.key?(:int_values)
|
|
1702
|
+
end
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1705
|
+
# A generic multi-map that holds key value pairs. They keys and values can be of
|
|
1706
|
+
# any type, unless specified.
|
|
1707
|
+
class EnterpriseCrmFrontendsEventbusProtoParameterMap
|
|
1708
|
+
include Google::Apis::Core::Hashable
|
|
1709
|
+
|
|
1710
|
+
#
|
|
1711
|
+
# Corresponds to the JSON property `entries`
|
|
1712
|
+
# @return [Array<Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoParameterMapEntry>]
|
|
1713
|
+
attr_accessor :entries
|
|
1714
|
+
|
|
1715
|
+
# Option to specify key value type for all entries of the map. If provided then
|
|
1716
|
+
# field types for all entries must conform to this.
|
|
1717
|
+
# Corresponds to the JSON property `keyType`
|
|
1718
|
+
# @return [String]
|
|
1719
|
+
attr_accessor :key_type
|
|
1720
|
+
|
|
1721
|
+
#
|
|
1722
|
+
# Corresponds to the JSON property `valueType`
|
|
1723
|
+
# @return [String]
|
|
1724
|
+
attr_accessor :value_type
|
|
1725
|
+
|
|
1726
|
+
def initialize(**args)
|
|
1727
|
+
update!(**args)
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
# Update properties of this object
|
|
1731
|
+
def update!(**args)
|
|
1732
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1733
|
+
@key_type = args[:key_type] if args.key?(:key_type)
|
|
1734
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
|
1735
|
+
end
|
|
1736
|
+
end
|
|
1737
|
+
|
|
1738
|
+
# Entry is a pair of key and value.
|
|
1739
|
+
class EnterpriseCrmFrontendsEventbusProtoParameterMapEntry
|
|
1740
|
+
include Google::Apis::Core::Hashable
|
|
1741
|
+
|
|
1742
|
+
# Field represents either the key or value in an entry.
|
|
1743
|
+
# Corresponds to the JSON property `key`
|
|
1744
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoParameterMapField]
|
|
1745
|
+
attr_accessor :key
|
|
1746
|
+
|
|
1747
|
+
# Field represents either the key or value in an entry.
|
|
1748
|
+
# Corresponds to the JSON property `value`
|
|
1749
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoParameterMapField]
|
|
1750
|
+
attr_accessor :value
|
|
1751
|
+
|
|
1752
|
+
def initialize(**args)
|
|
1753
|
+
update!(**args)
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
# Update properties of this object
|
|
1757
|
+
def update!(**args)
|
|
1758
|
+
@key = args[:key] if args.key?(:key)
|
|
1759
|
+
@value = args[:value] if args.key?(:value)
|
|
1760
|
+
end
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1763
|
+
# Field represents either the key or value in an entry.
|
|
1764
|
+
class EnterpriseCrmFrontendsEventbusProtoParameterMapField
|
|
1765
|
+
include Google::Apis::Core::Hashable
|
|
1766
|
+
|
|
1767
|
+
# To support various types of parameter values. Next available id: 14
|
|
1768
|
+
# Corresponds to the JSON property `literalValue`
|
|
1769
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoParameterValueType]
|
|
1770
|
+
attr_accessor :literal_value
|
|
1771
|
+
|
|
1772
|
+
# Referencing one of the WF variables.
|
|
1773
|
+
# Corresponds to the JSON property `referenceKey`
|
|
1774
|
+
# @return [String]
|
|
1775
|
+
attr_accessor :reference_key
|
|
1776
|
+
|
|
1777
|
+
def initialize(**args)
|
|
1778
|
+
update!(**args)
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# Update properties of this object
|
|
1782
|
+
def update!(**args)
|
|
1783
|
+
@literal_value = args[:literal_value] if args.key?(:literal_value)
|
|
1784
|
+
@reference_key = args[:reference_key] if args.key?(:reference_key)
|
|
1785
|
+
end
|
|
1786
|
+
end
|
|
1787
|
+
|
|
1788
|
+
# To support various types of parameter values. Next available id: 14
|
|
1789
|
+
class EnterpriseCrmFrontendsEventbusProtoParameterValueType
|
|
1790
|
+
include Google::Apis::Core::Hashable
|
|
1791
|
+
|
|
1792
|
+
#
|
|
1793
|
+
# Corresponds to the JSON property `booleanArray`
|
|
1794
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray]
|
|
1795
|
+
attr_accessor :boolean_array
|
|
1796
|
+
|
|
1797
|
+
#
|
|
1798
|
+
# Corresponds to the JSON property `booleanValue`
|
|
1799
|
+
# @return [Boolean]
|
|
1800
|
+
attr_accessor :boolean_value
|
|
1801
|
+
alias_method :boolean_value?, :boolean_value
|
|
1802
|
+
|
|
1803
|
+
#
|
|
1804
|
+
# Corresponds to the JSON property `doubleArray`
|
|
1805
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray]
|
|
1806
|
+
attr_accessor :double_array
|
|
1807
|
+
|
|
1808
|
+
#
|
|
1809
|
+
# Corresponds to the JSON property `doubleValue`
|
|
1810
|
+
# @return [Float]
|
|
1811
|
+
attr_accessor :double_value
|
|
1812
|
+
|
|
1813
|
+
#
|
|
1814
|
+
# Corresponds to the JSON property `intArray`
|
|
1815
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoIntParameterArray]
|
|
1816
|
+
attr_accessor :int_array
|
|
1817
|
+
|
|
1818
|
+
#
|
|
1819
|
+
# Corresponds to the JSON property `intValue`
|
|
1820
|
+
# @return [Fixnum]
|
|
1821
|
+
attr_accessor :int_value
|
|
1822
|
+
|
|
1823
|
+
#
|
|
1824
|
+
# Corresponds to the JSON property `jsonValue`
|
|
1825
|
+
# @return [String]
|
|
1826
|
+
attr_accessor :json_value
|
|
1827
|
+
|
|
1828
|
+
#
|
|
1829
|
+
# Corresponds to the JSON property `protoArray`
|
|
1830
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoProtoParameterArray]
|
|
1831
|
+
attr_accessor :proto_array
|
|
1832
|
+
|
|
1833
|
+
#
|
|
1834
|
+
# Corresponds to the JSON property `protoValue`
|
|
1835
|
+
# @return [Hash<String,Object>]
|
|
1836
|
+
attr_accessor :proto_value
|
|
1837
|
+
|
|
1838
|
+
#
|
|
1839
|
+
# Corresponds to the JSON property `serializedObjectValue`
|
|
1840
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter]
|
|
1841
|
+
attr_accessor :serialized_object_value
|
|
1842
|
+
|
|
1843
|
+
#
|
|
1844
|
+
# Corresponds to the JSON property `stringArray`
|
|
1845
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmFrontendsEventbusProtoStringParameterArray]
|
|
1846
|
+
attr_accessor :string_array
|
|
1847
|
+
|
|
1848
|
+
#
|
|
1849
|
+
# Corresponds to the JSON property `stringValue`
|
|
1850
|
+
# @return [String]
|
|
1851
|
+
attr_accessor :string_value
|
|
1852
|
+
|
|
1853
|
+
def initialize(**args)
|
|
1854
|
+
update!(**args)
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# Update properties of this object
|
|
1858
|
+
def update!(**args)
|
|
1859
|
+
@boolean_array = args[:boolean_array] if args.key?(:boolean_array)
|
|
1860
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
|
1861
|
+
@double_array = args[:double_array] if args.key?(:double_array)
|
|
1862
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
1863
|
+
@int_array = args[:int_array] if args.key?(:int_array)
|
|
1864
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
|
1865
|
+
@json_value = args[:json_value] if args.key?(:json_value)
|
|
1866
|
+
@proto_array = args[:proto_array] if args.key?(:proto_array)
|
|
1867
|
+
@proto_value = args[:proto_value] if args.key?(:proto_value)
|
|
1868
|
+
@serialized_object_value = args[:serialized_object_value] if args.key?(:serialized_object_value)
|
|
1869
|
+
@string_array = args[:string_array] if args.key?(:string_array)
|
|
1870
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
1871
|
+
end
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1874
|
+
#
|
|
1875
|
+
class EnterpriseCrmFrontendsEventbusProtoProtoParameterArray
|
|
1876
|
+
include Google::Apis::Core::Hashable
|
|
1877
|
+
|
|
1878
|
+
#
|
|
1879
|
+
# Corresponds to the JSON property `protoValues`
|
|
1880
|
+
# @return [Array<Hash<String,Object>>]
|
|
1881
|
+
attr_accessor :proto_values
|
|
1882
|
+
|
|
1883
|
+
def initialize(**args)
|
|
1884
|
+
update!(**args)
|
|
1885
|
+
end
|
|
1886
|
+
|
|
1887
|
+
# Update properties of this object
|
|
1888
|
+
def update!(**args)
|
|
1889
|
+
@proto_values = args[:proto_values] if args.key?(:proto_values)
|
|
1890
|
+
end
|
|
1891
|
+
end
|
|
1892
|
+
|
|
1893
|
+
#
|
|
1894
|
+
class EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter
|
|
1895
|
+
include Google::Apis::Core::Hashable
|
|
1896
|
+
|
|
1897
|
+
#
|
|
1898
|
+
# Corresponds to the JSON property `objectValue`
|
|
1899
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1900
|
+
# @return [String]
|
|
1901
|
+
attr_accessor :object_value
|
|
1902
|
+
|
|
1903
|
+
def initialize(**args)
|
|
1904
|
+
update!(**args)
|
|
1905
|
+
end
|
|
1906
|
+
|
|
1907
|
+
# Update properties of this object
|
|
1908
|
+
def update!(**args)
|
|
1909
|
+
@object_value = args[:object_value] if args.key?(:object_value)
|
|
1910
|
+
end
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
#
|
|
1914
|
+
class EnterpriseCrmFrontendsEventbusProtoStringParameterArray
|
|
1915
|
+
include Google::Apis::Core::Hashable
|
|
1916
|
+
|
|
1917
|
+
#
|
|
1918
|
+
# Corresponds to the JSON property `stringValues`
|
|
1919
|
+
# @return [Array<String>]
|
|
1920
|
+
attr_accessor :string_values
|
|
1921
|
+
|
|
1922
|
+
def initialize(**args)
|
|
1923
|
+
update!(**args)
|
|
1924
|
+
end
|
|
1925
|
+
|
|
1926
|
+
# Update properties of this object
|
|
1927
|
+
def update!(**args)
|
|
1928
|
+
@string_values = args[:string_values] if args.key?(:string_values)
|
|
1929
|
+
end
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
|
1933
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
|
1934
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
|
1935
|
+
# methods in the request as well as the response. It can be used as a top-level
|
|
1936
|
+
# request field, which is convenient if one wants to extract parameters from
|
|
1937
|
+
# either the URL or HTTP template into the request fields and also want access
|
|
1938
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
|
1939
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
|
1940
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
|
1941
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
|
1942
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
|
1943
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
|
1944
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
|
1945
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
|
1946
|
+
# only changes how the request and response bodies are handled, all other
|
|
1947
|
+
# features will continue to work unchanged.
|
|
1948
|
+
class GoogleApiHttpBody
|
|
1949
|
+
include Google::Apis::Core::Hashable
|
|
1950
|
+
|
|
1951
|
+
# The HTTP Content-Type header value specifying the content type of the body.
|
|
1952
|
+
# Corresponds to the JSON property `contentType`
|
|
1953
|
+
# @return [String]
|
|
1954
|
+
attr_accessor :content_type
|
|
1955
|
+
|
|
1956
|
+
# The HTTP request/response body as raw binary.
|
|
1957
|
+
# Corresponds to the JSON property `data`
|
|
1958
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1959
|
+
# @return [String]
|
|
1960
|
+
attr_accessor :data
|
|
1961
|
+
|
|
1962
|
+
# Application specific response metadata. Must be set in the first response for
|
|
1963
|
+
# streaming APIs.
|
|
1964
|
+
# Corresponds to the JSON property `extensions`
|
|
1965
|
+
# @return [Array<Hash<String,Object>>]
|
|
1966
|
+
attr_accessor :extensions
|
|
1967
|
+
|
|
1968
|
+
def initialize(**args)
|
|
1969
|
+
update!(**args)
|
|
1970
|
+
end
|
|
1971
|
+
|
|
1972
|
+
# Update properties of this object
|
|
1973
|
+
def update!(**args)
|
|
1974
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
1975
|
+
@data = args[:data] if args.key?(:data)
|
|
1976
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
|
1977
|
+
end
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
# Status for the execution attempt.
|
|
1981
|
+
class GoogleCloudIntegrationsV2AttemptStats
|
|
1982
|
+
include Google::Apis::Core::Hashable
|
|
1983
|
+
|
|
1984
|
+
# The end time of the execution for the current attempt.
|
|
1985
|
+
# Corresponds to the JSON property `endTime`
|
|
1986
|
+
# @return [String]
|
|
1987
|
+
attr_accessor :end_time
|
|
1988
|
+
|
|
1989
|
+
# The start time of the execution for the current attempt. This could be in the
|
|
1990
|
+
# future if it's been scheduled.
|
|
1991
|
+
# Corresponds to the JSON property `startTime`
|
|
1992
|
+
# @return [String]
|
|
1993
|
+
attr_accessor :start_time
|
|
1994
|
+
|
|
1995
|
+
def initialize(**args)
|
|
1996
|
+
update!(**args)
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1999
|
+
# Update properties of this object
|
|
2000
|
+
def update!(**args)
|
|
2001
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2002
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2003
|
+
end
|
|
2004
|
+
end
|
|
2005
|
+
|
|
2006
|
+
# Cloud Logging details for execution info
|
|
2007
|
+
class GoogleCloudIntegrationsV2CloudLoggingDetails
|
|
2008
|
+
include Google::Apis::Core::Hashable
|
|
2009
|
+
|
|
2010
|
+
# Optional. Severity selected by the customer for the logs to be sent to Cloud
|
|
2011
|
+
# Logging, for the integration version getting executed.
|
|
2012
|
+
# Corresponds to the JSON property `cloudLoggingSeverity`
|
|
2013
|
+
# @return [String]
|
|
2014
|
+
attr_accessor :cloud_logging_severity
|
|
2015
|
+
|
|
2016
|
+
# Optional. Status of whether Cloud Logging is enabled or not for the
|
|
2017
|
+
# integration version getting executed.
|
|
2018
|
+
# Corresponds to the JSON property `enableCloudLogging`
|
|
2019
|
+
# @return [Boolean]
|
|
2020
|
+
attr_accessor :enable_cloud_logging
|
|
2021
|
+
alias_method :enable_cloud_logging?, :enable_cloud_logging
|
|
2022
|
+
|
|
2023
|
+
def initialize(**args)
|
|
2024
|
+
update!(**args)
|
|
2025
|
+
end
|
|
2026
|
+
|
|
2027
|
+
# Update properties of this object
|
|
2028
|
+
def update!(**args)
|
|
2029
|
+
@cloud_logging_severity = args[:cloud_logging_severity] if args.key?(:cloud_logging_severity)
|
|
2030
|
+
@enable_cloud_logging = args[:enable_cloud_logging] if args.key?(:enable_cloud_logging)
|
|
2031
|
+
end
|
|
2032
|
+
end
|
|
2033
|
+
|
|
2034
|
+
# This message only contains a field of boolean array.
|
|
2035
|
+
class GoogleCloudIntegrationsV2DuetBooleanParameterArray
|
|
2036
|
+
include Google::Apis::Core::Hashable
|
|
2037
|
+
|
|
2038
|
+
# Boolean array.
|
|
2039
|
+
# Corresponds to the JSON property `booleanValues`
|
|
2040
|
+
# @return [Array<Boolean>]
|
|
2041
|
+
attr_accessor :boolean_values
|
|
2042
|
+
|
|
2043
|
+
def initialize(**args)
|
|
2044
|
+
update!(**args)
|
|
2045
|
+
end
|
|
2046
|
+
|
|
2047
|
+
# Update properties of this object
|
|
2048
|
+
def update!(**args)
|
|
2049
|
+
@boolean_values = args[:boolean_values] if args.key?(:boolean_values)
|
|
2050
|
+
end
|
|
2051
|
+
end
|
|
2052
|
+
|
|
2053
|
+
# Cloud Scheduler Trigger configuration
|
|
2054
|
+
class GoogleCloudIntegrationsV2DuetCloudSchedulerConfig
|
|
2055
|
+
include Google::Apis::Core::Hashable
|
|
2056
|
+
|
|
2057
|
+
# Required. The cron tab of cloud scheduler trigger.
|
|
2058
|
+
# Corresponds to the JSON property `cronTab`
|
|
2059
|
+
# @return [String]
|
|
2060
|
+
attr_accessor :cron_tab
|
|
2061
|
+
|
|
2062
|
+
# Optional. When the job was deleted from Pantheon UI, error_message will be
|
|
2063
|
+
# populated when Get/List integrations
|
|
2064
|
+
# Corresponds to the JSON property `errorMessage`
|
|
2065
|
+
# @return [String]
|
|
2066
|
+
attr_accessor :error_message
|
|
2067
|
+
|
|
2068
|
+
# Required. The location where associated cloud scheduler job will be created
|
|
2069
|
+
# Corresponds to the JSON property `location`
|
|
2070
|
+
# @return [String]
|
|
2071
|
+
attr_accessor :location
|
|
2072
|
+
|
|
2073
|
+
# Required. Service account used by Cloud Scheduler to trigger the integration
|
|
2074
|
+
# at scheduled time
|
|
2075
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
|
2076
|
+
# @return [String]
|
|
2077
|
+
attr_accessor :service_account_email
|
|
2078
|
+
|
|
2079
|
+
def initialize(**args)
|
|
2080
|
+
update!(**args)
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
# Update properties of this object
|
|
2084
|
+
def update!(**args)
|
|
2085
|
+
@cron_tab = args[:cron_tab] if args.key?(:cron_tab)
|
|
2086
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
|
2087
|
+
@location = args[:location] if args.key?(:location)
|
|
2088
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
|
2089
|
+
end
|
|
2090
|
+
end
|
|
2091
|
+
|
|
2092
|
+
# This message only contains a field of double number array.
|
|
2093
|
+
class GoogleCloudIntegrationsV2DuetDoubleParameterArray
|
|
2094
|
+
include Google::Apis::Core::Hashable
|
|
2095
|
+
|
|
2096
|
+
# Double number array.
|
|
2097
|
+
# Corresponds to the JSON property `doubleValues`
|
|
2098
|
+
# @return [Array<Float>]
|
|
2099
|
+
attr_accessor :double_values
|
|
2100
|
+
|
|
2101
|
+
def initialize(**args)
|
|
2102
|
+
update!(**args)
|
|
2103
|
+
end
|
|
2104
|
+
|
|
2105
|
+
# Update properties of this object
|
|
2106
|
+
def update!(**args)
|
|
2107
|
+
@double_values = args[:double_values] if args.key?(:double_values)
|
|
2108
|
+
end
|
|
2109
|
+
end
|
|
2110
|
+
|
|
2111
|
+
# Configuration detail of a error catch task
|
|
2112
|
+
class GoogleCloudIntegrationsV2DuetErrorCatcherConfig
|
|
2113
|
+
include Google::Apis::Core::Hashable
|
|
2114
|
+
|
|
2115
|
+
# Optional. User-provided description intended to give more business context
|
|
2116
|
+
# about the error catcher config.
|
|
2117
|
+
# Corresponds to the JSON property `description`
|
|
2118
|
+
# @return [String]
|
|
2119
|
+
attr_accessor :description
|
|
2120
|
+
|
|
2121
|
+
# Required. An error catcher id is string representation for the error catcher
|
|
2122
|
+
# config. Within a workflow, error_catcher_id uniquely identifies an error
|
|
2123
|
+
# catcher config among all error catcher configs for the workflow
|
|
2124
|
+
# Corresponds to the JSON property `errorCatcherId`
|
|
2125
|
+
# @return [String]
|
|
2126
|
+
attr_accessor :error_catcher_id
|
|
2127
|
+
|
|
2128
|
+
# Required. A number to uniquely identify each error catcher config within the
|
|
2129
|
+
# workflow on UI.
|
|
2130
|
+
# Corresponds to the JSON property `errorCatcherNumber`
|
|
2131
|
+
# @return [String]
|
|
2132
|
+
attr_accessor :error_catcher_number
|
|
2133
|
+
|
|
2134
|
+
# Optional. The user created label for a particular error catcher. Optional.
|
|
2135
|
+
# Corresponds to the JSON property `label`
|
|
2136
|
+
# @return [String]
|
|
2137
|
+
attr_accessor :label
|
|
2138
|
+
|
|
2139
|
+
# Required. The set of start tasks that are to be executed for the error catch
|
|
2140
|
+
# flow
|
|
2141
|
+
# Corresponds to the JSON property `startErrorTasks`
|
|
2142
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetNextTask>]
|
|
2143
|
+
attr_accessor :start_error_tasks
|
|
2144
|
+
|
|
2145
|
+
def initialize(**args)
|
|
2146
|
+
update!(**args)
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
# Update properties of this object
|
|
2150
|
+
def update!(**args)
|
|
2151
|
+
@description = args[:description] if args.key?(:description)
|
|
2152
|
+
@error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
|
|
2153
|
+
@error_catcher_number = args[:error_catcher_number] if args.key?(:error_catcher_number)
|
|
2154
|
+
@label = args[:label] if args.key?(:label)
|
|
2155
|
+
@start_error_tasks = args[:start_error_tasks] if args.key?(:start_error_tasks)
|
|
2156
|
+
end
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2159
|
+
# This message is used for processing and persisting (when applicable) key value
|
|
2160
|
+
# pair parameters for each event in the event bus.
|
|
2161
|
+
class GoogleCloudIntegrationsV2DuetEventParameter
|
|
2162
|
+
include Google::Apis::Core::Hashable
|
|
2163
|
+
|
|
2164
|
+
# Key is used to retrieve the corresponding parameter value. This should be
|
|
2165
|
+
# unique for a given fired event. These parameters must be predefined in the
|
|
2166
|
+
# integration definition.
|
|
2167
|
+
# Corresponds to the JSON property `key`
|
|
2168
|
+
# @return [String]
|
|
2169
|
+
attr_accessor :key
|
|
2170
|
+
|
|
2171
|
+
# The type of the parameter.
|
|
2172
|
+
# Corresponds to the JSON property `value`
|
|
2173
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetValueType]
|
|
2174
|
+
attr_accessor :value
|
|
2175
|
+
|
|
2176
|
+
def initialize(**args)
|
|
2177
|
+
update!(**args)
|
|
2178
|
+
end
|
|
2179
|
+
|
|
2180
|
+
# Update properties of this object
|
|
2181
|
+
def update!(**args)
|
|
2182
|
+
@key = args[:key] if args.key?(:key)
|
|
2183
|
+
@value = args[:value] if args.key?(:value)
|
|
2184
|
+
end
|
|
2185
|
+
end
|
|
2186
|
+
|
|
2187
|
+
# Request message for generating an integration branch containing tasks.
|
|
2188
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest
|
|
2189
|
+
include Google::Apis::Core::Hashable
|
|
2190
|
+
|
|
2191
|
+
# The request for generating an integration branch.
|
|
2192
|
+
# Corresponds to the JSON property `integrationBranchRequest`
|
|
2193
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationBranchRequest]
|
|
2194
|
+
attr_accessor :integration_branch_request
|
|
2195
|
+
|
|
2196
|
+
# Required. User prompt.
|
|
2197
|
+
# Corresponds to the JSON property `prompt`
|
|
2198
|
+
# @return [String]
|
|
2199
|
+
attr_accessor :prompt
|
|
2200
|
+
|
|
2201
|
+
def initialize(**args)
|
|
2202
|
+
update!(**args)
|
|
2203
|
+
end
|
|
2204
|
+
|
|
2205
|
+
# Update properties of this object
|
|
2206
|
+
def update!(**args)
|
|
2207
|
+
@integration_branch_request = args[:integration_branch_request] if args.key?(:integration_branch_request)
|
|
2208
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2209
|
+
end
|
|
2210
|
+
end
|
|
2211
|
+
|
|
2212
|
+
# Response message containing the generated integration branch data.
|
|
2213
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse
|
|
2214
|
+
include Google::Apis::Core::Hashable
|
|
2215
|
+
|
|
2216
|
+
# An integration branch skeleton containing basic fields which can be used to
|
|
2217
|
+
# create an integration branch on the UI.
|
|
2218
|
+
# Corresponds to the JSON property `integrationBranch`
|
|
2219
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationBranch]
|
|
2220
|
+
attr_accessor :integration_branch
|
|
2221
|
+
|
|
2222
|
+
def initialize(**args)
|
|
2223
|
+
update!(**args)
|
|
2224
|
+
end
|
|
2225
|
+
|
|
2226
|
+
# Update properties of this object
|
|
2227
|
+
def update!(**args)
|
|
2228
|
+
@integration_branch = args[:integration_branch] if args.key?(:integration_branch)
|
|
2229
|
+
end
|
|
2230
|
+
end
|
|
2231
|
+
|
|
2232
|
+
# Request message for generating documentation for an integration version.
|
|
2233
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest
|
|
2234
|
+
include Google::Apis::Core::Hashable
|
|
2235
|
+
|
|
2236
|
+
# The request for generating description of an integration.
|
|
2237
|
+
# Corresponds to the JSON property `integrationDocumentRequest`
|
|
2238
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest]
|
|
2239
|
+
attr_accessor :integration_document_request
|
|
2240
|
+
|
|
2241
|
+
def initialize(**args)
|
|
2242
|
+
update!(**args)
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# Update properties of this object
|
|
2246
|
+
def update!(**args)
|
|
2247
|
+
@integration_document_request = args[:integration_document_request] if args.key?(:integration_document_request)
|
|
2248
|
+
end
|
|
2249
|
+
end
|
|
2250
|
+
|
|
2251
|
+
# Response message containing generated integration documentation text.
|
|
2252
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse
|
|
2253
|
+
include Google::Apis::Core::Hashable
|
|
2254
|
+
|
|
2255
|
+
# The description of the integration returned by Duet AI.
|
|
2256
|
+
# Corresponds to the JSON property `document`
|
|
2257
|
+
# @return [String]
|
|
2258
|
+
attr_accessor :document
|
|
2259
|
+
|
|
2260
|
+
def initialize(**args)
|
|
2261
|
+
update!(**args)
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
# Update properties of this object
|
|
2265
|
+
def update!(**args)
|
|
2266
|
+
@document = args[:document] if args.key?(:document)
|
|
2267
|
+
end
|
|
2268
|
+
end
|
|
2269
|
+
|
|
2270
|
+
# Request for generating an integration.
|
|
2271
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest
|
|
2272
|
+
include Google::Apis::Core::Hashable
|
|
2273
|
+
|
|
2274
|
+
# Optional. Indicates if copilot is enabled. Copilot features may alter the
|
|
2275
|
+
# generated integration structure.
|
|
2276
|
+
# Corresponds to the JSON property `copilotEnabled`
|
|
2277
|
+
# @return [Boolean]
|
|
2278
|
+
attr_accessor :copilot_enabled
|
|
2279
|
+
alias_method :copilot_enabled?, :copilot_enabled
|
|
2280
|
+
|
|
2281
|
+
# Required. The natural language prompt based on which the integration will be
|
|
2282
|
+
# generated.
|
|
2283
|
+
# Corresponds to the JSON property `prompt`
|
|
2284
|
+
# @return [String]
|
|
2285
|
+
attr_accessor :prompt
|
|
2286
|
+
|
|
2287
|
+
def initialize(**args)
|
|
2288
|
+
update!(**args)
|
|
2289
|
+
end
|
|
2290
|
+
|
|
2291
|
+
# Update properties of this object
|
|
2292
|
+
def update!(**args)
|
|
2293
|
+
@copilot_enabled = args[:copilot_enabled] if args.key?(:copilot_enabled)
|
|
2294
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2295
|
+
end
|
|
2296
|
+
end
|
|
2297
|
+
|
|
2298
|
+
# Response for generating an integration.
|
|
2299
|
+
class GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse
|
|
2300
|
+
include Google::Apis::Core::Hashable
|
|
2301
|
+
|
|
2302
|
+
# The list of integration skeletons returned.
|
|
2303
|
+
# Corresponds to the JSON property `skeletonIntegrations`
|
|
2304
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationSkeleton>]
|
|
2305
|
+
attr_accessor :skeleton_integrations
|
|
2306
|
+
|
|
2307
|
+
def initialize(**args)
|
|
2308
|
+
update!(**args)
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2311
|
+
# Update properties of this object
|
|
2312
|
+
def update!(**args)
|
|
2313
|
+
@skeleton_integrations = args[:skeleton_integrations] if args.key?(:skeleton_integrations)
|
|
2314
|
+
end
|
|
2315
|
+
end
|
|
2316
|
+
|
|
2317
|
+
# Request message for generating data mapping Javascript.
|
|
2318
|
+
class GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest
|
|
2319
|
+
include Google::Apis::Core::Hashable
|
|
2320
|
+
|
|
2321
|
+
# Request message for Javascript Task using Gemini.
|
|
2322
|
+
# Corresponds to the JSON property `javascriptRequest`
|
|
2323
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetJavascriptRequest]
|
|
2324
|
+
attr_accessor :javascript_request
|
|
2325
|
+
|
|
2326
|
+
# Optional. User prompt.
|
|
2327
|
+
# Corresponds to the JSON property `prompt`
|
|
2328
|
+
# @return [String]
|
|
2329
|
+
attr_accessor :prompt
|
|
2330
|
+
|
|
2331
|
+
def initialize(**args)
|
|
2332
|
+
update!(**args)
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
# Update properties of this object
|
|
2336
|
+
def update!(**args)
|
|
2337
|
+
@javascript_request = args[:javascript_request] if args.key?(:javascript_request)
|
|
2338
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2339
|
+
end
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2342
|
+
# Response message containing generated Javascript code recommendations.
|
|
2343
|
+
class GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse
|
|
2344
|
+
include Google::Apis::Core::Hashable
|
|
2345
|
+
|
|
2346
|
+
# List of the Javascript recommendations.
|
|
2347
|
+
# Corresponds to the JSON property `recommendations`
|
|
2348
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetJavascriptRecommendation>]
|
|
2349
|
+
attr_accessor :recommendations
|
|
2350
|
+
|
|
2351
|
+
def initialize(**args)
|
|
2352
|
+
update!(**args)
|
|
2353
|
+
end
|
|
2354
|
+
|
|
2355
|
+
# Update properties of this object
|
|
2356
|
+
def update!(**args)
|
|
2357
|
+
@recommendations = args[:recommendations] if args.key?(:recommendations)
|
|
2358
|
+
end
|
|
2359
|
+
end
|
|
2360
|
+
|
|
2361
|
+
# This message only contains a field of integer array.
|
|
2362
|
+
class GoogleCloudIntegrationsV2DuetIntParameterArray
|
|
2363
|
+
include Google::Apis::Core::Hashable
|
|
2364
|
+
|
|
2365
|
+
# Integer array.
|
|
2366
|
+
# Corresponds to the JSON property `intValues`
|
|
2367
|
+
# @return [Array<Fixnum>]
|
|
2368
|
+
attr_accessor :int_values
|
|
2369
|
+
|
|
2370
|
+
def initialize(**args)
|
|
2371
|
+
update!(**args)
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
# Update properties of this object
|
|
2375
|
+
def update!(**args)
|
|
2376
|
+
@int_values = args[:int_values] if args.key?(:int_values)
|
|
2377
|
+
end
|
|
2378
|
+
end
|
|
2379
|
+
|
|
2380
|
+
# An integration branch skeleton containing basic fields which can be used to
|
|
2381
|
+
# create an integration branch on the UI.
|
|
2382
|
+
class GoogleCloudIntegrationsV2DuetIntegrationBranch
|
|
2383
|
+
include Google::Apis::Core::Hashable
|
|
2384
|
+
|
|
2385
|
+
# The condition for the branch.
|
|
2386
|
+
# Corresponds to the JSON property `branchCondition`
|
|
2387
|
+
# @return [String]
|
|
2388
|
+
attr_accessor :branch_condition
|
|
2389
|
+
|
|
2390
|
+
# Explanation of why this integration branch was generated.
|
|
2391
|
+
# Corresponds to the JSON property `explanation`
|
|
2392
|
+
# @return [String]
|
|
2393
|
+
attr_accessor :explanation
|
|
2394
|
+
|
|
2395
|
+
# The newly generated workflow parameters.
|
|
2396
|
+
# Corresponds to the JSON property `integrationParameters`
|
|
2397
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationParameter>]
|
|
2398
|
+
attr_accessor :integration_parameters
|
|
2399
|
+
|
|
2400
|
+
# The newly generated tasks which can be branched into the current integration.
|
|
2401
|
+
# Corresponds to the JSON property `taskConfigs`
|
|
2402
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig>]
|
|
2403
|
+
attr_accessor :task_configs
|
|
2404
|
+
|
|
2405
|
+
def initialize(**args)
|
|
2406
|
+
update!(**args)
|
|
2407
|
+
end
|
|
2408
|
+
|
|
2409
|
+
# Update properties of this object
|
|
2410
|
+
def update!(**args)
|
|
2411
|
+
@branch_condition = args[:branch_condition] if args.key?(:branch_condition)
|
|
2412
|
+
@explanation = args[:explanation] if args.key?(:explanation)
|
|
2413
|
+
@integration_parameters = args[:integration_parameters] if args.key?(:integration_parameters)
|
|
2414
|
+
@task_configs = args[:task_configs] if args.key?(:task_configs)
|
|
2415
|
+
end
|
|
2416
|
+
end
|
|
2417
|
+
|
|
2418
|
+
# The request for generating an integration branch.
|
|
2419
|
+
class GoogleCloudIntegrationsV2DuetIntegrationBranchRequest
|
|
2420
|
+
include Google::Apis::Core::Hashable
|
|
2421
|
+
|
|
2422
|
+
# Optional. The condition for the particular branch which the user selected.
|
|
2423
|
+
# Corresponds to the JSON property `branchCondition`
|
|
2424
|
+
# @return [String]
|
|
2425
|
+
attr_accessor :branch_condition
|
|
2426
|
+
|
|
2427
|
+
# Optional. A list of all the workflow parameters of the current integration.
|
|
2428
|
+
# Corresponds to the JSON property `integrationParameters`
|
|
2429
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationParameter>]
|
|
2430
|
+
attr_accessor :integration_parameters
|
|
2431
|
+
|
|
2432
|
+
# Required. A list of all the tasks of the current integration.
|
|
2433
|
+
# Corresponds to the JSON property `taskConfigs`
|
|
2434
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig>]
|
|
2435
|
+
attr_accessor :task_configs
|
|
2436
|
+
|
|
2437
|
+
def initialize(**args)
|
|
2438
|
+
update!(**args)
|
|
2439
|
+
end
|
|
2440
|
+
|
|
2441
|
+
# Update properties of this object
|
|
2442
|
+
def update!(**args)
|
|
2443
|
+
@branch_condition = args[:branch_condition] if args.key?(:branch_condition)
|
|
2444
|
+
@integration_parameters = args[:integration_parameters] if args.key?(:integration_parameters)
|
|
2445
|
+
@task_configs = args[:task_configs] if args.key?(:task_configs)
|
|
2446
|
+
end
|
|
2447
|
+
end
|
|
2448
|
+
|
|
2449
|
+
# Integration Config Parameter is defined in the integration config and are used
|
|
2450
|
+
# to provide external configuration for integration. It provide information
|
|
2451
|
+
# about data types of the expected parameters and provide any default values or
|
|
2452
|
+
# value. They can also be used to add custom attributes.
|
|
2453
|
+
class GoogleCloudIntegrationsV2DuetIntegrationConfigParameter
|
|
2454
|
+
include Google::Apis::Core::Hashable
|
|
2455
|
+
|
|
2456
|
+
# Integration Parameter is defined in the integration config and are used to
|
|
2457
|
+
# provide information about data types of the expected parameters and provide
|
|
2458
|
+
# any default values if needed. They can also be used to add custom attributes.
|
|
2459
|
+
# These are static in nature and should not be used for dynamic event definition.
|
|
2460
|
+
# Corresponds to the JSON property `parameter`
|
|
2461
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationParameter]
|
|
2462
|
+
attr_accessor :parameter
|
|
2463
|
+
|
|
2464
|
+
# The type of the parameter.
|
|
2465
|
+
# Corresponds to the JSON property `value`
|
|
2466
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetValueType]
|
|
2467
|
+
attr_accessor :value
|
|
2468
|
+
|
|
2469
|
+
def initialize(**args)
|
|
2470
|
+
update!(**args)
|
|
2471
|
+
end
|
|
2472
|
+
|
|
2473
|
+
# Update properties of this object
|
|
2474
|
+
def update!(**args)
|
|
2475
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
|
2476
|
+
@value = args[:value] if args.key?(:value)
|
|
2477
|
+
end
|
|
2478
|
+
end
|
|
2479
|
+
|
|
2480
|
+
# The request for generating description of an integration.
|
|
2481
|
+
class GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest
|
|
2482
|
+
include Google::Apis::Core::Hashable
|
|
2483
|
+
|
|
2484
|
+
# The integration version definition.
|
|
2485
|
+
# Corresponds to the JSON property `integrationVersion`
|
|
2486
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationVersion]
|
|
2487
|
+
attr_accessor :integration_version
|
|
2488
|
+
|
|
2489
|
+
def initialize(**args)
|
|
2490
|
+
update!(**args)
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
# Update properties of this object
|
|
2494
|
+
def update!(**args)
|
|
2495
|
+
@integration_version = args[:integration_version] if args.key?(:integration_version)
|
|
2496
|
+
end
|
|
2497
|
+
end
|
|
2498
|
+
|
|
2499
|
+
# Integration Parameter is defined in the integration config and are used to
|
|
2500
|
+
# provide information about data types of the expected parameters and provide
|
|
2501
|
+
# any default values if needed. They can also be used to add custom attributes.
|
|
2502
|
+
# These are static in nature and should not be used for dynamic event definition.
|
|
2503
|
+
class GoogleCloudIntegrationsV2DuetIntegrationParameter
|
|
2504
|
+
include Google::Apis::Core::Hashable
|
|
2505
|
+
|
|
2506
|
+
# Type of the parameter.
|
|
2507
|
+
# Corresponds to the JSON property `dataType`
|
|
2508
|
+
# @return [String]
|
|
2509
|
+
attr_accessor :data_type
|
|
2510
|
+
|
|
2511
|
+
# The type of the parameter.
|
|
2512
|
+
# Corresponds to the JSON property `defaultValue`
|
|
2513
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetValueType]
|
|
2514
|
+
attr_accessor :default_value
|
|
2515
|
+
|
|
2516
|
+
# Optional. Description of the parameter.
|
|
2517
|
+
# Corresponds to the JSON property `description`
|
|
2518
|
+
# @return [String]
|
|
2519
|
+
attr_accessor :description
|
|
2520
|
+
|
|
2521
|
+
# The name (without prefix) to be displayed in the UI for this parameter. E.g.
|
|
2522
|
+
# if the key is "foo.bar.myName", then the name would be "myName".
|
|
2523
|
+
# Corresponds to the JSON property `displayName`
|
|
2524
|
+
# @return [String]
|
|
2525
|
+
attr_accessor :display_name
|
|
2526
|
+
|
|
2527
|
+
# Specifies the input/output type for the parameter.
|
|
2528
|
+
# Corresponds to the JSON property `inputOutputType`
|
|
2529
|
+
# @return [String]
|
|
2530
|
+
attr_accessor :input_output_type
|
|
2531
|
+
|
|
2532
|
+
# Whether this parameter is a transient parameter.
|
|
2533
|
+
# Corresponds to the JSON property `isTransient`
|
|
2534
|
+
# @return [Boolean]
|
|
2535
|
+
attr_accessor :is_transient
|
|
2536
|
+
alias_method :is_transient?, :is_transient
|
|
2537
|
+
|
|
2538
|
+
# This schema will be used to validate runtime JSON-typed values of this
|
|
2539
|
+
# parameter.
|
|
2540
|
+
# Corresponds to the JSON property `jsonSchema`
|
|
2541
|
+
# @return [String]
|
|
2542
|
+
attr_accessor :json_schema
|
|
2543
|
+
|
|
2544
|
+
# Key is used to retrieve the corresponding parameter value. This should be
|
|
2545
|
+
# unique for a given fired event. These parameters must be predefined in the
|
|
2546
|
+
# integration definition.
|
|
2547
|
+
# Corresponds to the JSON property `key`
|
|
2548
|
+
# @return [String]
|
|
2549
|
+
attr_accessor :key
|
|
2550
|
+
|
|
2551
|
+
def initialize(**args)
|
|
2552
|
+
update!(**args)
|
|
2553
|
+
end
|
|
2554
|
+
|
|
2555
|
+
# Update properties of this object
|
|
2556
|
+
def update!(**args)
|
|
2557
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
|
2558
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
|
2559
|
+
@description = args[:description] if args.key?(:description)
|
|
2560
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2561
|
+
@input_output_type = args[:input_output_type] if args.key?(:input_output_type)
|
|
2562
|
+
@is_transient = args[:is_transient] if args.key?(:is_transient)
|
|
2563
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
|
2564
|
+
@key = args[:key] if args.key?(:key)
|
|
2565
|
+
end
|
|
2566
|
+
end
|
|
2567
|
+
|
|
2568
|
+
# An integration skeleton containing basic fields which can be used to create an
|
|
2569
|
+
# integration on the UI.
|
|
2570
|
+
class GoogleCloudIntegrationsV2DuetIntegrationSkeleton
|
|
2571
|
+
include Google::Apis::Core::Hashable
|
|
2572
|
+
|
|
2573
|
+
# Explanation of why this integration was generated.
|
|
2574
|
+
# Corresponds to the JSON property `explanation`
|
|
2575
|
+
# @return [String]
|
|
2576
|
+
attr_accessor :explanation
|
|
2577
|
+
|
|
2578
|
+
# The integration version definition.
|
|
2579
|
+
# Corresponds to the JSON property `integrationVersion`
|
|
2580
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationVersion]
|
|
2581
|
+
attr_accessor :integration_version
|
|
2582
|
+
|
|
2583
|
+
# The name of the integration.
|
|
2584
|
+
# Corresponds to the JSON property `name`
|
|
2585
|
+
# @return [String]
|
|
2586
|
+
attr_accessor :name
|
|
2587
|
+
|
|
2588
|
+
# Indicate the strategy/methodology used to generate the integration.
|
|
2589
|
+
# Corresponds to the JSON property `tag`
|
|
2590
|
+
# @return [String]
|
|
2591
|
+
attr_accessor :tag
|
|
2592
|
+
|
|
2593
|
+
def initialize(**args)
|
|
2594
|
+
update!(**args)
|
|
2595
|
+
end
|
|
2596
|
+
|
|
2597
|
+
# Update properties of this object
|
|
2598
|
+
def update!(**args)
|
|
2599
|
+
@explanation = args[:explanation] if args.key?(:explanation)
|
|
2600
|
+
@integration_version = args[:integration_version] if args.key?(:integration_version)
|
|
2601
|
+
@name = args[:name] if args.key?(:name)
|
|
2602
|
+
@tag = args[:tag] if args.key?(:tag)
|
|
2603
|
+
end
|
|
2604
|
+
end
|
|
2605
|
+
|
|
2606
|
+
# The integration version definition.
|
|
2607
|
+
class GoogleCloudIntegrationsV2DuetIntegrationVersion
|
|
2608
|
+
include Google::Apis::Core::Hashable
|
|
2609
|
+
|
|
2610
|
+
# Optional. The integration description.
|
|
2611
|
+
# Corresponds to the JSON property `description`
|
|
2612
|
+
# @return [String]
|
|
2613
|
+
attr_accessor :description
|
|
2614
|
+
|
|
2615
|
+
# Optional. Error Catch Task configuration for the integration. It's optional.
|
|
2616
|
+
# Corresponds to the JSON property `errorCatcherConfigs`
|
|
2617
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetErrorCatcherConfig>]
|
|
2618
|
+
attr_accessor :error_catcher_configs
|
|
2619
|
+
|
|
2620
|
+
# Optional. Config Parameters that are expected to be passed to the integration
|
|
2621
|
+
# when an integration is published. This consists of all the parameters that are
|
|
2622
|
+
# expected to provide configuration in the integration execution. This gives the
|
|
2623
|
+
# user the ability to provide default values, value, add information like
|
|
2624
|
+
# connection url, project based configuration value and also provide data types
|
|
2625
|
+
# of each parameter.
|
|
2626
|
+
# Corresponds to the JSON property `integrationConfigParameters`
|
|
2627
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationConfigParameter>]
|
|
2628
|
+
attr_accessor :integration_config_parameters
|
|
2629
|
+
|
|
2630
|
+
# Optional. Parameters that are expected to be passed to the integration when an
|
|
2631
|
+
# event is triggered. This consists of all the parameters that are expected in
|
|
2632
|
+
# the integration execution. This gives the user the ability to provide default
|
|
2633
|
+
# values, add information like PII and also provide data types of each parameter.
|
|
2634
|
+
# Corresponds to the JSON property `integrationParameters`
|
|
2635
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationParameter>]
|
|
2636
|
+
attr_accessor :integration_parameters
|
|
2637
|
+
|
|
2638
|
+
# Optional. Auto-generated primary key.
|
|
2639
|
+
# Corresponds to the JSON property `name`
|
|
2640
|
+
# @return [String]
|
|
2641
|
+
attr_accessor :name
|
|
2642
|
+
|
|
2643
|
+
# Optional. An increasing sequence that is set when a new snapshot is created.
|
|
2644
|
+
# The last created snapshot can be identified by [workflow_name, org_id latest(
|
|
2645
|
+
# snapshot_number)]. However, last created snapshot need not be same as the HEAD.
|
|
2646
|
+
# So users should always use "HEAD" tag to identify the head.
|
|
2647
|
+
# Corresponds to the JSON property `snapshotNumber`
|
|
2648
|
+
# @return [Fixnum]
|
|
2649
|
+
attr_accessor :snapshot_number
|
|
2650
|
+
|
|
2651
|
+
# Output only. User should not set it as an input.
|
|
2652
|
+
# Corresponds to the JSON property `state`
|
|
2653
|
+
# @return [String]
|
|
2654
|
+
attr_accessor :state
|
|
2655
|
+
|
|
2656
|
+
# Optional. Task configuration for the integration. It's optional, but the
|
|
2657
|
+
# integration doesn't do anything without task_configs.
|
|
2658
|
+
# Corresponds to the JSON property `taskConfigs`
|
|
2659
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig>]
|
|
2660
|
+
attr_accessor :task_configs
|
|
2661
|
+
|
|
2662
|
+
# Optional. Trigger configurations.
|
|
2663
|
+
# Corresponds to the JSON property `triggerConfigs`
|
|
2664
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTriggerConfig>]
|
|
2665
|
+
attr_accessor :trigger_configs
|
|
2666
|
+
|
|
2667
|
+
# Optional. A user-defined label that annotates an integration version.
|
|
2668
|
+
# Typically, this is only set when the integration version is created.
|
|
2669
|
+
# Corresponds to the JSON property `userLabel`
|
|
2670
|
+
# @return [String]
|
|
2671
|
+
attr_accessor :user_label
|
|
2672
|
+
|
|
2673
|
+
def initialize(**args)
|
|
2674
|
+
update!(**args)
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
# Update properties of this object
|
|
2678
|
+
def update!(**args)
|
|
2679
|
+
@description = args[:description] if args.key?(:description)
|
|
2680
|
+
@error_catcher_configs = args[:error_catcher_configs] if args.key?(:error_catcher_configs)
|
|
2681
|
+
@integration_config_parameters = args[:integration_config_parameters] if args.key?(:integration_config_parameters)
|
|
2682
|
+
@integration_parameters = args[:integration_parameters] if args.key?(:integration_parameters)
|
|
2683
|
+
@name = args[:name] if args.key?(:name)
|
|
2684
|
+
@snapshot_number = args[:snapshot_number] if args.key?(:snapshot_number)
|
|
2685
|
+
@state = args[:state] if args.key?(:state)
|
|
2686
|
+
@task_configs = args[:task_configs] if args.key?(:task_configs)
|
|
2687
|
+
@trigger_configs = args[:trigger_configs] if args.key?(:trigger_configs)
|
|
2688
|
+
@user_label = args[:user_label] if args.key?(:user_label)
|
|
2689
|
+
end
|
|
2690
|
+
end
|
|
2691
|
+
|
|
2692
|
+
# Individual Javascript recommendation containing the task config with the new
|
|
2693
|
+
# code, integration parameters and the explanation.
|
|
2694
|
+
class GoogleCloudIntegrationsV2DuetJavascriptRecommendation
|
|
2695
|
+
include Google::Apis::Core::Hashable
|
|
2696
|
+
|
|
2697
|
+
# The explanation of the Javascript code.
|
|
2698
|
+
# Corresponds to the JSON property `explanation`
|
|
2699
|
+
# @return [String]
|
|
2700
|
+
attr_accessor :explanation
|
|
2701
|
+
|
|
2702
|
+
# Optional. The list of the new integration parameters.
|
|
2703
|
+
# Corresponds to the JSON property `integrationParameters`
|
|
2704
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationParameter>]
|
|
2705
|
+
attr_accessor :integration_parameters
|
|
2706
|
+
|
|
2707
|
+
# The task configuration details. This is not the implementation of Task. There
|
|
2708
|
+
# might be multiple TaskConfigs for the same Task.
|
|
2709
|
+
# Corresponds to the JSON property `taskConfig`
|
|
2710
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig]
|
|
2711
|
+
attr_accessor :task_config
|
|
2712
|
+
|
|
2713
|
+
def initialize(**args)
|
|
2714
|
+
update!(**args)
|
|
2715
|
+
end
|
|
2716
|
+
|
|
2717
|
+
# Update properties of this object
|
|
2718
|
+
def update!(**args)
|
|
2719
|
+
@explanation = args[:explanation] if args.key?(:explanation)
|
|
2720
|
+
@integration_parameters = args[:integration_parameters] if args.key?(:integration_parameters)
|
|
2721
|
+
@task_config = args[:task_config] if args.key?(:task_config)
|
|
2722
|
+
end
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2725
|
+
# Request message for Javascript Task using Gemini.
|
|
2726
|
+
class GoogleCloudIntegrationsV2DuetJavascriptRequest
|
|
2727
|
+
include Google::Apis::Core::Hashable
|
|
2728
|
+
|
|
2729
|
+
# Optional. If this request is for copilot.
|
|
2730
|
+
# Corresponds to the JSON property `copilotEnabled`
|
|
2731
|
+
# @return [Boolean]
|
|
2732
|
+
attr_accessor :copilot_enabled
|
|
2733
|
+
alias_method :copilot_enabled?, :copilot_enabled
|
|
2734
|
+
|
|
2735
|
+
# The integration version definition.
|
|
2736
|
+
# Corresponds to the JSON property `integrationVersion`
|
|
2737
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntegrationVersion]
|
|
2738
|
+
attr_accessor :integration_version
|
|
2739
|
+
|
|
2740
|
+
# Required. The task id of the Javascript task.
|
|
2741
|
+
# Corresponds to the JSON property `taskId`
|
|
2742
|
+
# @return [String]
|
|
2743
|
+
attr_accessor :task_id
|
|
2744
|
+
|
|
2745
|
+
# Optional. Whether to use the current javascript task config (JS code) to
|
|
2746
|
+
# generate the Javascript code.
|
|
2747
|
+
# Corresponds to the JSON property `useCurrentScript`
|
|
2748
|
+
# @return [Boolean]
|
|
2749
|
+
attr_accessor :use_current_script
|
|
2750
|
+
alias_method :use_current_script?, :use_current_script
|
|
2751
|
+
|
|
2752
|
+
def initialize(**args)
|
|
2753
|
+
update!(**args)
|
|
2754
|
+
end
|
|
2755
|
+
|
|
2756
|
+
# Update properties of this object
|
|
2757
|
+
def update!(**args)
|
|
2758
|
+
@copilot_enabled = args[:copilot_enabled] if args.key?(:copilot_enabled)
|
|
2759
|
+
@integration_version = args[:integration_version] if args.key?(:integration_version)
|
|
2760
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
|
2761
|
+
@use_current_script = args[:use_current_script] if args.key?(:use_current_script)
|
|
2762
|
+
end
|
|
2763
|
+
end
|
|
2764
|
+
|
|
2765
|
+
# The task that is next in line to be executed, if the condition specified
|
|
2766
|
+
# evaluated to true.
|
|
2767
|
+
class GoogleCloudIntegrationsV2DuetNextTask
|
|
2768
|
+
include Google::Apis::Core::Hashable
|
|
2769
|
+
|
|
2770
|
+
# Standard filter expression for this task to become an eligible next task.
|
|
2771
|
+
# Corresponds to the JSON property `condition`
|
|
2772
|
+
# @return [String]
|
|
2773
|
+
attr_accessor :condition
|
|
2774
|
+
|
|
2775
|
+
# User-provided description intended to give additional business context about
|
|
2776
|
+
# the task.
|
|
2777
|
+
# Corresponds to the JSON property `description`
|
|
2778
|
+
# @return [String]
|
|
2779
|
+
attr_accessor :description
|
|
2780
|
+
|
|
2781
|
+
# User-provided label that is attached to this edge in the UI.
|
|
2782
|
+
# Corresponds to the JSON property `displayName`
|
|
2783
|
+
# @return [String]
|
|
2784
|
+
attr_accessor :display_name
|
|
2785
|
+
|
|
2786
|
+
# ID of the next task.
|
|
2787
|
+
# Corresponds to the JSON property `taskConfigId`
|
|
2788
|
+
# @return [String]
|
|
2789
|
+
attr_accessor :task_config_id
|
|
2790
|
+
|
|
2791
|
+
# Task number of the next task.
|
|
2792
|
+
# Corresponds to the JSON property `taskId`
|
|
2793
|
+
# @return [String]
|
|
2794
|
+
attr_accessor :task_id
|
|
2795
|
+
|
|
2796
|
+
def initialize(**args)
|
|
2797
|
+
update!(**args)
|
|
2798
|
+
end
|
|
2799
|
+
|
|
2800
|
+
# Update properties of this object
|
|
2801
|
+
def update!(**args)
|
|
2802
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
2803
|
+
@description = args[:description] if args.key?(:description)
|
|
2804
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2805
|
+
@task_config_id = args[:task_config_id] if args.key?(:task_config_id)
|
|
2806
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
|
2807
|
+
end
|
|
2808
|
+
end
|
|
2809
|
+
|
|
2810
|
+
# Request message for recommending tasks to replace a selected task.
|
|
2811
|
+
class GoogleCloudIntegrationsV2DuetRecommendTasksRequest
|
|
2812
|
+
include Google::Apis::Core::Hashable
|
|
2813
|
+
|
|
2814
|
+
# Optional. User prompt.
|
|
2815
|
+
# Corresponds to the JSON property `prompt`
|
|
2816
|
+
# @return [String]
|
|
2817
|
+
attr_accessor :prompt
|
|
2818
|
+
|
|
2819
|
+
# Message for Replace Task Scenario.
|
|
2820
|
+
# Corresponds to the JSON property `replaceTaskRequest`
|
|
2821
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetReplaceTaskRequest]
|
|
2822
|
+
attr_accessor :replace_task_request
|
|
2823
|
+
|
|
2824
|
+
def initialize(**args)
|
|
2825
|
+
update!(**args)
|
|
2826
|
+
end
|
|
2827
|
+
|
|
2828
|
+
# Update properties of this object
|
|
2829
|
+
def update!(**args)
|
|
2830
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2831
|
+
@replace_task_request = args[:replace_task_request] if args.key?(:replace_task_request)
|
|
2832
|
+
end
|
|
2833
|
+
end
|
|
2834
|
+
|
|
2835
|
+
# Response message containing recommended tasks for replacement.
|
|
2836
|
+
class GoogleCloudIntegrationsV2DuetRecommendTasksResponse
|
|
2837
|
+
include Google::Apis::Core::Hashable
|
|
2838
|
+
|
|
2839
|
+
# The list of recommended tasks.
|
|
2840
|
+
# Corresponds to the JSON property `taskConfigs`
|
|
2841
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig>]
|
|
2842
|
+
attr_accessor :task_configs
|
|
2843
|
+
|
|
2844
|
+
# The list of task response status based on the task_types in the request.
|
|
2845
|
+
# Corresponds to the JSON property `taskResponseStatuses`
|
|
2846
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskResponseStatus>]
|
|
2847
|
+
attr_accessor :task_response_statuses
|
|
2848
|
+
|
|
2849
|
+
def initialize(**args)
|
|
2850
|
+
update!(**args)
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
# Update properties of this object
|
|
2854
|
+
def update!(**args)
|
|
2855
|
+
@task_configs = args[:task_configs] if args.key?(:task_configs)
|
|
2856
|
+
@task_response_statuses = args[:task_response_statuses] if args.key?(:task_response_statuses)
|
|
2857
|
+
end
|
|
2858
|
+
end
|
|
2859
|
+
|
|
2860
|
+
# Message for Replace Task Scenario.
|
|
2861
|
+
class GoogleCloudIntegrationsV2DuetReplaceTaskRequest
|
|
2862
|
+
include Google::Apis::Core::Hashable
|
|
2863
|
+
|
|
2864
|
+
# Optional. If this request is for copilot.
|
|
2865
|
+
# Corresponds to the JSON property `copilotEnabled`
|
|
2866
|
+
# @return [Boolean]
|
|
2867
|
+
attr_accessor :copilot_enabled
|
|
2868
|
+
alias_method :copilot_enabled?, :copilot_enabled
|
|
2869
|
+
|
|
2870
|
+
# The task configuration details. This is not the implementation of Task. There
|
|
2871
|
+
# might be multiple TaskConfigs for the same Task.
|
|
2872
|
+
# Corresponds to the JSON property `taskConfig`
|
|
2873
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTaskConfig]
|
|
2874
|
+
attr_accessor :task_config
|
|
2875
|
+
|
|
2876
|
+
# The list of task types.
|
|
2877
|
+
# Corresponds to the JSON property `taskTypes`
|
|
2878
|
+
# @return [Array<String>]
|
|
2879
|
+
attr_accessor :task_types
|
|
2880
|
+
|
|
2881
|
+
def initialize(**args)
|
|
2882
|
+
update!(**args)
|
|
2883
|
+
end
|
|
2884
|
+
|
|
2885
|
+
# Update properties of this object
|
|
2886
|
+
def update!(**args)
|
|
2887
|
+
@copilot_enabled = args[:copilot_enabled] if args.key?(:copilot_enabled)
|
|
2888
|
+
@task_config = args[:task_config] if args.key?(:task_config)
|
|
2889
|
+
@task_types = args[:task_types] if args.key?(:task_types)
|
|
2890
|
+
end
|
|
2891
|
+
end
|
|
2892
|
+
|
|
2893
|
+
# This message only contains a field of string array.
|
|
2894
|
+
class GoogleCloudIntegrationsV2DuetStringParameterArray
|
|
2895
|
+
include Google::Apis::Core::Hashable
|
|
2896
|
+
|
|
2897
|
+
# String array.
|
|
2898
|
+
# Corresponds to the JSON property `stringValues`
|
|
2899
|
+
# @return [Array<String>]
|
|
2900
|
+
attr_accessor :string_values
|
|
2901
|
+
|
|
2902
|
+
def initialize(**args)
|
|
2903
|
+
update!(**args)
|
|
2904
|
+
end
|
|
2905
|
+
|
|
2906
|
+
# Update properties of this object
|
|
2907
|
+
def update!(**args)
|
|
2908
|
+
@string_values = args[:string_values] if args.key?(:string_values)
|
|
2909
|
+
end
|
|
2910
|
+
end
|
|
2911
|
+
|
|
2912
|
+
# The task configuration details. This is not the implementation of Task. There
|
|
2913
|
+
# might be multiple TaskConfigs for the same Task.
|
|
2914
|
+
class GoogleCloudIntegrationsV2DuetTaskConfig
|
|
2915
|
+
include Google::Apis::Core::Hashable
|
|
2916
|
+
|
|
2917
|
+
# Optional. User-provided description intended to give additional business
|
|
2918
|
+
# context about the task.
|
|
2919
|
+
# Corresponds to the JSON property `description`
|
|
2920
|
+
# @return [String]
|
|
2921
|
+
attr_accessor :description
|
|
2922
|
+
|
|
2923
|
+
# Optional. User-provided label that is attached to this TaskConfig in the UI.
|
|
2924
|
+
# Corresponds to the JSON property `displayName`
|
|
2925
|
+
# @return [String]
|
|
2926
|
+
attr_accessor :display_name
|
|
2927
|
+
|
|
2928
|
+
# Optional. Optional Error catcher id of the error catch flow which will be
|
|
2929
|
+
# executed when execution error happens in the task
|
|
2930
|
+
# Corresponds to the JSON property `errorCatcherId`
|
|
2931
|
+
# @return [String]
|
|
2932
|
+
attr_accessor :error_catcher_id
|
|
2933
|
+
|
|
2934
|
+
# Optional. External task type of the task
|
|
2935
|
+
# Corresponds to the JSON property `externalTaskType`
|
|
2936
|
+
# @return [String]
|
|
2937
|
+
attr_accessor :external_task_type
|
|
2938
|
+
|
|
2939
|
+
# Optional. The set of tasks that are next in line to be executed as per the
|
|
2940
|
+
# execution graph defined for the parent event, specified by `event_config_id`.
|
|
2941
|
+
# Each of these next tasks are executed only if the condition associated with
|
|
2942
|
+
# them evaluates to true.
|
|
2943
|
+
# Corresponds to the JSON property `nextTasks`
|
|
2944
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetNextTask>]
|
|
2945
|
+
attr_accessor :next_tasks
|
|
2946
|
+
|
|
2947
|
+
# Optional. The customized parameters the user can pass to this task.
|
|
2948
|
+
# Corresponds to the JSON property `parameters`
|
|
2949
|
+
# @return [Hash<String,Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetEventParameter>]
|
|
2950
|
+
attr_accessor :parameters
|
|
2951
|
+
|
|
2952
|
+
# Optional. The name for the task.
|
|
2953
|
+
# Corresponds to the JSON property `task`
|
|
2954
|
+
# @return [String]
|
|
2955
|
+
attr_accessor :task
|
|
2956
|
+
|
|
2957
|
+
# Required. The identifier of this task within its parent event config,
|
|
2958
|
+
# specified by the client. This should be unique among all the tasks belong to
|
|
2959
|
+
# the same event config. We use this field as the identifier to find next tasks (
|
|
2960
|
+
# via field `next_tasks.task_id`).
|
|
2961
|
+
# Corresponds to the JSON property `taskId`
|
|
2962
|
+
# @return [String]
|
|
2963
|
+
attr_accessor :task_id
|
|
2964
|
+
|
|
2965
|
+
def initialize(**args)
|
|
2966
|
+
update!(**args)
|
|
2967
|
+
end
|
|
2968
|
+
|
|
2969
|
+
# Update properties of this object
|
|
2970
|
+
def update!(**args)
|
|
2971
|
+
@description = args[:description] if args.key?(:description)
|
|
2972
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2973
|
+
@error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
|
|
2974
|
+
@external_task_type = args[:external_task_type] if args.key?(:external_task_type)
|
|
2975
|
+
@next_tasks = args[:next_tasks] if args.key?(:next_tasks)
|
|
2976
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
2977
|
+
@task = args[:task] if args.key?(:task)
|
|
2978
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
|
2979
|
+
end
|
|
2980
|
+
end
|
|
2981
|
+
|
|
2982
|
+
# Message for task response status.
|
|
2983
|
+
class GoogleCloudIntegrationsV2DuetTaskResponseStatus
|
|
2984
|
+
include Google::Apis::Core::Hashable
|
|
2985
|
+
|
|
2986
|
+
# The error message of the task response in case of failure.
|
|
2987
|
+
# Corresponds to the JSON property `errorMessage`
|
|
2988
|
+
# @return [String]
|
|
2989
|
+
attr_accessor :error_message
|
|
2990
|
+
|
|
2991
|
+
# The http code of the task response.
|
|
2992
|
+
# Corresponds to the JSON property `httpCode`
|
|
2993
|
+
# @return [Fixnum]
|
|
2994
|
+
attr_accessor :http_code
|
|
2995
|
+
|
|
2996
|
+
# The task type.
|
|
2997
|
+
# Corresponds to the JSON property `taskType`
|
|
2998
|
+
# @return [String]
|
|
2999
|
+
attr_accessor :task_type
|
|
3000
|
+
|
|
3001
|
+
def initialize(**args)
|
|
3002
|
+
update!(**args)
|
|
3003
|
+
end
|
|
3004
|
+
|
|
3005
|
+
# Update properties of this object
|
|
3006
|
+
def update!(**args)
|
|
3007
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
|
3008
|
+
@http_code = args[:http_code] if args.key?(:http_code)
|
|
3009
|
+
@task_type = args[:task_type] if args.key?(:task_type)
|
|
3010
|
+
end
|
|
3011
|
+
end
|
|
3012
|
+
|
|
3013
|
+
# Configuration detail of a trigger.
|
|
3014
|
+
class GoogleCloudIntegrationsV2DuetTriggerConfig
|
|
3015
|
+
include Google::Apis::Core::Hashable
|
|
3016
|
+
|
|
3017
|
+
# Cloud Scheduler Trigger configuration
|
|
3018
|
+
# Corresponds to the JSON property `cloudSchedulerConfig`
|
|
3019
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetCloudSchedulerConfig]
|
|
3020
|
+
attr_accessor :cloud_scheduler_config
|
|
3021
|
+
|
|
3022
|
+
# Optional. User-provided description intended to give additional business
|
|
3023
|
+
# context about the task.
|
|
3024
|
+
# Corresponds to the JSON property `description`
|
|
3025
|
+
# @return [String]
|
|
3026
|
+
attr_accessor :description
|
|
3027
|
+
|
|
3028
|
+
# Optional. Optional Error catcher id of the error catch flow which will be
|
|
3029
|
+
# executed when execution error happens in the task
|
|
3030
|
+
# Corresponds to the JSON property `errorCatcherId`
|
|
3031
|
+
# @return [String]
|
|
3032
|
+
attr_accessor :error_catcher_id
|
|
3033
|
+
|
|
3034
|
+
# Variables names mapped to api trigger.
|
|
3035
|
+
# Corresponds to the JSON property `inputVariables`
|
|
3036
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTriggerConfigVariables]
|
|
3037
|
+
attr_accessor :input_variables
|
|
3038
|
+
|
|
3039
|
+
# Optional. The user created label for a particular trigger.
|
|
3040
|
+
# Corresponds to the JSON property `label`
|
|
3041
|
+
# @return [String]
|
|
3042
|
+
attr_accessor :label
|
|
3043
|
+
|
|
3044
|
+
# Variables names mapped to api trigger.
|
|
3045
|
+
# Corresponds to the JSON property `outputVariables`
|
|
3046
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetTriggerConfigVariables]
|
|
3047
|
+
attr_accessor :output_variables
|
|
3048
|
+
|
|
3049
|
+
# Optional. Configurable properties of the trigger, not to be confused with
|
|
3050
|
+
# integration parameters. E.g. "name" is a property for API triggers and "
|
|
3051
|
+
# subscription" is a property for Pub/sub triggers.
|
|
3052
|
+
# Corresponds to the JSON property `properties`
|
|
3053
|
+
# @return [Hash<String,String>]
|
|
3054
|
+
attr_accessor :properties
|
|
3055
|
+
|
|
3056
|
+
# Optional. Set of tasks numbers from where the integration execution is started
|
|
3057
|
+
# by this trigger. If this is empty, then integration is executed with default
|
|
3058
|
+
# start tasks. In the list of start tasks, none of two tasks can have direct
|
|
3059
|
+
# ancestor-descendant relationships (i.e. in a same integration execution graph).
|
|
3060
|
+
# Corresponds to the JSON property `startTasks`
|
|
3061
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetNextTask>]
|
|
3062
|
+
attr_accessor :start_tasks
|
|
3063
|
+
|
|
3064
|
+
# Optional. Name of the trigger. Example: "API Trigger", "Cloud Pub Sub Trigger"
|
|
3065
|
+
# When set will be sent out to monitoring dashabord for tracking purpose.
|
|
3066
|
+
# Corresponds to the JSON property `trigger`
|
|
3067
|
+
# @return [String]
|
|
3068
|
+
attr_accessor :trigger
|
|
3069
|
+
|
|
3070
|
+
# Optional. The backend trigger ID.
|
|
3071
|
+
# Corresponds to the JSON property `triggerId`
|
|
3072
|
+
# @return [String]
|
|
3073
|
+
attr_accessor :trigger_id
|
|
3074
|
+
|
|
3075
|
+
# Required. A number to uniquely identify each trigger config within the
|
|
3076
|
+
# integration on UI.
|
|
3077
|
+
# Corresponds to the JSON property `triggerNumber`
|
|
3078
|
+
# @return [String]
|
|
3079
|
+
attr_accessor :trigger_number
|
|
3080
|
+
|
|
3081
|
+
# Optional. Type of trigger
|
|
3082
|
+
# Corresponds to the JSON property `triggerType`
|
|
3083
|
+
# @return [String]
|
|
3084
|
+
attr_accessor :trigger_type
|
|
3085
|
+
|
|
3086
|
+
def initialize(**args)
|
|
3087
|
+
update!(**args)
|
|
3088
|
+
end
|
|
3089
|
+
|
|
3090
|
+
# Update properties of this object
|
|
3091
|
+
def update!(**args)
|
|
3092
|
+
@cloud_scheduler_config = args[:cloud_scheduler_config] if args.key?(:cloud_scheduler_config)
|
|
3093
|
+
@description = args[:description] if args.key?(:description)
|
|
3094
|
+
@error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
|
|
3095
|
+
@input_variables = args[:input_variables] if args.key?(:input_variables)
|
|
3096
|
+
@label = args[:label] if args.key?(:label)
|
|
3097
|
+
@output_variables = args[:output_variables] if args.key?(:output_variables)
|
|
3098
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
3099
|
+
@start_tasks = args[:start_tasks] if args.key?(:start_tasks)
|
|
3100
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
|
3101
|
+
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
|
|
3102
|
+
@trigger_number = args[:trigger_number] if args.key?(:trigger_number)
|
|
3103
|
+
@trigger_type = args[:trigger_type] if args.key?(:trigger_type)
|
|
3104
|
+
end
|
|
3105
|
+
end
|
|
3106
|
+
|
|
3107
|
+
# Variables names mapped to api trigger.
|
|
3108
|
+
class GoogleCloudIntegrationsV2DuetTriggerConfigVariables
|
|
3109
|
+
include Google::Apis::Core::Hashable
|
|
3110
|
+
|
|
3111
|
+
# Optional. List of variable names.
|
|
3112
|
+
# Corresponds to the JSON property `names`
|
|
3113
|
+
# @return [Array<String>]
|
|
3114
|
+
attr_accessor :names
|
|
3115
|
+
|
|
3116
|
+
def initialize(**args)
|
|
3117
|
+
update!(**args)
|
|
3118
|
+
end
|
|
3119
|
+
|
|
3120
|
+
# Update properties of this object
|
|
3121
|
+
def update!(**args)
|
|
3122
|
+
@names = args[:names] if args.key?(:names)
|
|
3123
|
+
end
|
|
3124
|
+
end
|
|
3125
|
+
|
|
3126
|
+
# Response for troubleshooting an integration execution.
|
|
3127
|
+
class GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse
|
|
3128
|
+
include Google::Apis::Core::Hashable
|
|
3129
|
+
|
|
3130
|
+
# Detailed explanation of the root cause of the integration execution failure.
|
|
3131
|
+
# Corresponds to the JSON property `detailedExplanation`
|
|
3132
|
+
# @return [String]
|
|
3133
|
+
attr_accessor :detailed_explanation
|
|
3134
|
+
|
|
3135
|
+
# Display message to be shown to the user. Example - If integration execution
|
|
3136
|
+
# succeeded, this field value can be "Integration execution succeeded. No
|
|
3137
|
+
# troubleshooting needed.".
|
|
3138
|
+
# Corresponds to the JSON property `displayMessage`
|
|
3139
|
+
# @return [String]
|
|
3140
|
+
attr_accessor :display_message
|
|
3141
|
+
|
|
3142
|
+
# Error message of the integration execution, if the execution failed.
|
|
3143
|
+
# Corresponds to the JSON property `errorMessage`
|
|
3144
|
+
# @return [String]
|
|
3145
|
+
attr_accessor :error_message
|
|
3146
|
+
|
|
3147
|
+
# The execution id of the integration execution to be troubleshooted.
|
|
3148
|
+
# Corresponds to the JSON property `executionId`
|
|
3149
|
+
# @return [String]
|
|
3150
|
+
attr_accessor :execution_id
|
|
3151
|
+
|
|
3152
|
+
# Root cause of the integration execution failure.
|
|
3153
|
+
# Corresponds to the JSON property `rootCause`
|
|
3154
|
+
# @return [String]
|
|
3155
|
+
attr_accessor :root_cause
|
|
3156
|
+
|
|
3157
|
+
def initialize(**args)
|
|
3158
|
+
update!(**args)
|
|
3159
|
+
end
|
|
3160
|
+
|
|
3161
|
+
# Update properties of this object
|
|
3162
|
+
def update!(**args)
|
|
3163
|
+
@detailed_explanation = args[:detailed_explanation] if args.key?(:detailed_explanation)
|
|
3164
|
+
@display_message = args[:display_message] if args.key?(:display_message)
|
|
3165
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
|
3166
|
+
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
|
3167
|
+
@root_cause = args[:root_cause] if args.key?(:root_cause)
|
|
3168
|
+
end
|
|
3169
|
+
end
|
|
3170
|
+
|
|
3171
|
+
# The type of the parameter.
|
|
3172
|
+
class GoogleCloudIntegrationsV2DuetValueType
|
|
3173
|
+
include Google::Apis::Core::Hashable
|
|
3174
|
+
|
|
3175
|
+
# This message only contains a field of boolean array.
|
|
3176
|
+
# Corresponds to the JSON property `booleanArray`
|
|
3177
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetBooleanParameterArray]
|
|
3178
|
+
attr_accessor :boolean_array
|
|
3179
|
+
|
|
3180
|
+
# Boolean.
|
|
3181
|
+
# Corresponds to the JSON property `booleanValue`
|
|
3182
|
+
# @return [Boolean]
|
|
3183
|
+
attr_accessor :boolean_value
|
|
3184
|
+
alias_method :boolean_value?, :boolean_value
|
|
3185
|
+
|
|
3186
|
+
# This message only contains a field of double number array.
|
|
3187
|
+
# Corresponds to the JSON property `doubleArray`
|
|
3188
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetDoubleParameterArray]
|
|
3189
|
+
attr_accessor :double_array
|
|
3190
|
+
|
|
3191
|
+
# Double Number.
|
|
3192
|
+
# Corresponds to the JSON property `doubleValue`
|
|
3193
|
+
# @return [Float]
|
|
3194
|
+
attr_accessor :double_value
|
|
3195
|
+
|
|
3196
|
+
# This message only contains a field of integer array.
|
|
3197
|
+
# Corresponds to the JSON property `intArray`
|
|
3198
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetIntParameterArray]
|
|
3199
|
+
attr_accessor :int_array
|
|
3200
|
+
|
|
3201
|
+
# Integer.
|
|
3202
|
+
# Corresponds to the JSON property `intValue`
|
|
3203
|
+
# @return [Fixnum]
|
|
3204
|
+
attr_accessor :int_value
|
|
3205
|
+
|
|
3206
|
+
# Json.
|
|
3207
|
+
# Corresponds to the JSON property `jsonValue`
|
|
3208
|
+
# @return [String]
|
|
3209
|
+
attr_accessor :json_value
|
|
3210
|
+
|
|
3211
|
+
# This message only contains a field of string array.
|
|
3212
|
+
# Corresponds to the JSON property `stringArray`
|
|
3213
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2DuetStringParameterArray]
|
|
3214
|
+
attr_accessor :string_array
|
|
3215
|
+
|
|
3216
|
+
# String.
|
|
3217
|
+
# Corresponds to the JSON property `stringValue`
|
|
3218
|
+
# @return [String]
|
|
3219
|
+
attr_accessor :string_value
|
|
3220
|
+
|
|
3221
|
+
def initialize(**args)
|
|
3222
|
+
update!(**args)
|
|
3223
|
+
end
|
|
3224
|
+
|
|
3225
|
+
# Update properties of this object
|
|
3226
|
+
def update!(**args)
|
|
3227
|
+
@boolean_array = args[:boolean_array] if args.key?(:boolean_array)
|
|
3228
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
|
3229
|
+
@double_array = args[:double_array] if args.key?(:double_array)
|
|
3230
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
3231
|
+
@int_array = args[:int_array] if args.key?(:int_array)
|
|
3232
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
|
3233
|
+
@json_value = args[:json_value] if args.key?(:json_value)
|
|
3234
|
+
@string_array = args[:string_array] if args.key?(:string_array)
|
|
3235
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
3236
|
+
end
|
|
3237
|
+
end
|
|
3238
|
+
|
|
3239
|
+
# The Execution contains detailed information of an individual integration
|
|
3240
|
+
# execution.
|
|
3241
|
+
class GoogleCloudIntegrationsV2Execution
|
|
3242
|
+
include Google::Apis::Core::Hashable
|
|
3243
|
+
|
|
3244
|
+
# Cloud Logging details for execution info
|
|
3245
|
+
# Corresponds to the JSON property `cloudLoggingDetails`
|
|
3246
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2CloudLoggingDetails]
|
|
3247
|
+
attr_accessor :cloud_logging_details
|
|
3248
|
+
|
|
3249
|
+
# Indicates if the task execution contains variables.
|
|
3250
|
+
# Corresponds to the JSON property `containTaskVariables`
|
|
3251
|
+
# @return [Boolean]
|
|
3252
|
+
attr_accessor :contain_task_variables
|
|
3253
|
+
alias_method :contain_task_variables?, :contain_task_variables
|
|
3254
|
+
|
|
3255
|
+
# Output only. Time the execution is created.
|
|
3256
|
+
# Corresponds to the JSON property `createTime`
|
|
3257
|
+
# @return [String]
|
|
3258
|
+
attr_accessor :create_time
|
|
3259
|
+
|
|
3260
|
+
# Start and end time of each execution attempt.
|
|
3261
|
+
# Corresponds to the JSON property `executionAttemptStats`
|
|
3262
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2AttemptStats>]
|
|
3263
|
+
attr_accessor :execution_attempt_stats
|
|
3264
|
+
|
|
3265
|
+
# Indicates which snapshot of integration is used for this execution.
|
|
3266
|
+
# Corresponds to the JSON property `integrationVersionNumber`
|
|
3267
|
+
# @return [Fixnum]
|
|
3268
|
+
attr_accessor :integration_version_number
|
|
3269
|
+
|
|
3270
|
+
# Optional. User-defined label that annotates the executed integration version.
|
|
3271
|
+
# Corresponds to the JSON property `integrationVersionUserLabel`
|
|
3272
|
+
# @return [String]
|
|
3273
|
+
attr_accessor :integration_version_user_label
|
|
3274
|
+
|
|
3275
|
+
# Identifier. Execution resource name.
|
|
3276
|
+
# Corresponds to the JSON property `name`
|
|
3277
|
+
# @return [String]
|
|
3278
|
+
attr_accessor :name
|
|
3279
|
+
|
|
3280
|
+
# Contains the details of the execution info: this includes the replay reason
|
|
3281
|
+
# and replay tree connecting executions in a parent-child relationship
|
|
3282
|
+
# Corresponds to the JSON property `replayInfo`
|
|
3283
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2ExecutionReplayInfo]
|
|
3284
|
+
attr_accessor :replay_info
|
|
3285
|
+
|
|
3286
|
+
# Optional. Variables provided in the request.
|
|
3287
|
+
# Corresponds to the JSON property `requestVariables`
|
|
3288
|
+
# @return [Hash<String,Object>]
|
|
3289
|
+
attr_accessor :request_variables
|
|
3290
|
+
|
|
3291
|
+
# Optional. Variables returned as part of the response.
|
|
3292
|
+
# Corresponds to the JSON property `responseVariables`
|
|
3293
|
+
# @return [Hash<String,Object>]
|
|
3294
|
+
attr_accessor :response_variables
|
|
3295
|
+
|
|
3296
|
+
# Output only. Status of the execution.
|
|
3297
|
+
# Corresponds to the JSON property `state`
|
|
3298
|
+
# @return [String]
|
|
3299
|
+
attr_accessor :state
|
|
3300
|
+
|
|
3301
|
+
# Optional. List of task executions.
|
|
3302
|
+
# Corresponds to the JSON property `taskExecutions`
|
|
3303
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2TaskExecution>]
|
|
3304
|
+
attr_accessor :task_executions
|
|
3305
|
+
|
|
3306
|
+
# The ID of the trigger invoked at the start of the execution.
|
|
3307
|
+
# Corresponds to the JSON property `triggerId`
|
|
3308
|
+
# @return [String]
|
|
3309
|
+
attr_accessor :trigger_id
|
|
3310
|
+
|
|
3311
|
+
# Output only. Time the execution is recently updated.
|
|
3312
|
+
# Corresponds to the JSON property `updateTime`
|
|
3313
|
+
# @return [String]
|
|
3314
|
+
attr_accessor :update_time
|
|
3315
|
+
|
|
3316
|
+
def initialize(**args)
|
|
3317
|
+
update!(**args)
|
|
3318
|
+
end
|
|
3319
|
+
|
|
3320
|
+
# Update properties of this object
|
|
3321
|
+
def update!(**args)
|
|
3322
|
+
@cloud_logging_details = args[:cloud_logging_details] if args.key?(:cloud_logging_details)
|
|
3323
|
+
@contain_task_variables = args[:contain_task_variables] if args.key?(:contain_task_variables)
|
|
3324
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3325
|
+
@execution_attempt_stats = args[:execution_attempt_stats] if args.key?(:execution_attempt_stats)
|
|
3326
|
+
@integration_version_number = args[:integration_version_number] if args.key?(:integration_version_number)
|
|
3327
|
+
@integration_version_user_label = args[:integration_version_user_label] if args.key?(:integration_version_user_label)
|
|
3328
|
+
@name = args[:name] if args.key?(:name)
|
|
3329
|
+
@replay_info = args[:replay_info] if args.key?(:replay_info)
|
|
3330
|
+
@request_variables = args[:request_variables] if args.key?(:request_variables)
|
|
3331
|
+
@response_variables = args[:response_variables] if args.key?(:response_variables)
|
|
3332
|
+
@state = args[:state] if args.key?(:state)
|
|
3333
|
+
@task_executions = args[:task_executions] if args.key?(:task_executions)
|
|
3334
|
+
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
|
|
3335
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3336
|
+
end
|
|
3337
|
+
end
|
|
3338
|
+
|
|
3339
|
+
# Contains the details of the execution info: this includes the replay reason
|
|
3340
|
+
# and replay tree connecting executions in a parent-child relationship
|
|
3341
|
+
class GoogleCloudIntegrationsV2ExecutionReplayInfo
|
|
3342
|
+
include Google::Apis::Core::Hashable
|
|
3343
|
+
|
|
3344
|
+
# If this execution is a replay of another execution, then this field contains
|
|
3345
|
+
# the original execution id.
|
|
3346
|
+
# Corresponds to the JSON property `originalExecutionId`
|
|
3347
|
+
# @return [String]
|
|
3348
|
+
attr_accessor :original_execution_id
|
|
3349
|
+
|
|
3350
|
+
# Replay mode for the execution
|
|
3351
|
+
# Corresponds to the JSON property `replayMode`
|
|
3352
|
+
# @return [String]
|
|
3353
|
+
attr_accessor :replay_mode
|
|
3354
|
+
|
|
3355
|
+
# reason for replay
|
|
3356
|
+
# Corresponds to the JSON property `replayReason`
|
|
3357
|
+
# @return [String]
|
|
3358
|
+
attr_accessor :replay_reason
|
|
3359
|
+
|
|
3360
|
+
# If this execution has been replayed, then this field contains the execution
|
|
3361
|
+
# ids of the replayed executions.
|
|
3362
|
+
# Corresponds to the JSON property `replayedExecutionIds`
|
|
3363
|
+
# @return [Array<String>]
|
|
3364
|
+
attr_accessor :replayed_execution_ids
|
|
3365
|
+
|
|
3366
|
+
def initialize(**args)
|
|
3367
|
+
update!(**args)
|
|
3368
|
+
end
|
|
3369
|
+
|
|
3370
|
+
# Update properties of this object
|
|
3371
|
+
def update!(**args)
|
|
3372
|
+
@original_execution_id = args[:original_execution_id] if args.key?(:original_execution_id)
|
|
3373
|
+
@replay_mode = args[:replay_mode] if args.key?(:replay_mode)
|
|
3374
|
+
@replay_reason = args[:replay_reason] if args.key?(:replay_reason)
|
|
3375
|
+
@replayed_execution_ids = args[:replayed_execution_ids] if args.key?(:replayed_execution_ids)
|
|
3376
|
+
end
|
|
3377
|
+
end
|
|
3378
|
+
|
|
3379
|
+
# Response for listing the Integration executions.
|
|
3380
|
+
class GoogleCloudIntegrationsV2ListExecutionsResponse
|
|
3381
|
+
include Google::Apis::Core::Hashable
|
|
3382
|
+
|
|
3383
|
+
# Required. The list of executions.
|
|
3384
|
+
# Corresponds to the JSON property `executions`
|
|
3385
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2Execution>]
|
|
3386
|
+
attr_accessor :executions
|
|
3387
|
+
|
|
3388
|
+
# The token for retrieving the next page of results.
|
|
3389
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3390
|
+
# @return [String]
|
|
3391
|
+
attr_accessor :next_page_token
|
|
3392
|
+
|
|
3393
|
+
def initialize(**args)
|
|
3394
|
+
update!(**args)
|
|
3395
|
+
end
|
|
3396
|
+
|
|
3397
|
+
# Update properties of this object
|
|
3398
|
+
def update!(**args)
|
|
3399
|
+
@executions = args[:executions] if args.key?(:executions)
|
|
3400
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3401
|
+
end
|
|
3402
|
+
end
|
|
3403
|
+
|
|
3404
|
+
# Execution of a single task within an integration
|
|
3405
|
+
class GoogleCloudIntegrationsV2TaskExecution
|
|
3406
|
+
include Google::Apis::Core::Hashable
|
|
3407
|
+
|
|
3408
|
+
# Identifier. Task execution resource name.
|
|
3409
|
+
# Corresponds to the JSON property `name`
|
|
3410
|
+
# @return [String]
|
|
3411
|
+
attr_accessor :name
|
|
3412
|
+
|
|
3413
|
+
# Details of the task execution.
|
|
3414
|
+
# Corresponds to the JSON property `taskExecutionDetails`
|
|
3415
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2TaskExecutionDetails>]
|
|
3416
|
+
attr_accessor :task_execution_details
|
|
3417
|
+
|
|
3418
|
+
# Metadata of the task execution.
|
|
3419
|
+
# Corresponds to the JSON property `taskExecutionMetadata`
|
|
3420
|
+
# @return [Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata]
|
|
3421
|
+
attr_accessor :task_execution_metadata
|
|
3422
|
+
|
|
3423
|
+
# Optional. Variables used during the execution.
|
|
3424
|
+
# Corresponds to the JSON property `variables`
|
|
3425
|
+
# @return [Hash<String,Object>]
|
|
3426
|
+
attr_accessor :variables
|
|
3427
|
+
|
|
3428
|
+
def initialize(**args)
|
|
3429
|
+
update!(**args)
|
|
3430
|
+
end
|
|
3431
|
+
|
|
3432
|
+
# Update properties of this object
|
|
3433
|
+
def update!(**args)
|
|
3434
|
+
@name = args[:name] if args.key?(:name)
|
|
3435
|
+
@task_execution_details = args[:task_execution_details] if args.key?(:task_execution_details)
|
|
3436
|
+
@task_execution_metadata = args[:task_execution_metadata] if args.key?(:task_execution_metadata)
|
|
3437
|
+
@variables = args[:variables] if args.key?(:variables)
|
|
3438
|
+
end
|
|
3439
|
+
end
|
|
3440
|
+
|
|
3441
|
+
# Details of the task execution.
|
|
3442
|
+
class GoogleCloudIntegrationsV2TaskExecutionDetails
|
|
3443
|
+
include Google::Apis::Core::Hashable
|
|
3444
|
+
|
|
3445
|
+
# List for the current task execution attempts.
|
|
3446
|
+
# Corresponds to the JSON property `taskAttemptStats`
|
|
3447
|
+
# @return [Array<Google::Apis::IntegrationsV2::GoogleCloudIntegrationsV2AttemptStats>]
|
|
3448
|
+
attr_accessor :task_attempt_stats
|
|
3449
|
+
|
|
3450
|
+
# Output only. The execution state of this task.
|
|
3451
|
+
# Corresponds to the JSON property `taskExecutionState`
|
|
3452
|
+
# @return [String]
|
|
3453
|
+
attr_accessor :task_execution_state
|
|
3454
|
+
|
|
3455
|
+
# Pointer to the task config it used for execution.
|
|
3456
|
+
# Corresponds to the JSON property `taskNumber`
|
|
3457
|
+
# @return [String]
|
|
3458
|
+
attr_accessor :task_number
|
|
3459
|
+
|
|
3460
|
+
def initialize(**args)
|
|
3461
|
+
update!(**args)
|
|
3462
|
+
end
|
|
3463
|
+
|
|
3464
|
+
# Update properties of this object
|
|
3465
|
+
def update!(**args)
|
|
3466
|
+
@task_attempt_stats = args[:task_attempt_stats] if args.key?(:task_attempt_stats)
|
|
3467
|
+
@task_execution_state = args[:task_execution_state] if args.key?(:task_execution_state)
|
|
3468
|
+
@task_number = args[:task_number] if args.key?(:task_number)
|
|
3469
|
+
end
|
|
3470
|
+
end
|
|
3471
|
+
|
|
3472
|
+
# Metadata of the task execution.
|
|
3473
|
+
class GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata
|
|
3474
|
+
include Google::Apis::Core::Hashable
|
|
3475
|
+
|
|
3476
|
+
# Optional. Ancestor iteration number for the task (it will only be non-empty if
|
|
3477
|
+
# the task is under 'private integration').
|
|
3478
|
+
# Corresponds to the JSON property `ancestorIterationNumbers`
|
|
3479
|
+
# @return [Array<String>]
|
|
3480
|
+
attr_accessor :ancestor_iteration_numbers
|
|
3481
|
+
|
|
3482
|
+
# Optional. Ancestor task number for the task (it will only be non-empty if the
|
|
3483
|
+
# task is under 'private integration').
|
|
3484
|
+
# Corresponds to the JSON property `ancestorTaskNumbers`
|
|
3485
|
+
# @return [Array<String>]
|
|
3486
|
+
attr_accessor :ancestor_task_numbers
|
|
3487
|
+
|
|
3488
|
+
# The execution attempt number this execution belongs to.
|
|
3489
|
+
# Corresponds to the JSON property `executionAttempt`
|
|
3490
|
+
# @return [Fixnum]
|
|
3491
|
+
attr_accessor :execution_attempt
|
|
3492
|
+
|
|
3493
|
+
# Optional. The direct integration which the execution belongs to.
|
|
3494
|
+
# Corresponds to the JSON property `privateIntegrationName`
|
|
3495
|
+
# @return [String]
|
|
3496
|
+
attr_accessor :private_integration_name
|
|
3497
|
+
|
|
3498
|
+
# The task name associated with this execution.
|
|
3499
|
+
# Corresponds to the JSON property `task`
|
|
3500
|
+
# @return [String]
|
|
3501
|
+
attr_accessor :task
|
|
3502
|
+
|
|
3503
|
+
# The task attempt number this execution belongs to.
|
|
3504
|
+
# Corresponds to the JSON property `taskAttempt`
|
|
3505
|
+
# @return [Fixnum]
|
|
3506
|
+
attr_accessor :task_attempt
|
|
3507
|
+
|
|
3508
|
+
# The task label associated with this execution.
|
|
3509
|
+
# Corresponds to the JSON property `taskLabel`
|
|
3510
|
+
# @return [String]
|
|
3511
|
+
attr_accessor :task_label
|
|
3512
|
+
|
|
3513
|
+
# The task number associated with this execution.
|
|
3514
|
+
# Corresponds to the JSON property `taskNumber`
|
|
3515
|
+
# @return [String]
|
|
3516
|
+
attr_accessor :task_number
|
|
3517
|
+
|
|
3518
|
+
def initialize(**args)
|
|
3519
|
+
update!(**args)
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
# Update properties of this object
|
|
3523
|
+
def update!(**args)
|
|
3524
|
+
@ancestor_iteration_numbers = args[:ancestor_iteration_numbers] if args.key?(:ancestor_iteration_numbers)
|
|
3525
|
+
@ancestor_task_numbers = args[:ancestor_task_numbers] if args.key?(:ancestor_task_numbers)
|
|
3526
|
+
@execution_attempt = args[:execution_attempt] if args.key?(:execution_attempt)
|
|
3527
|
+
@private_integration_name = args[:private_integration_name] if args.key?(:private_integration_name)
|
|
3528
|
+
@task = args[:task] if args.key?(:task)
|
|
3529
|
+
@task_attempt = args[:task_attempt] if args.key?(:task_attempt)
|
|
3530
|
+
@task_label = args[:task_label] if args.key?(:task_label)
|
|
3531
|
+
@task_number = args[:task_number] if args.key?(:task_number)
|
|
3532
|
+
end
|
|
3533
|
+
end
|
|
3534
|
+
|
|
3535
|
+
# LINT.IfChange Use this request to post all workflows associated with a given
|
|
3536
|
+
# trigger id. Next available id: 13
|
|
3537
|
+
class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest
|
|
3538
|
+
include Google::Apis::Core::Hashable
|
|
3539
|
+
|
|
3540
|
+
# Optional. If the client id is provided, then the combination of trigger id and
|
|
3541
|
+
# client id is matched across all the workflows. If the client id is not
|
|
3542
|
+
# provided, then workflows with matching trigger id are executed for each client
|
|
3543
|
+
# id in the `@link TriggerConfig`. For Api Trigger, the client id is required
|
|
3544
|
+
# and will be validated against the allowed clients.
|
|
3545
|
+
# Corresponds to the JSON property `clientId`
|
|
3546
|
+
# @return [String]
|
|
3547
|
+
attr_accessor :client_id
|
|
3548
|
+
|
|
3549
|
+
# Optional. Flag to determine whether clients would suppress a warning when no
|
|
3550
|
+
# ACTIVE workflows are not found. If this flag is set to be true, an error will
|
|
3551
|
+
# not be thrown if the requested trigger_id or client_id is not found in any
|
|
3552
|
+
# ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be
|
|
3553
|
+
# false by default.
|
|
3554
|
+
# Corresponds to the JSON property `ignoreErrorIfNoActiveWorkflow`
|
|
3555
|
+
# @return [Boolean]
|
|
3556
|
+
attr_accessor :ignore_error_if_no_active_workflow
|
|
3557
|
+
alias_method :ignore_error_if_no_active_workflow?, :ignore_error_if_no_active_workflow
|
|
3558
|
+
|
|
3559
|
+
# LINT.IfChange This message is used for processing and persisting (when
|
|
3560
|
+
# applicable) key value pair parameters for each event in the event bus. Please
|
|
3561
|
+
# see
|
|
3562
|
+
# Corresponds to the JSON property `parameters`
|
|
3563
|
+
# @return [Google::Apis::IntegrationsV2::EnterpriseCrmEventbusProtoEventParameters]
|
|
3564
|
+
attr_accessor :parameters
|
|
3565
|
+
|
|
3566
|
+
# The request priority this request should be processed at. For internal users:
|
|
3567
|
+
# Corresponds to the JSON property `priority`
|
|
3568
|
+
# @return [String]
|
|
3569
|
+
attr_accessor :priority
|
|
3570
|
+
|
|
3571
|
+
# Optional. This is a field to see the quota retry count for integration
|
|
3572
|
+
# execution
|
|
3573
|
+
# Corresponds to the JSON property `quotaRetryCount`
|
|
3574
|
+
# @return [Fixnum]
|
|
3575
|
+
attr_accessor :quota_retry_count
|
|
3576
|
+
|
|
3577
|
+
# Optional. This is used to de-dup incoming request: if the duplicate request
|
|
3578
|
+
# was detected, the response from the previous execution is returned. Must have
|
|
3579
|
+
# no more than 36 characters and contain only alphanumeric characters and
|
|
3580
|
+
# hyphens.
|
|
3581
|
+
# Corresponds to the JSON property `requestId`
|
|
3582
|
+
# @return [String]
|
|
3583
|
+
attr_accessor :request_id
|
|
3584
|
+
|
|
3585
|
+
# This field is only required when using Admin Access. The resource name of
|
|
3586
|
+
# target, or the parent resource name. For example: "projects/*/locations/*/
|
|
3587
|
+
# integrations/*"
|
|
3588
|
+
# Corresponds to the JSON property `resourceName`
|
|
3589
|
+
# @return [String]
|
|
3590
|
+
attr_accessor :resource_name
|
|
3591
|
+
|
|
3592
|
+
# Optional. Time in milliseconds since epoch when the given event would be
|
|
3593
|
+
# scheduled.
|
|
3594
|
+
# Corresponds to the JSON property `scheduledTime`
|
|
3595
|
+
# @return [Fixnum]
|
|
3596
|
+
attr_accessor :scheduled_time
|
|
3597
|
+
|
|
3598
|
+
# Optional. Sets test mode in `@link enterprise/crm/eventbus/event_message.proto`
|
|
3599
|
+
# .
|
|
3600
|
+
# Corresponds to the JSON property `testMode`
|
|
3601
|
+
# @return [Boolean]
|
|
3602
|
+
attr_accessor :test_mode
|
|
3603
|
+
alias_method :test_mode?, :test_mode
|
|
3604
|
+
|
|
3605
|
+
# Matched against all `@link TriggerConfig`s across all workflows. i.e.
|
|
3606
|
+
# TriggerConfig.trigger_id.equals(trigger_id) Required.
|
|
3607
|
+
# Corresponds to the JSON property `triggerId`
|
|
3608
|
+
# @return [String]
|
|
3609
|
+
attr_accessor :trigger_id
|
|
3610
|
+
|
|
3611
|
+
# This is a unique id provided by the method caller. If provided this will be
|
|
3612
|
+
# used as the execution_id when a new execution info is created. This is a
|
|
3613
|
+
# string representation of a UUID. Must have no more than 36 characters and
|
|
3614
|
+
# contain only alphanumeric characters and hyphens.
|
|
3615
|
+
# Corresponds to the JSON property `userGeneratedExecutionId`
|
|
3616
|
+
# @return [String]
|
|
3617
|
+
attr_accessor :user_generated_execution_id
|
|
3618
|
+
|
|
3619
|
+
# Optional. If provided, the workflow_name is used to filter all the matched
|
|
3620
|
+
# workflows having same trigger_id+client_id. A combination of trigger_id,
|
|
3621
|
+
# client_id and workflow_name identifies a unique workflow.
|
|
3622
|
+
# Corresponds to the JSON property `workflowName`
|
|
3623
|
+
# @return [String]
|
|
3624
|
+
attr_accessor :workflow_name
|
|
3625
|
+
|
|
3626
|
+
def initialize(**args)
|
|
3627
|
+
update!(**args)
|
|
3628
|
+
end
|
|
3629
|
+
|
|
3630
|
+
# Update properties of this object
|
|
3631
|
+
def update!(**args)
|
|
3632
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
|
3633
|
+
@ignore_error_if_no_active_workflow = args[:ignore_error_if_no_active_workflow] if args.key?(:ignore_error_if_no_active_workflow)
|
|
3634
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
3635
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
3636
|
+
@quota_retry_count = args[:quota_retry_count] if args.key?(:quota_retry_count)
|
|
3637
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
|
3638
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
3639
|
+
@scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time)
|
|
3640
|
+
@test_mode = args[:test_mode] if args.key?(:test_mode)
|
|
3641
|
+
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
|
|
3642
|
+
@user_generated_execution_id = args[:user_generated_execution_id] if args.key?(:user_generated_execution_id)
|
|
3643
|
+
@workflow_name = args[:workflow_name] if args.key?(:workflow_name)
|
|
3644
|
+
end
|
|
3645
|
+
end
|
|
3646
|
+
end
|
|
3647
|
+
end
|
|
3648
|
+
end
|