google-apis-cloudsupport_v2beta 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/cloudsupport_v2beta/classes.rb +1134 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +28 -0
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +487 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +602 -0
- data/lib/google/apis/cloudsupport_v2beta.rb +37 -0
- data/lib/google-apis-cloudsupport_v2beta.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,1134 @@
|
|
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 CloudsupportV2beta
|
24
|
+
|
25
|
+
# An object containing information about the effective user and authenticated
|
26
|
+
# principal responsible for an action.
|
27
|
+
class Actor
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# The name to display for the actor. If not provided, it is inferred from
|
31
|
+
# credentials supplied during case creation. When an email is provided, a
|
32
|
+
# display name must also be provided. This will be obfuscated if the user is a
|
33
|
+
# Google Support agent.
|
34
|
+
# Corresponds to the JSON property `displayName`
|
35
|
+
# @return [String]
|
36
|
+
attr_accessor :display_name
|
37
|
+
|
38
|
+
# The email address of the actor. If not provided, it is inferred from
|
39
|
+
# credentials supplied during case creation. If the authenticated principal does
|
40
|
+
# not have an email address, one must be provided. When a name is provided, an
|
41
|
+
# email must also be provided. This will be obfuscated if the user is a Google
|
42
|
+
# Support agent.
|
43
|
+
# Corresponds to the JSON property `email`
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :email
|
46
|
+
|
47
|
+
# Output only. Whether the actor is a Google support actor.
|
48
|
+
# Corresponds to the JSON property `googleSupport`
|
49
|
+
# @return [Boolean]
|
50
|
+
attr_accessor :google_support
|
51
|
+
alias_method :google_support?, :google_support
|
52
|
+
|
53
|
+
# Output only. An ID representing the user that was authenticated when the
|
54
|
+
# corresponding action was taken. This will be an email address, if one is
|
55
|
+
# available, or some other unique ID. See https://cloud.google.com/docs/
|
56
|
+
# authentication for more information on types of authentication.
|
57
|
+
# Corresponds to the JSON property `principalId`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :principal_id
|
60
|
+
|
61
|
+
def initialize(**args)
|
62
|
+
update!(**args)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Update properties of this object
|
66
|
+
def update!(**args)
|
67
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
68
|
+
@email = args[:email] if args.key?(:email)
|
69
|
+
@google_support = args[:google_support] if args.key?(:google_support)
|
70
|
+
@principal_id = args[:principal_id] if args.key?(:principal_id)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# Represents a file attached to a support case.
|
75
|
+
class Attachment
|
76
|
+
include Google::Apis::Core::Hashable
|
77
|
+
|
78
|
+
# Output only. The time at which the attachment was created.
|
79
|
+
# Corresponds to the JSON property `createTime`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :create_time
|
82
|
+
|
83
|
+
# An object containing information about the effective user and authenticated
|
84
|
+
# principal responsible for an action.
|
85
|
+
# Corresponds to the JSON property `creator`
|
86
|
+
# @return [Google::Apis::CloudsupportV2beta::Actor]
|
87
|
+
attr_accessor :creator
|
88
|
+
|
89
|
+
# The filename of the attachment (e.g. `"graph.jpg"`).
|
90
|
+
# Corresponds to the JSON property `filename`
|
91
|
+
# @return [String]
|
92
|
+
attr_accessor :filename
|
93
|
+
|
94
|
+
# Output only. The MIME type of the attachment (e.g. text/plain).
|
95
|
+
# Corresponds to the JSON property `mimeType`
|
96
|
+
# @return [String]
|
97
|
+
attr_accessor :mime_type
|
98
|
+
|
99
|
+
# Output only. The resource name of the attachment.
|
100
|
+
# Corresponds to the JSON property `name`
|
101
|
+
# @return [String]
|
102
|
+
attr_accessor :name
|
103
|
+
|
104
|
+
# Output only. The size of the attachment in bytes.
|
105
|
+
# Corresponds to the JSON property `sizeBytes`
|
106
|
+
# @return [Fixnum]
|
107
|
+
attr_accessor :size_bytes
|
108
|
+
|
109
|
+
def initialize(**args)
|
110
|
+
update!(**args)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Update properties of this object
|
114
|
+
def update!(**args)
|
115
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
116
|
+
@creator = args[:creator] if args.key?(:creator)
|
117
|
+
@filename = args[:filename] if args.key?(:filename)
|
118
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
119
|
+
@name = args[:name] if args.key?(:name)
|
120
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# # gdata.* are outside protos with mising documentation
|
125
|
+
class Blobstore2Info
|
126
|
+
include Google::Apis::Core::Hashable
|
127
|
+
|
128
|
+
# # gdata.* are outside protos with mising documentation
|
129
|
+
# Corresponds to the JSON property `blobGeneration`
|
130
|
+
# @return [Fixnum]
|
131
|
+
attr_accessor :blob_generation
|
132
|
+
|
133
|
+
# # gdata.* are outside protos with mising documentation
|
134
|
+
# Corresponds to the JSON property `blobId`
|
135
|
+
# @return [String]
|
136
|
+
attr_accessor :blob_id
|
137
|
+
|
138
|
+
# # gdata.* are outside protos with mising documentation
|
139
|
+
# Corresponds to the JSON property `downloadReadHandle`
|
140
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
141
|
+
# @return [String]
|
142
|
+
attr_accessor :download_read_handle
|
143
|
+
|
144
|
+
# # gdata.* are outside protos with mising documentation
|
145
|
+
# Corresponds to the JSON property `readToken`
|
146
|
+
# @return [String]
|
147
|
+
attr_accessor :read_token
|
148
|
+
|
149
|
+
# # gdata.* are outside protos with mising documentation
|
150
|
+
# Corresponds to the JSON property `uploadMetadataContainer`
|
151
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
152
|
+
# @return [String]
|
153
|
+
attr_accessor :upload_metadata_container
|
154
|
+
|
155
|
+
def initialize(**args)
|
156
|
+
update!(**args)
|
157
|
+
end
|
158
|
+
|
159
|
+
# Update properties of this object
|
160
|
+
def update!(**args)
|
161
|
+
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
|
162
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
163
|
+
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
|
164
|
+
@read_token = args[:read_token] if args.key?(:read_token)
|
165
|
+
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# A support case.
|
170
|
+
class Case
|
171
|
+
include Google::Apis::Core::Hashable
|
172
|
+
|
173
|
+
# A classification object with a product type and value.
|
174
|
+
# Corresponds to the JSON property `classification`
|
175
|
+
# @return [Google::Apis::CloudsupportV2beta::CaseClassification]
|
176
|
+
attr_accessor :classification
|
177
|
+
|
178
|
+
# Output only. The time this case was created.
|
179
|
+
# Corresponds to the JSON property `createTime`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :create_time
|
182
|
+
|
183
|
+
# An object containing information about the effective user and authenticated
|
184
|
+
# principal responsible for an action.
|
185
|
+
# Corresponds to the JSON property `creator`
|
186
|
+
# @return [Google::Apis::CloudsupportV2beta::Actor]
|
187
|
+
attr_accessor :creator
|
188
|
+
|
189
|
+
# A broad description of the issue.
|
190
|
+
# Corresponds to the JSON property `description`
|
191
|
+
# @return [String]
|
192
|
+
attr_accessor :description
|
193
|
+
|
194
|
+
# The short summary of the issue reported in this case.
|
195
|
+
# Corresponds to the JSON property `displayName`
|
196
|
+
# @return [String]
|
197
|
+
attr_accessor :display_name
|
198
|
+
|
199
|
+
# Whether the case is currently escalated.
|
200
|
+
# Corresponds to the JSON property `escalated`
|
201
|
+
# @return [Boolean]
|
202
|
+
attr_accessor :escalated
|
203
|
+
alias_method :escalated?, :escalated
|
204
|
+
|
205
|
+
# The resource name for the case.
|
206
|
+
# Corresponds to the JSON property `name`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :name
|
209
|
+
|
210
|
+
# The severity of this case.
|
211
|
+
# Corresponds to the JSON property `severity`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :severity
|
214
|
+
|
215
|
+
# Output only. The current status of the support case.
|
216
|
+
# Corresponds to the JSON property `state`
|
217
|
+
# @return [String]
|
218
|
+
attr_accessor :state
|
219
|
+
|
220
|
+
# The email addresses to receive updates on this case.
|
221
|
+
# Corresponds to the JSON property `subscriberEmailAddresses`
|
222
|
+
# @return [Array<String>]
|
223
|
+
attr_accessor :subscriber_email_addresses
|
224
|
+
|
225
|
+
# Whether this case was created for internal API testing and should not be acted
|
226
|
+
# on by the support team.
|
227
|
+
# Corresponds to the JSON property `testCase`
|
228
|
+
# @return [Boolean]
|
229
|
+
attr_accessor :test_case
|
230
|
+
alias_method :test_case?, :test_case
|
231
|
+
|
232
|
+
# The timezone of the user who created the support case. It should be in a
|
233
|
+
# format IANA recognizes: https://www.iana.org/time-zones. There is no
|
234
|
+
# additional validation done by the API.
|
235
|
+
# Corresponds to the JSON property `timeZone`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :time_zone
|
238
|
+
|
239
|
+
# Output only. The time this case was last updated.
|
240
|
+
# Corresponds to the JSON property `updateTime`
|
241
|
+
# @return [String]
|
242
|
+
attr_accessor :update_time
|
243
|
+
|
244
|
+
def initialize(**args)
|
245
|
+
update!(**args)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Update properties of this object
|
249
|
+
def update!(**args)
|
250
|
+
@classification = args[:classification] if args.key?(:classification)
|
251
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
252
|
+
@creator = args[:creator] if args.key?(:creator)
|
253
|
+
@description = args[:description] if args.key?(:description)
|
254
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
255
|
+
@escalated = args[:escalated] if args.key?(:escalated)
|
256
|
+
@name = args[:name] if args.key?(:name)
|
257
|
+
@severity = args[:severity] if args.key?(:severity)
|
258
|
+
@state = args[:state] if args.key?(:state)
|
259
|
+
@subscriber_email_addresses = args[:subscriber_email_addresses] if args.key?(:subscriber_email_addresses)
|
260
|
+
@test_case = args[:test_case] if args.key?(:test_case)
|
261
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
262
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# A classification object with a product type and value.
|
267
|
+
class CaseClassification
|
268
|
+
include Google::Apis::Core::Hashable
|
269
|
+
|
270
|
+
# The display name of the classification.
|
271
|
+
# Corresponds to the JSON property `displayName`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :display_name
|
274
|
+
|
275
|
+
# The unique ID for a classification. Must be specified for case creation.
|
276
|
+
# Corresponds to the JSON property `id`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :id
|
279
|
+
|
280
|
+
def initialize(**args)
|
281
|
+
update!(**args)
|
282
|
+
end
|
283
|
+
|
284
|
+
# Update properties of this object
|
285
|
+
def update!(**args)
|
286
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
287
|
+
@id = args[:id] if args.key?(:id)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# The request message for the CloseCase endpoint.
|
292
|
+
class CloseCaseRequest
|
293
|
+
include Google::Apis::Core::Hashable
|
294
|
+
|
295
|
+
def initialize(**args)
|
296
|
+
update!(**args)
|
297
|
+
end
|
298
|
+
|
299
|
+
# Update properties of this object
|
300
|
+
def update!(**args)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# A comment associated with a support case.
|
305
|
+
class Comment
|
306
|
+
include Google::Apis::Core::Hashable
|
307
|
+
|
308
|
+
# The full comment body. Maximum of 120000 characters. This can contain rich
|
309
|
+
# text syntax.
|
310
|
+
# Corresponds to the JSON property `body`
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :body
|
313
|
+
|
314
|
+
# Output only. The time when this comment was created.
|
315
|
+
# Corresponds to the JSON property `createTime`
|
316
|
+
# @return [String]
|
317
|
+
attr_accessor :create_time
|
318
|
+
|
319
|
+
# An object containing information about the effective user and authenticated
|
320
|
+
# principal responsible for an action.
|
321
|
+
# Corresponds to the JSON property `creator`
|
322
|
+
# @return [Google::Apis::CloudsupportV2beta::Actor]
|
323
|
+
attr_accessor :creator
|
324
|
+
|
325
|
+
# Output only. The resource name for the comment.
|
326
|
+
# Corresponds to the JSON property `name`
|
327
|
+
# @return [String]
|
328
|
+
attr_accessor :name
|
329
|
+
|
330
|
+
# Output only. An automatically generated plain text version of body with all
|
331
|
+
# rich text syntax stripped.
|
332
|
+
# Corresponds to the JSON property `plainTextBody`
|
333
|
+
# @return [String]
|
334
|
+
attr_accessor :plain_text_body
|
335
|
+
|
336
|
+
def initialize(**args)
|
337
|
+
update!(**args)
|
338
|
+
end
|
339
|
+
|
340
|
+
# Update properties of this object
|
341
|
+
def update!(**args)
|
342
|
+
@body = args[:body] if args.key?(:body)
|
343
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
344
|
+
@creator = args[:creator] if args.key?(:creator)
|
345
|
+
@name = args[:name] if args.key?(:name)
|
346
|
+
@plain_text_body = args[:plain_text_body] if args.key?(:plain_text_body)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
# # gdata.* are outside protos with mising documentation
|
351
|
+
class CompositeMedia
|
352
|
+
include Google::Apis::Core::Hashable
|
353
|
+
|
354
|
+
# # gdata.* are outside protos with mising documentation
|
355
|
+
# Corresponds to the JSON property `blobRef`
|
356
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
357
|
+
# @return [String]
|
358
|
+
attr_accessor :blob_ref
|
359
|
+
|
360
|
+
# # gdata.* are outside protos with mising documentation
|
361
|
+
# Corresponds to the JSON property `blobstore2Info`
|
362
|
+
# @return [Google::Apis::CloudsupportV2beta::Blobstore2Info]
|
363
|
+
attr_accessor :blobstore2_info
|
364
|
+
|
365
|
+
# # gdata.* are outside protos with mising documentation
|
366
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
367
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :cosmo_binary_reference
|
370
|
+
|
371
|
+
# # gdata.* are outside protos with mising documentation
|
372
|
+
# Corresponds to the JSON property `crc32cHash`
|
373
|
+
# @return [Fixnum]
|
374
|
+
attr_accessor :crc32c_hash
|
375
|
+
|
376
|
+
# # gdata.* are outside protos with mising documentation
|
377
|
+
# Corresponds to the JSON property `inline`
|
378
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :inline
|
381
|
+
|
382
|
+
# # gdata.* are outside protos with mising documentation
|
383
|
+
# Corresponds to the JSON property `length`
|
384
|
+
# @return [Fixnum]
|
385
|
+
attr_accessor :length
|
386
|
+
|
387
|
+
# # gdata.* are outside protos with mising documentation
|
388
|
+
# Corresponds to the JSON property `md5Hash`
|
389
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
390
|
+
# @return [String]
|
391
|
+
attr_accessor :md5_hash
|
392
|
+
|
393
|
+
# # gdata.* are outside protos with mising documentation
|
394
|
+
# Corresponds to the JSON property `objectId`
|
395
|
+
# @return [Google::Apis::CloudsupportV2beta::ObjectIdProp]
|
396
|
+
attr_accessor :object_id_prop
|
397
|
+
|
398
|
+
# # gdata.* are outside protos with mising documentation
|
399
|
+
# Corresponds to the JSON property `path`
|
400
|
+
# @return [String]
|
401
|
+
attr_accessor :path
|
402
|
+
|
403
|
+
# # gdata.* are outside protos with mising documentation
|
404
|
+
# Corresponds to the JSON property `referenceType`
|
405
|
+
# @return [String]
|
406
|
+
attr_accessor :reference_type
|
407
|
+
|
408
|
+
# # gdata.* are outside protos with mising documentation
|
409
|
+
# Corresponds to the JSON property `sha1Hash`
|
410
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :sha1_hash
|
413
|
+
|
414
|
+
def initialize(**args)
|
415
|
+
update!(**args)
|
416
|
+
end
|
417
|
+
|
418
|
+
# Update properties of this object
|
419
|
+
def update!(**args)
|
420
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
421
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
422
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
423
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
424
|
+
@inline = args[:inline] if args.key?(:inline)
|
425
|
+
@length = args[:length] if args.key?(:length)
|
426
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
427
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
428
|
+
@path = args[:path] if args.key?(:path)
|
429
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
430
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
# # gdata.* are outside protos with mising documentation
|
435
|
+
class ContentTypeInfo
|
436
|
+
include Google::Apis::Core::Hashable
|
437
|
+
|
438
|
+
# # gdata.* are outside protos with mising documentation
|
439
|
+
# Corresponds to the JSON property `bestGuess`
|
440
|
+
# @return [String]
|
441
|
+
attr_accessor :best_guess
|
442
|
+
|
443
|
+
# # gdata.* are outside protos with mising documentation
|
444
|
+
# Corresponds to the JSON property `fromBytes`
|
445
|
+
# @return [String]
|
446
|
+
attr_accessor :from_bytes
|
447
|
+
|
448
|
+
# # gdata.* are outside protos with mising documentation
|
449
|
+
# Corresponds to the JSON property `fromFileName`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :from_file_name
|
452
|
+
|
453
|
+
# # gdata.* are outside protos with mising documentation
|
454
|
+
# Corresponds to the JSON property `fromHeader`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :from_header
|
457
|
+
|
458
|
+
# # gdata.* are outside protos with mising documentation
|
459
|
+
# Corresponds to the JSON property `fromUrlPath`
|
460
|
+
# @return [String]
|
461
|
+
attr_accessor :from_url_path
|
462
|
+
|
463
|
+
def initialize(**args)
|
464
|
+
update!(**args)
|
465
|
+
end
|
466
|
+
|
467
|
+
# Update properties of this object
|
468
|
+
def update!(**args)
|
469
|
+
@best_guess = args[:best_guess] if args.key?(:best_guess)
|
470
|
+
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
|
471
|
+
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
|
472
|
+
@from_header = args[:from_header] if args.key?(:from_header)
|
473
|
+
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# The request message for the CreateAttachment endpoint.
|
478
|
+
class CreateAttachmentRequest
|
479
|
+
include Google::Apis::Core::Hashable
|
480
|
+
|
481
|
+
# Represents a file attached to a support case.
|
482
|
+
# Corresponds to the JSON property `attachment`
|
483
|
+
# @return [Google::Apis::CloudsupportV2beta::Attachment]
|
484
|
+
attr_accessor :attachment
|
485
|
+
|
486
|
+
def initialize(**args)
|
487
|
+
update!(**args)
|
488
|
+
end
|
489
|
+
|
490
|
+
# Update properties of this object
|
491
|
+
def update!(**args)
|
492
|
+
@attachment = args[:attachment] if args.key?(:attachment)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# # gdata.* are outside protos with mising documentation
|
497
|
+
class DiffChecksumsResponse
|
498
|
+
include Google::Apis::Core::Hashable
|
499
|
+
|
500
|
+
# # gdata.* are outside protos with mising documentation
|
501
|
+
# Corresponds to the JSON property `checksumsLocation`
|
502
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
503
|
+
attr_accessor :checksums_location
|
504
|
+
|
505
|
+
# # gdata.* are outside protos with mising documentation
|
506
|
+
# Corresponds to the JSON property `chunkSizeBytes`
|
507
|
+
# @return [Fixnum]
|
508
|
+
attr_accessor :chunk_size_bytes
|
509
|
+
|
510
|
+
# # gdata.* are outside protos with mising documentation
|
511
|
+
# Corresponds to the JSON property `objectLocation`
|
512
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
513
|
+
attr_accessor :object_location
|
514
|
+
|
515
|
+
# # gdata.* are outside protos with mising documentation
|
516
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
517
|
+
# @return [Fixnum]
|
518
|
+
attr_accessor :object_size_bytes
|
519
|
+
|
520
|
+
# # gdata.* are outside protos with mising documentation
|
521
|
+
# Corresponds to the JSON property `objectVersion`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :object_version
|
524
|
+
|
525
|
+
def initialize(**args)
|
526
|
+
update!(**args)
|
527
|
+
end
|
528
|
+
|
529
|
+
# Update properties of this object
|
530
|
+
def update!(**args)
|
531
|
+
@checksums_location = args[:checksums_location] if args.key?(:checksums_location)
|
532
|
+
@chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
|
533
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
534
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
535
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# # gdata.* are outside protos with mising documentation
|
540
|
+
class DiffDownloadResponse
|
541
|
+
include Google::Apis::Core::Hashable
|
542
|
+
|
543
|
+
# # gdata.* are outside protos with mising documentation
|
544
|
+
# Corresponds to the JSON property `objectLocation`
|
545
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
546
|
+
attr_accessor :object_location
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# # gdata.* are outside protos with mising documentation
|
559
|
+
class DiffUploadRequest
|
560
|
+
include Google::Apis::Core::Hashable
|
561
|
+
|
562
|
+
# # gdata.* are outside protos with mising documentation
|
563
|
+
# Corresponds to the JSON property `checksumsInfo`
|
564
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
565
|
+
attr_accessor :checksums_info
|
566
|
+
|
567
|
+
# # gdata.* are outside protos with mising documentation
|
568
|
+
# Corresponds to the JSON property `objectInfo`
|
569
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
570
|
+
attr_accessor :object_info
|
571
|
+
|
572
|
+
# # gdata.* are outside protos with mising documentation
|
573
|
+
# Corresponds to the JSON property `objectVersion`
|
574
|
+
# @return [String]
|
575
|
+
attr_accessor :object_version
|
576
|
+
|
577
|
+
def initialize(**args)
|
578
|
+
update!(**args)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Update properties of this object
|
582
|
+
def update!(**args)
|
583
|
+
@checksums_info = args[:checksums_info] if args.key?(:checksums_info)
|
584
|
+
@object_info = args[:object_info] if args.key?(:object_info)
|
585
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# # gdata.* are outside protos with mising documentation
|
590
|
+
class DiffUploadResponse
|
591
|
+
include Google::Apis::Core::Hashable
|
592
|
+
|
593
|
+
# # gdata.* are outside protos with mising documentation
|
594
|
+
# Corresponds to the JSON property `objectVersion`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :object_version
|
597
|
+
|
598
|
+
# # gdata.* are outside protos with mising documentation
|
599
|
+
# Corresponds to the JSON property `originalObject`
|
600
|
+
# @return [Google::Apis::CloudsupportV2beta::CompositeMedia]
|
601
|
+
attr_accessor :original_object
|
602
|
+
|
603
|
+
def initialize(**args)
|
604
|
+
update!(**args)
|
605
|
+
end
|
606
|
+
|
607
|
+
# Update properties of this object
|
608
|
+
def update!(**args)
|
609
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
610
|
+
@original_object = args[:original_object] if args.key?(:original_object)
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# # gdata.* are outside protos with mising documentation
|
615
|
+
class DiffVersionResponse
|
616
|
+
include Google::Apis::Core::Hashable
|
617
|
+
|
618
|
+
# # gdata.* are outside protos with mising documentation
|
619
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
620
|
+
# @return [Fixnum]
|
621
|
+
attr_accessor :object_size_bytes
|
622
|
+
|
623
|
+
# # gdata.* are outside protos with mising documentation
|
624
|
+
# Corresponds to the JSON property `objectVersion`
|
625
|
+
# @return [String]
|
626
|
+
attr_accessor :object_version
|
627
|
+
|
628
|
+
def initialize(**args)
|
629
|
+
update!(**args)
|
630
|
+
end
|
631
|
+
|
632
|
+
# Update properties of this object
|
633
|
+
def update!(**args)
|
634
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
635
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
# # gdata.* are outside protos with mising documentation
|
640
|
+
class DownloadParameters
|
641
|
+
include Google::Apis::Core::Hashable
|
642
|
+
|
643
|
+
# # gdata.* are outside protos with mising documentation
|
644
|
+
# Corresponds to the JSON property `allowGzipCompression`
|
645
|
+
# @return [Boolean]
|
646
|
+
attr_accessor :allow_gzip_compression
|
647
|
+
alias_method :allow_gzip_compression?, :allow_gzip_compression
|
648
|
+
|
649
|
+
# # gdata.* are outside protos with mising documentation
|
650
|
+
# Corresponds to the JSON property `ignoreRange`
|
651
|
+
# @return [Boolean]
|
652
|
+
attr_accessor :ignore_range
|
653
|
+
alias_method :ignore_range?, :ignore_range
|
654
|
+
|
655
|
+
def initialize(**args)
|
656
|
+
update!(**args)
|
657
|
+
end
|
658
|
+
|
659
|
+
# Update properties of this object
|
660
|
+
def update!(**args)
|
661
|
+
@allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
|
662
|
+
@ignore_range = args[:ignore_range] if args.key?(:ignore_range)
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
# The request message for the EscalateCase endpoint.
|
667
|
+
class EscalateCaseRequest
|
668
|
+
include Google::Apis::Core::Hashable
|
669
|
+
|
670
|
+
# An escalation of a support case.
|
671
|
+
# Corresponds to the JSON property `escalation`
|
672
|
+
# @return [Google::Apis::CloudsupportV2beta::Escalation]
|
673
|
+
attr_accessor :escalation
|
674
|
+
|
675
|
+
def initialize(**args)
|
676
|
+
update!(**args)
|
677
|
+
end
|
678
|
+
|
679
|
+
# Update properties of this object
|
680
|
+
def update!(**args)
|
681
|
+
@escalation = args[:escalation] if args.key?(:escalation)
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# An escalation of a support case.
|
686
|
+
class Escalation
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# An object containing information about the effective user and authenticated
|
690
|
+
# principal responsible for an action.
|
691
|
+
# Corresponds to the JSON property `actor`
|
692
|
+
# @return [Google::Apis::CloudsupportV2beta::Actor]
|
693
|
+
attr_accessor :actor
|
694
|
+
|
695
|
+
# Output only. The time when this escalation event was created.
|
696
|
+
# Corresponds to the JSON property `createTime`
|
697
|
+
# @return [String]
|
698
|
+
attr_accessor :create_time
|
699
|
+
|
700
|
+
# Required. A free text description to accompany the `reason` field above.
|
701
|
+
# Provides additional context on why the case is being escalated.
|
702
|
+
# Corresponds to the JSON property `justification`
|
703
|
+
# @return [String]
|
704
|
+
attr_accessor :justification
|
705
|
+
|
706
|
+
# Output only. The resource name for the escalation event.
|
707
|
+
# Corresponds to the JSON property `name`
|
708
|
+
# @return [String]
|
709
|
+
attr_accessor :name
|
710
|
+
|
711
|
+
# Required. The reason why the Case is being escalated.
|
712
|
+
# Corresponds to the JSON property `reason`
|
713
|
+
# @return [String]
|
714
|
+
attr_accessor :reason
|
715
|
+
|
716
|
+
def initialize(**args)
|
717
|
+
update!(**args)
|
718
|
+
end
|
719
|
+
|
720
|
+
# Update properties of this object
|
721
|
+
def update!(**args)
|
722
|
+
@actor = args[:actor] if args.key?(:actor)
|
723
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
724
|
+
@justification = args[:justification] if args.key?(:justification)
|
725
|
+
@name = args[:name] if args.key?(:name)
|
726
|
+
@reason = args[:reason] if args.key?(:reason)
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
# The response message for the ListAttachments endpoint.
|
731
|
+
class ListAttachmentsResponse
|
732
|
+
include Google::Apis::Core::Hashable
|
733
|
+
|
734
|
+
# The list of attachments associated with the given case.
|
735
|
+
# Corresponds to the JSON property `attachments`
|
736
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::Attachment>]
|
737
|
+
attr_accessor :attachments
|
738
|
+
|
739
|
+
# A token to retrieve the next page of results. This should be set in the `
|
740
|
+
# page_token` field of subsequent `cases.attachments.list` requests. If
|
741
|
+
# unspecified, there are no more results to retrieve.
|
742
|
+
# Corresponds to the JSON property `nextPageToken`
|
743
|
+
# @return [String]
|
744
|
+
attr_accessor :next_page_token
|
745
|
+
|
746
|
+
def initialize(**args)
|
747
|
+
update!(**args)
|
748
|
+
end
|
749
|
+
|
750
|
+
# Update properties of this object
|
751
|
+
def update!(**args)
|
752
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
753
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
# The response message for the ListCases endpoint.
|
758
|
+
class ListCasesResponse
|
759
|
+
include Google::Apis::Core::Hashable
|
760
|
+
|
761
|
+
# The list of cases associated with the cloud resource, after any filters have
|
762
|
+
# been applied.
|
763
|
+
# Corresponds to the JSON property `cases`
|
764
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::Case>]
|
765
|
+
attr_accessor :cases
|
766
|
+
|
767
|
+
# A token to retrieve the next page of results. This should be set in the `
|
768
|
+
# page_token` field of subsequent `ListCasesRequest` message that is issued. If
|
769
|
+
# unspecified, there are no more results to retrieve.
|
770
|
+
# Corresponds to the JSON property `nextPageToken`
|
771
|
+
# @return [String]
|
772
|
+
attr_accessor :next_page_token
|
773
|
+
|
774
|
+
def initialize(**args)
|
775
|
+
update!(**args)
|
776
|
+
end
|
777
|
+
|
778
|
+
# Update properties of this object
|
779
|
+
def update!(**args)
|
780
|
+
@cases = args[:cases] if args.key?(:cases)
|
781
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# The response message for the ListComments endpoint.
|
786
|
+
class ListCommentsResponse
|
787
|
+
include Google::Apis::Core::Hashable
|
788
|
+
|
789
|
+
# The list of Comments associated with the given Case.
|
790
|
+
# Corresponds to the JSON property `comments`
|
791
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::Comment>]
|
792
|
+
attr_accessor :comments
|
793
|
+
|
794
|
+
# A token to retrieve the next page of results. This should be set in the `
|
795
|
+
# page_token` field of subsequent `ListCommentsRequest` message that is issued.
|
796
|
+
# If unspecified, there are no more results to retrieve.
|
797
|
+
# Corresponds to the JSON property `nextPageToken`
|
798
|
+
# @return [String]
|
799
|
+
attr_accessor :next_page_token
|
800
|
+
|
801
|
+
def initialize(**args)
|
802
|
+
update!(**args)
|
803
|
+
end
|
804
|
+
|
805
|
+
# Update properties of this object
|
806
|
+
def update!(**args)
|
807
|
+
@comments = args[:comments] if args.key?(:comments)
|
808
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
# # gdata.* are outside protos with mising documentation
|
813
|
+
class Media
|
814
|
+
include Google::Apis::Core::Hashable
|
815
|
+
|
816
|
+
# # gdata.* are outside protos with mising documentation
|
817
|
+
# Corresponds to the JSON property `algorithm`
|
818
|
+
# @return [String]
|
819
|
+
attr_accessor :algorithm
|
820
|
+
|
821
|
+
# # gdata.* are outside protos with mising documentation
|
822
|
+
# Corresponds to the JSON property `bigstoreObjectRef`
|
823
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
824
|
+
# @return [String]
|
825
|
+
attr_accessor :bigstore_object_ref
|
826
|
+
|
827
|
+
# # gdata.* are outside protos with mising documentation
|
828
|
+
# Corresponds to the JSON property `blobRef`
|
829
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
830
|
+
# @return [String]
|
831
|
+
attr_accessor :blob_ref
|
832
|
+
|
833
|
+
# # gdata.* are outside protos with mising documentation
|
834
|
+
# Corresponds to the JSON property `blobstore2Info`
|
835
|
+
# @return [Google::Apis::CloudsupportV2beta::Blobstore2Info]
|
836
|
+
attr_accessor :blobstore2_info
|
837
|
+
|
838
|
+
# # gdata.* are outside protos with mising documentation
|
839
|
+
# Corresponds to the JSON property `compositeMedia`
|
840
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::CompositeMedia>]
|
841
|
+
attr_accessor :composite_media
|
842
|
+
|
843
|
+
# # gdata.* are outside protos with mising documentation
|
844
|
+
# Corresponds to the JSON property `contentType`
|
845
|
+
# @return [String]
|
846
|
+
attr_accessor :content_type
|
847
|
+
|
848
|
+
# # gdata.* are outside protos with mising documentation
|
849
|
+
# Corresponds to the JSON property `contentTypeInfo`
|
850
|
+
# @return [Google::Apis::CloudsupportV2beta::ContentTypeInfo]
|
851
|
+
attr_accessor :content_type_info
|
852
|
+
|
853
|
+
# # gdata.* are outside protos with mising documentation
|
854
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
855
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
856
|
+
# @return [String]
|
857
|
+
attr_accessor :cosmo_binary_reference
|
858
|
+
|
859
|
+
# # gdata.* are outside protos with mising documentation
|
860
|
+
# Corresponds to the JSON property `crc32cHash`
|
861
|
+
# @return [Fixnum]
|
862
|
+
attr_accessor :crc32c_hash
|
863
|
+
|
864
|
+
# # gdata.* are outside protos with mising documentation
|
865
|
+
# Corresponds to the JSON property `diffChecksumsResponse`
|
866
|
+
# @return [Google::Apis::CloudsupportV2beta::DiffChecksumsResponse]
|
867
|
+
attr_accessor :diff_checksums_response
|
868
|
+
|
869
|
+
# # gdata.* are outside protos with mising documentation
|
870
|
+
# Corresponds to the JSON property `diffDownloadResponse`
|
871
|
+
# @return [Google::Apis::CloudsupportV2beta::DiffDownloadResponse]
|
872
|
+
attr_accessor :diff_download_response
|
873
|
+
|
874
|
+
# # gdata.* are outside protos with mising documentation
|
875
|
+
# Corresponds to the JSON property `diffUploadRequest`
|
876
|
+
# @return [Google::Apis::CloudsupportV2beta::DiffUploadRequest]
|
877
|
+
attr_accessor :diff_upload_request
|
878
|
+
|
879
|
+
# # gdata.* are outside protos with mising documentation
|
880
|
+
# Corresponds to the JSON property `diffUploadResponse`
|
881
|
+
# @return [Google::Apis::CloudsupportV2beta::DiffUploadResponse]
|
882
|
+
attr_accessor :diff_upload_response
|
883
|
+
|
884
|
+
# # gdata.* are outside protos with mising documentation
|
885
|
+
# Corresponds to the JSON property `diffVersionResponse`
|
886
|
+
# @return [Google::Apis::CloudsupportV2beta::DiffVersionResponse]
|
887
|
+
attr_accessor :diff_version_response
|
888
|
+
|
889
|
+
# # gdata.* are outside protos with mising documentation
|
890
|
+
# Corresponds to the JSON property `downloadParameters`
|
891
|
+
# @return [Google::Apis::CloudsupportV2beta::DownloadParameters]
|
892
|
+
attr_accessor :download_parameters
|
893
|
+
|
894
|
+
# # gdata.* are outside protos with mising documentation
|
895
|
+
# Corresponds to the JSON property `filename`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :filename
|
898
|
+
|
899
|
+
# # gdata.* are outside protos with mising documentation
|
900
|
+
# Corresponds to the JSON property `hash`
|
901
|
+
# @return [String]
|
902
|
+
attr_accessor :hash_prop
|
903
|
+
|
904
|
+
# # gdata.* are outside protos with mising documentation
|
905
|
+
# Corresponds to the JSON property `hashVerified`
|
906
|
+
# @return [Boolean]
|
907
|
+
attr_accessor :hash_verified
|
908
|
+
alias_method :hash_verified?, :hash_verified
|
909
|
+
|
910
|
+
# # gdata.* are outside protos with mising documentation
|
911
|
+
# Corresponds to the JSON property `inline`
|
912
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
913
|
+
# @return [String]
|
914
|
+
attr_accessor :inline
|
915
|
+
|
916
|
+
# # gdata.* are outside protos with mising documentation
|
917
|
+
# Corresponds to the JSON property `isPotentialRetry`
|
918
|
+
# @return [Boolean]
|
919
|
+
attr_accessor :is_potential_retry
|
920
|
+
alias_method :is_potential_retry?, :is_potential_retry
|
921
|
+
|
922
|
+
# # gdata.* are outside protos with mising documentation
|
923
|
+
# Corresponds to the JSON property `length`
|
924
|
+
# @return [Fixnum]
|
925
|
+
attr_accessor :length
|
926
|
+
|
927
|
+
# # gdata.* are outside protos with mising documentation
|
928
|
+
# Corresponds to the JSON property `md5Hash`
|
929
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
930
|
+
# @return [String]
|
931
|
+
attr_accessor :md5_hash
|
932
|
+
|
933
|
+
# # gdata.* are outside protos with mising documentation
|
934
|
+
# Corresponds to the JSON property `mediaId`
|
935
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
936
|
+
# @return [String]
|
937
|
+
attr_accessor :media_id
|
938
|
+
|
939
|
+
# # gdata.* are outside protos with mising documentation
|
940
|
+
# Corresponds to the JSON property `objectId`
|
941
|
+
# @return [Google::Apis::CloudsupportV2beta::ObjectIdProp]
|
942
|
+
attr_accessor :object_id_prop
|
943
|
+
|
944
|
+
# # gdata.* are outside protos with mising documentation
|
945
|
+
# Corresponds to the JSON property `path`
|
946
|
+
# @return [String]
|
947
|
+
attr_accessor :path
|
948
|
+
|
949
|
+
# # gdata.* are outside protos with mising documentation
|
950
|
+
# Corresponds to the JSON property `referenceType`
|
951
|
+
# @return [String]
|
952
|
+
attr_accessor :reference_type
|
953
|
+
|
954
|
+
# # gdata.* are outside protos with mising documentation
|
955
|
+
# Corresponds to the JSON property `sha1Hash`
|
956
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
957
|
+
# @return [String]
|
958
|
+
attr_accessor :sha1_hash
|
959
|
+
|
960
|
+
# # gdata.* are outside protos with mising documentation
|
961
|
+
# Corresponds to the JSON property `sha256Hash`
|
962
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
963
|
+
# @return [String]
|
964
|
+
attr_accessor :sha256_hash
|
965
|
+
|
966
|
+
# # gdata.* are outside protos with mising documentation
|
967
|
+
# Corresponds to the JSON property `timestamp`
|
968
|
+
# @return [Fixnum]
|
969
|
+
attr_accessor :timestamp
|
970
|
+
|
971
|
+
# # gdata.* are outside protos with mising documentation
|
972
|
+
# Corresponds to the JSON property `token`
|
973
|
+
# @return [String]
|
974
|
+
attr_accessor :token
|
975
|
+
|
976
|
+
def initialize(**args)
|
977
|
+
update!(**args)
|
978
|
+
end
|
979
|
+
|
980
|
+
# Update properties of this object
|
981
|
+
def update!(**args)
|
982
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
983
|
+
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
|
984
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
985
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
986
|
+
@composite_media = args[:composite_media] if args.key?(:composite_media)
|
987
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
988
|
+
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
|
989
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
990
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
991
|
+
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
|
992
|
+
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
|
993
|
+
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
|
994
|
+
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
|
995
|
+
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
|
996
|
+
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
|
997
|
+
@filename = args[:filename] if args.key?(:filename)
|
998
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
999
|
+
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
|
1000
|
+
@inline = args[:inline] if args.key?(:inline)
|
1001
|
+
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
|
1002
|
+
@length = args[:length] if args.key?(:length)
|
1003
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
1004
|
+
@media_id = args[:media_id] if args.key?(:media_id)
|
1005
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
1006
|
+
@path = args[:path] if args.key?(:path)
|
1007
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
1008
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
1009
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
1010
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
1011
|
+
@token = args[:token] if args.key?(:token)
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# # gdata.* are outside protos with mising documentation
|
1016
|
+
class ObjectIdProp
|
1017
|
+
include Google::Apis::Core::Hashable
|
1018
|
+
|
1019
|
+
# # gdata.* are outside protos with mising documentation
|
1020
|
+
# Corresponds to the JSON property `bucketName`
|
1021
|
+
# @return [String]
|
1022
|
+
attr_accessor :bucket_name
|
1023
|
+
|
1024
|
+
# # gdata.* are outside protos with mising documentation
|
1025
|
+
# Corresponds to the JSON property `generation`
|
1026
|
+
# @return [Fixnum]
|
1027
|
+
attr_accessor :generation
|
1028
|
+
|
1029
|
+
# # gdata.* are outside protos with mising documentation
|
1030
|
+
# Corresponds to the JSON property `objectName`
|
1031
|
+
# @return [String]
|
1032
|
+
attr_accessor :object_name
|
1033
|
+
|
1034
|
+
def initialize(**args)
|
1035
|
+
update!(**args)
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Update properties of this object
|
1039
|
+
def update!(**args)
|
1040
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
1041
|
+
@generation = args[:generation] if args.key?(:generation)
|
1042
|
+
@object_name = args[:object_name] if args.key?(:object_name)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# The response message for SearchCaseClassifications endpoint.
|
1047
|
+
class SearchCaseClassificationsResponse
|
1048
|
+
include Google::Apis::Core::Hashable
|
1049
|
+
|
1050
|
+
# The classifications retrieved.
|
1051
|
+
# Corresponds to the JSON property `caseClassifications`
|
1052
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::CaseClassification>]
|
1053
|
+
attr_accessor :case_classifications
|
1054
|
+
|
1055
|
+
# A token to retrieve the next page of results. This should be set in the `
|
1056
|
+
# page_token` field of subsequent `SearchCaseClassificationsRequest` message
|
1057
|
+
# that is issued. If unspecified, there are no more results to retrieve.
|
1058
|
+
# Corresponds to the JSON property `nextPageToken`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :next_page_token
|
1061
|
+
|
1062
|
+
def initialize(**args)
|
1063
|
+
update!(**args)
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# Update properties of this object
|
1067
|
+
def update!(**args)
|
1068
|
+
@case_classifications = args[:case_classifications] if args.key?(:case_classifications)
|
1069
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# The response message for the SearchCases endpoint.
|
1074
|
+
class SearchCasesResponse
|
1075
|
+
include Google::Apis::Core::Hashable
|
1076
|
+
|
1077
|
+
# The list of Case associated with the cloud resource, after any filters have
|
1078
|
+
# been applied.
|
1079
|
+
# Corresponds to the JSON property `cases`
|
1080
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::Case>]
|
1081
|
+
attr_accessor :cases
|
1082
|
+
|
1083
|
+
# A token to retrieve the next page of results. This should be set in the `
|
1084
|
+
# page_token` field of subsequent `SearchCaseRequest` message that is issued. If
|
1085
|
+
# unspecified, there are no more results to retrieve.
|
1086
|
+
# Corresponds to the JSON property `nextPageToken`
|
1087
|
+
# @return [String]
|
1088
|
+
attr_accessor :next_page_token
|
1089
|
+
|
1090
|
+
def initialize(**args)
|
1091
|
+
update!(**args)
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
# Update properties of this object
|
1095
|
+
def update!(**args)
|
1096
|
+
@cases = args[:cases] if args.key?(:cases)
|
1097
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# Metadata about the operation. Used to lookup the current status.
|
1102
|
+
class WorkflowOperationMetadata
|
1103
|
+
include Google::Apis::Core::Hashable
|
1104
|
+
|
1105
|
+
# The namespace that the job was scheduled in. Must be included in the workflow
|
1106
|
+
# metadata so the workflow status can be retrieved.
|
1107
|
+
# Corresponds to the JSON property `namespace`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :namespace
|
1110
|
+
|
1111
|
+
# The type of action the operation is classified as.
|
1112
|
+
# Corresponds to the JSON property `operationAction`
|
1113
|
+
# @return [String]
|
1114
|
+
attr_accessor :operation_action
|
1115
|
+
|
1116
|
+
# Which version of the workflow service this operation came from.
|
1117
|
+
# Corresponds to the JSON property `workflowOperationType`
|
1118
|
+
# @return [String]
|
1119
|
+
attr_accessor :workflow_operation_type
|
1120
|
+
|
1121
|
+
def initialize(**args)
|
1122
|
+
update!(**args)
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# Update properties of this object
|
1126
|
+
def update!(**args)
|
1127
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
1128
|
+
@operation_action = args[:operation_action] if args.key?(:operation_action)
|
1129
|
+
@workflow_operation_type = args[:workflow_operation_type] if args.key?(:workflow_operation_type)
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
end
|