google-api-client 0.39.3 → 0.39.4

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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  4. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  5. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  6. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  7. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  8. data/generated/google/apis/composer_v1beta1.rb +1 -1
  9. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  10. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  11. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  12. data/generated/google/apis/compute_alpha.rb +1 -1
  13. data/generated/google/apis/compute_alpha/classes.rb +142 -58
  14. data/generated/google/apis/compute_alpha/representations.rb +27 -0
  15. data/generated/google/apis/compute_alpha/service.rb +825 -668
  16. data/generated/google/apis/compute_beta.rb +1 -1
  17. data/generated/google/apis/compute_beta/classes.rb +171 -54
  18. data/generated/google/apis/compute_beta/representations.rb +47 -0
  19. data/generated/google/apis/compute_beta/service.rb +591 -591
  20. data/generated/google/apis/compute_v1.rb +1 -1
  21. data/generated/google/apis/compute_v1/classes.rb +111 -50
  22. data/generated/google/apis/compute_v1/representations.rb +16 -0
  23. data/generated/google/apis/compute_v1/service.rb +83 -0
  24. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  25. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  26. data/generated/google/apis/dialogflow_v2.rb +1 -1
  27. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  28. data/generated/google/apis/file_v1.rb +1 -1
  29. data/generated/google/apis/file_v1/classes.rb +1156 -0
  30. data/generated/google/apis/file_v1/representations.rb +381 -0
  31. data/generated/google/apis/file_v1beta1.rb +1 -1
  32. data/generated/google/apis/file_v1beta1/classes.rb +1156 -0
  33. data/generated/google/apis/file_v1beta1/representations.rb +381 -0
  34. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  35. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  36. data/generated/google/apis/jobs_v3.rb +1 -1
  37. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  38. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  39. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  40. data/generated/google/apis/ml_v1.rb +1 -1
  41. data/generated/google/apis/ml_v1/classes.rb +84 -18
  42. data/generated/google/apis/ml_v1/representations.rb +4 -0
  43. data/generated/google/apis/ml_v1/service.rb +11 -6
  44. data/generated/google/apis/monitoring_v3.rb +1 -1
  45. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  46. data/generated/google/apis/people_v1.rb +1 -1
  47. data/generated/google/apis/people_v1/service.rb +1 -1
  48. data/generated/google/apis/pubsub_v1.rb +1 -1
  49. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  50. data/generated/google/apis/secretmanager_v1.rb +1 -1
  51. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  52. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  53. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  55. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  56. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  57. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  58. data/lib/google/apis/version.rb +1 -1
  59. metadata +3 -3
@@ -22,24 +22,72 @@ module Google
22
22
  module Apis
23
23
  module FileV1
24
24
 
25
+ class AttributeValue
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Attributes
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BillingView
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class CancelOperationRequest
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
28
46
  include Google::Apis::Core::JsonObjectSupport
29
47
  end
30
48
 
49
+ class Distribution
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
31
55
  class Empty
32
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
57
 
34
58
  include Google::Apis::Core::JsonObjectSupport
35
59
  end
36
60
 
61
+ class Exemplar
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ExplicitBuckets
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ExponentialBuckets
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
37
79
  class FileShareConfig
38
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
81
 
40
82
  include Google::Apis::Core::JsonObjectSupport
41
83
  end
42
84
 
85
+ class GoogleApiServicecontrolV1Operation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
43
91
  class GoogleCloudSaasacceleratorManagementProvidersV1Instance
44
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
93
 
@@ -82,12 +130,24 @@ module Google
82
130
  include Google::Apis::Core::JsonObjectSupport
83
131
  end
84
132
 
133
+ class HttpRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
85
139
  class Instance
86
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
141
 
88
142
  include Google::Apis::Core::JsonObjectSupport
89
143
  end
90
144
 
145
+ class LinearBuckets
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
91
151
  class ListInstancesResponse
92
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
153
 
@@ -112,6 +172,42 @@ module Google
112
172
  include Google::Apis::Core::JsonObjectSupport
113
173
  end
114
174
 
175
+ class LogEntry
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class LogEntryOperation
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class LogEntrySourceLocation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class MetricValue
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class MetricValueSet
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Money
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
115
211
  class NetworkConfig
116
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
213
 
@@ -130,24 +226,126 @@ module Google
130
226
  include Google::Apis::Core::JsonObjectSupport
131
227
  end
132
228
 
229
+ class QuotaProperties
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ReportRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ResourceInfo
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
133
247
  class Status
134
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
249
 
136
250
  include Google::Apis::Core::JsonObjectSupport
137
251
  end
138
252
 
253
+ class TraceSpan
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class TruncatableString
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class AttributeValue
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ property :bool_value, as: 'boolValue'
269
+ property :int_value, :numeric_string => true, as: 'intValue'
270
+ property :string_value, as: 'stringValue', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation
271
+
272
+ end
273
+ end
274
+
275
+ class Attributes
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1::AttributeValue, decorator: Google::Apis::FileV1::AttributeValue::Representation
279
+
280
+ property :dropped_attributes_count, as: 'droppedAttributesCount'
281
+ end
282
+ end
283
+
284
+ class BillingView
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1::ReportRequest, decorator: Google::Apis::FileV1::ReportRequest::Representation
288
+
289
+ end
290
+ end
291
+
139
292
  class CancelOperationRequest
140
293
  # @private
141
294
  class Representation < Google::Apis::Core::JsonRepresentation
142
295
  end
143
296
  end
144
297
 
298
+ class Distribution
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ collection :bucket_counts, as: 'bucketCounts'
302
+ property :count, :numeric_string => true, as: 'count'
303
+ collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1::Exemplar, decorator: Google::Apis::FileV1::Exemplar::Representation
304
+
305
+ property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1::ExplicitBuckets, decorator: Google::Apis::FileV1::ExplicitBuckets::Representation
306
+
307
+ property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1::ExponentialBuckets, decorator: Google::Apis::FileV1::ExponentialBuckets::Representation
308
+
309
+ property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1::LinearBuckets, decorator: Google::Apis::FileV1::LinearBuckets::Representation
310
+
311
+ property :maximum, as: 'maximum'
312
+ property :mean, as: 'mean'
313
+ property :minimum, as: 'minimum'
314
+ property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
315
+ end
316
+ end
317
+
145
318
  class Empty
146
319
  # @private
147
320
  class Representation < Google::Apis::Core::JsonRepresentation
148
321
  end
149
322
  end
150
323
 
324
+ class Exemplar
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ collection :attachments, as: 'attachments'
328
+ property :timestamp, as: 'timestamp'
329
+ property :value, as: 'value'
330
+ end
331
+ end
332
+
333
+ class ExplicitBuckets
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ collection :bounds, as: 'bounds'
337
+ end
338
+ end
339
+
340
+ class ExponentialBuckets
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :growth_factor, as: 'growthFactor'
344
+ property :num_finite_buckets, as: 'numFiniteBuckets'
345
+ property :scale, as: 'scale'
346
+ end
347
+ end
348
+
151
349
  class FileShareConfig
152
350
  # @private
153
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -156,6 +354,30 @@ module Google
156
354
  end
157
355
  end
158
356
 
357
+ class GoogleApiServicecontrolV1Operation
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :consumer_id, as: 'consumerId'
361
+ property :end_time, as: 'endTime'
362
+ property :importance, as: 'importance'
363
+ hash :labels, as: 'labels'
364
+ collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1::LogEntry, decorator: Google::Apis::FileV1::LogEntry::Representation
365
+
366
+ collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1::MetricValueSet, decorator: Google::Apis::FileV1::MetricValueSet::Representation
367
+
368
+ property :operation_id, as: 'operationId'
369
+ property :operation_name, as: 'operationName'
370
+ property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1::QuotaProperties, decorator: Google::Apis::FileV1::QuotaProperties::Representation
371
+
372
+ collection :resources, as: 'resources', class: Google::Apis::FileV1::ResourceInfo, decorator: Google::Apis::FileV1::ResourceInfo::Representation
373
+
374
+ property :start_time, as: 'startTime'
375
+ collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1::TraceSpan, decorator: Google::Apis::FileV1::TraceSpan::Representation
376
+
377
+ hash :user_labels, as: 'userLabels'
378
+ end
379
+ end
380
+
159
381
  class GoogleCloudSaasacceleratorManagementProvidersV1Instance
160
382
  # @private
161
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -238,6 +460,27 @@ module Google
238
460
  end
239
461
  end
240
462
 
463
+ class HttpRequest
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
467
+ property :cache_hit, as: 'cacheHit'
468
+ property :cache_lookup, as: 'cacheLookup'
469
+ property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
470
+ property :latency, as: 'latency'
471
+ property :protocol, as: 'protocol'
472
+ property :referer, as: 'referer'
473
+ property :remote_ip, as: 'remoteIp'
474
+ property :request_method, as: 'requestMethod'
475
+ property :request_size, :numeric_string => true, as: 'requestSize'
476
+ property :request_url, as: 'requestUrl'
477
+ property :response_size, :numeric_string => true, as: 'responseSize'
478
+ property :server_ip, as: 'serverIp'
479
+ property :status, as: 'status'
480
+ property :user_agent, as: 'userAgent'
481
+ end
482
+ end
483
+
241
484
  class Instance
242
485
  # @private
243
486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -256,6 +499,15 @@ module Google
256
499
  end
257
500
  end
258
501
 
502
+ class LinearBuckets
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :num_finite_buckets, as: 'numFiniteBuckets'
506
+ property :offset, as: 'offset'
507
+ property :width, as: 'width'
508
+ end
509
+ end
510
+
259
511
  class ListInstancesResponse
260
512
  # @private
261
513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -295,6 +547,81 @@ module Google
295
547
  end
296
548
  end
297
549
 
550
+ class LogEntry
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :http_request, as: 'httpRequest', class: Google::Apis::FileV1::HttpRequest, decorator: Google::Apis::FileV1::HttpRequest::Representation
554
+
555
+ property :insert_id, as: 'insertId'
556
+ hash :labels, as: 'labels'
557
+ property :name, as: 'name'
558
+ property :operation, as: 'operation', class: Google::Apis::FileV1::LogEntryOperation, decorator: Google::Apis::FileV1::LogEntryOperation::Representation
559
+
560
+ hash :proto_payload, as: 'protoPayload'
561
+ property :severity, as: 'severity'
562
+ property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1::LogEntrySourceLocation, decorator: Google::Apis::FileV1::LogEntrySourceLocation::Representation
563
+
564
+ hash :struct_payload, as: 'structPayload'
565
+ property :text_payload, as: 'textPayload'
566
+ property :timestamp, as: 'timestamp'
567
+ property :trace, as: 'trace'
568
+ end
569
+ end
570
+
571
+ class LogEntryOperation
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :first, as: 'first'
575
+ property :id, as: 'id'
576
+ property :last, as: 'last'
577
+ property :producer, as: 'producer'
578
+ end
579
+ end
580
+
581
+ class LogEntrySourceLocation
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :file, as: 'file'
585
+ property :function, as: 'function'
586
+ property :line, :numeric_string => true, as: 'line'
587
+ end
588
+ end
589
+
590
+ class MetricValue
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :bool_value, as: 'boolValue'
594
+ property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1::Distribution, decorator: Google::Apis::FileV1::Distribution::Representation
595
+
596
+ property :double_value, as: 'doubleValue'
597
+ property :end_time, as: 'endTime'
598
+ property :int64_value, :numeric_string => true, as: 'int64Value'
599
+ hash :labels, as: 'labels'
600
+ property :money_value, as: 'moneyValue', class: Google::Apis::FileV1::Money, decorator: Google::Apis::FileV1::Money::Representation
601
+
602
+ property :start_time, as: 'startTime'
603
+ property :string_value, as: 'stringValue'
604
+ end
605
+ end
606
+
607
+ class MetricValueSet
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ property :metric_name, as: 'metricName'
611
+ collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1::MetricValue, decorator: Google::Apis::FileV1::MetricValue::Representation
612
+
613
+ end
614
+ end
615
+
616
+ class Money
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :currency_code, as: 'currencyCode'
620
+ property :nanos, as: 'nanos'
621
+ property :units, :numeric_string => true, as: 'units'
622
+ end
623
+ end
624
+
298
625
  class NetworkConfig
299
626
  # @private
300
627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -330,6 +657,32 @@ module Google
330
657
  end
331
658
  end
332
659
 
660
+ class QuotaProperties
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :quota_mode, as: 'quotaMode'
664
+ end
665
+ end
666
+
667
+ class ReportRequest
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :operations, as: 'operations', class: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation::Representation
671
+
672
+ property :service_config_id, as: 'serviceConfigId'
673
+ property :service_name, as: 'serviceName'
674
+ end
675
+ end
676
+
677
+ class ResourceInfo
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :resource_container, as: 'resourceContainer'
681
+ property :resource_location, as: 'resourceLocation'
682
+ property :resource_name, as: 'resourceName'
683
+ end
684
+ end
685
+
333
686
  class Status
334
687
  # @private
335
688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -338,6 +691,34 @@ module Google
338
691
  property :message, as: 'message'
339
692
  end
340
693
  end
694
+
695
+ class TraceSpan
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :attributes, as: 'attributes', class: Google::Apis::FileV1::Attributes, decorator: Google::Apis::FileV1::Attributes::Representation
699
+
700
+ property :child_span_count, as: 'childSpanCount'
701
+ property :display_name, as: 'displayName', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation
702
+
703
+ property :end_time, as: 'endTime'
704
+ property :name, as: 'name'
705
+ property :parent_span_id, as: 'parentSpanId'
706
+ property :same_process_as_parent_span, as: 'sameProcessAsParentSpan'
707
+ property :span_id, as: 'spanId'
708
+ property :span_kind, as: 'spanKind'
709
+ property :start_time, as: 'startTime'
710
+ property :status, as: 'status', class: Google::Apis::FileV1::Status, decorator: Google::Apis::FileV1::Status::Representation
711
+
712
+ end
713
+ end
714
+
715
+ class TruncatableString
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :truncated_byte_count, as: 'truncatedByteCount'
719
+ property :value, as: 'value'
720
+ end
721
+ end
341
722
  end
342
723
  end
343
724
  end