google-apis-cloudsupport_v2beta 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.
@@ -0,0 +1,28 @@
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
+ module Google
16
+ module Apis
17
+ module CloudsupportV2beta
18
+ # Version of the google-apis-cloudsupport_v2beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20211103"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,487 @@
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
+ class Actor
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Attachment
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Blobstore2Info
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Case
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CaseClassification
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CloseCaseRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Comment
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CompositeMedia
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ContentTypeInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CreateAttachmentRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DiffChecksumsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DiffDownloadResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DiffUploadRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DiffUploadResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DiffVersionResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DownloadParameters
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class EscalateCaseRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Escalation
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListAttachmentsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListCasesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListCommentsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Media
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ObjectIdProp
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SearchCaseClassificationsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class SearchCasesResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class WorkflowOperationMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Actor
182
+ # @private
183
+ class Representation < Google::Apis::Core::JsonRepresentation
184
+ property :display_name, as: 'displayName'
185
+ property :email, as: 'email'
186
+ property :google_support, as: 'googleSupport'
187
+ property :principal_id, as: 'principalId'
188
+ end
189
+ end
190
+
191
+ class Attachment
192
+ # @private
193
+ class Representation < Google::Apis::Core::JsonRepresentation
194
+ property :create_time, as: 'createTime'
195
+ property :creator, as: 'creator', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
196
+
197
+ property :filename, as: 'filename'
198
+ property :mime_type, as: 'mimeType'
199
+ property :name, as: 'name'
200
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
201
+ end
202
+ end
203
+
204
+ class Blobstore2Info
205
+ # @private
206
+ class Representation < Google::Apis::Core::JsonRepresentation
207
+ property :blob_generation, :numeric_string => true, as: 'blobGeneration'
208
+ property :blob_id, as: 'blobId'
209
+ property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
210
+ property :read_token, as: 'readToken'
211
+ property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
212
+ end
213
+ end
214
+
215
+ class Case
216
+ # @private
217
+ class Representation < Google::Apis::Core::JsonRepresentation
218
+ property :classification, as: 'classification', class: Google::Apis::CloudsupportV2beta::CaseClassification, decorator: Google::Apis::CloudsupportV2beta::CaseClassification::Representation
219
+
220
+ property :create_time, as: 'createTime'
221
+ property :creator, as: 'creator', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
222
+
223
+ property :description, as: 'description'
224
+ property :display_name, as: 'displayName'
225
+ property :escalated, as: 'escalated'
226
+ property :name, as: 'name'
227
+ property :severity, as: 'severity'
228
+ property :state, as: 'state'
229
+ collection :subscriber_email_addresses, as: 'subscriberEmailAddresses'
230
+ property :test_case, as: 'testCase'
231
+ property :time_zone, as: 'timeZone'
232
+ property :update_time, as: 'updateTime'
233
+ end
234
+ end
235
+
236
+ class CaseClassification
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :display_name, as: 'displayName'
240
+ property :id, as: 'id'
241
+ end
242
+ end
243
+
244
+ class CloseCaseRequest
245
+ # @private
246
+ class Representation < Google::Apis::Core::JsonRepresentation
247
+ end
248
+ end
249
+
250
+ class Comment
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :body, as: 'body'
254
+ property :create_time, as: 'createTime'
255
+ property :creator, as: 'creator', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
256
+
257
+ property :name, as: 'name'
258
+ property :plain_text_body, as: 'plainTextBody'
259
+ end
260
+ end
261
+
262
+ class CompositeMedia
263
+ # @private
264
+ class Representation < Google::Apis::Core::JsonRepresentation
265
+ property :blob_ref, :base64 => true, as: 'blobRef'
266
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::CloudsupportV2beta::Blobstore2Info, decorator: Google::Apis::CloudsupportV2beta::Blobstore2Info::Representation
267
+
268
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
269
+ property :crc32c_hash, as: 'crc32cHash'
270
+ property :inline, :base64 => true, as: 'inline'
271
+ property :length, :numeric_string => true, as: 'length'
272
+ property :md5_hash, :base64 => true, as: 'md5Hash'
273
+ property :object_id_prop, as: 'objectId', class: Google::Apis::CloudsupportV2beta::ObjectIdProp, decorator: Google::Apis::CloudsupportV2beta::ObjectIdProp::Representation
274
+
275
+ property :path, as: 'path'
276
+ property :reference_type, as: 'referenceType'
277
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
278
+ end
279
+ end
280
+
281
+ class ContentTypeInfo
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ property :best_guess, as: 'bestGuess'
285
+ property :from_bytes, as: 'fromBytes'
286
+ property :from_file_name, as: 'fromFileName'
287
+ property :from_header, as: 'fromHeader'
288
+ property :from_url_path, as: 'fromUrlPath'
289
+ end
290
+ end
291
+
292
+ class CreateAttachmentRequest
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :attachment, as: 'attachment', class: Google::Apis::CloudsupportV2beta::Attachment, decorator: Google::Apis::CloudsupportV2beta::Attachment::Representation
296
+
297
+ end
298
+ end
299
+
300
+ class DiffChecksumsResponse
301
+ # @private
302
+ class Representation < Google::Apis::Core::JsonRepresentation
303
+ property :checksums_location, as: 'checksumsLocation', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
304
+
305
+ property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
306
+ property :object_location, as: 'objectLocation', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
307
+
308
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
309
+ property :object_version, as: 'objectVersion'
310
+ end
311
+ end
312
+
313
+ class DiffDownloadResponse
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :object_location, as: 'objectLocation', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
317
+
318
+ end
319
+ end
320
+
321
+ class DiffUploadRequest
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :checksums_info, as: 'checksumsInfo', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
325
+
326
+ property :object_info, as: 'objectInfo', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
327
+
328
+ property :object_version, as: 'objectVersion'
329
+ end
330
+ end
331
+
332
+ class DiffUploadResponse
333
+ # @private
334
+ class Representation < Google::Apis::Core::JsonRepresentation
335
+ property :object_version, as: 'objectVersion'
336
+ property :original_object, as: 'originalObject', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
337
+
338
+ end
339
+ end
340
+
341
+ class DiffVersionResponse
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
345
+ property :object_version, as: 'objectVersion'
346
+ end
347
+ end
348
+
349
+ class DownloadParameters
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :allow_gzip_compression, as: 'allowGzipCompression'
353
+ property :ignore_range, as: 'ignoreRange'
354
+ end
355
+ end
356
+
357
+ class EscalateCaseRequest
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :escalation, as: 'escalation', class: Google::Apis::CloudsupportV2beta::Escalation, decorator: Google::Apis::CloudsupportV2beta::Escalation::Representation
361
+
362
+ end
363
+ end
364
+
365
+ class Escalation
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :actor, as: 'actor', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
369
+
370
+ property :create_time, as: 'createTime'
371
+ property :justification, as: 'justification'
372
+ property :name, as: 'name'
373
+ property :reason, as: 'reason'
374
+ end
375
+ end
376
+
377
+ class ListAttachmentsResponse
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ collection :attachments, as: 'attachments', class: Google::Apis::CloudsupportV2beta::Attachment, decorator: Google::Apis::CloudsupportV2beta::Attachment::Representation
381
+
382
+ property :next_page_token, as: 'nextPageToken'
383
+ end
384
+ end
385
+
386
+ class ListCasesResponse
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ collection :cases, as: 'cases', class: Google::Apis::CloudsupportV2beta::Case, decorator: Google::Apis::CloudsupportV2beta::Case::Representation
390
+
391
+ property :next_page_token, as: 'nextPageToken'
392
+ end
393
+ end
394
+
395
+ class ListCommentsResponse
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :comments, as: 'comments', class: Google::Apis::CloudsupportV2beta::Comment, decorator: Google::Apis::CloudsupportV2beta::Comment::Representation
399
+
400
+ property :next_page_token, as: 'nextPageToken'
401
+ end
402
+ end
403
+
404
+ class Media
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :algorithm, as: 'algorithm'
408
+ property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
409
+ property :blob_ref, :base64 => true, as: 'blobRef'
410
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::CloudsupportV2beta::Blobstore2Info, decorator: Google::Apis::CloudsupportV2beta::Blobstore2Info::Representation
411
+
412
+ collection :composite_media, as: 'compositeMedia', class: Google::Apis::CloudsupportV2beta::CompositeMedia, decorator: Google::Apis::CloudsupportV2beta::CompositeMedia::Representation
413
+
414
+ property :content_type, as: 'contentType'
415
+ property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::CloudsupportV2beta::ContentTypeInfo, decorator: Google::Apis::CloudsupportV2beta::ContentTypeInfo::Representation
416
+
417
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
418
+ property :crc32c_hash, as: 'crc32cHash'
419
+ property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::CloudsupportV2beta::DiffChecksumsResponse, decorator: Google::Apis::CloudsupportV2beta::DiffChecksumsResponse::Representation
420
+
421
+ property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::CloudsupportV2beta::DiffDownloadResponse, decorator: Google::Apis::CloudsupportV2beta::DiffDownloadResponse::Representation
422
+
423
+ property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::CloudsupportV2beta::DiffUploadRequest, decorator: Google::Apis::CloudsupportV2beta::DiffUploadRequest::Representation
424
+
425
+ property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::CloudsupportV2beta::DiffUploadResponse, decorator: Google::Apis::CloudsupportV2beta::DiffUploadResponse::Representation
426
+
427
+ property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::CloudsupportV2beta::DiffVersionResponse, decorator: Google::Apis::CloudsupportV2beta::DiffVersionResponse::Representation
428
+
429
+ property :download_parameters, as: 'downloadParameters', class: Google::Apis::CloudsupportV2beta::DownloadParameters, decorator: Google::Apis::CloudsupportV2beta::DownloadParameters::Representation
430
+
431
+ property :filename, as: 'filename'
432
+ property :hash_prop, as: 'hash'
433
+ property :hash_verified, as: 'hashVerified'
434
+ property :inline, :base64 => true, as: 'inline'
435
+ property :is_potential_retry, as: 'isPotentialRetry'
436
+ property :length, :numeric_string => true, as: 'length'
437
+ property :md5_hash, :base64 => true, as: 'md5Hash'
438
+ property :media_id, :base64 => true, as: 'mediaId'
439
+ property :object_id_prop, as: 'objectId', class: Google::Apis::CloudsupportV2beta::ObjectIdProp, decorator: Google::Apis::CloudsupportV2beta::ObjectIdProp::Representation
440
+
441
+ property :path, as: 'path'
442
+ property :reference_type, as: 'referenceType'
443
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
444
+ property :sha256_hash, :base64 => true, as: 'sha256Hash'
445
+ property :timestamp, :numeric_string => true, as: 'timestamp'
446
+ property :token, as: 'token'
447
+ end
448
+ end
449
+
450
+ class ObjectIdProp
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :bucket_name, as: 'bucketName'
454
+ property :generation, :numeric_string => true, as: 'generation'
455
+ property :object_name, as: 'objectName'
456
+ end
457
+ end
458
+
459
+ class SearchCaseClassificationsResponse
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ collection :case_classifications, as: 'caseClassifications', class: Google::Apis::CloudsupportV2beta::CaseClassification, decorator: Google::Apis::CloudsupportV2beta::CaseClassification::Representation
463
+
464
+ property :next_page_token, as: 'nextPageToken'
465
+ end
466
+ end
467
+
468
+ class SearchCasesResponse
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ collection :cases, as: 'cases', class: Google::Apis::CloudsupportV2beta::Case, decorator: Google::Apis::CloudsupportV2beta::Case::Representation
472
+
473
+ property :next_page_token, as: 'nextPageToken'
474
+ end
475
+ end
476
+
477
+ class WorkflowOperationMetadata
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :namespace, as: 'namespace'
481
+ property :operation_action, as: 'operationAction'
482
+ property :workflow_operation_type, as: 'workflowOperationType'
483
+ end
484
+ end
485
+ end
486
+ end
487
+ end