google-api-client 0.28.3 → 0.28.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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +3 -5
  5. data/generated/google/apis/admin_directory_v1.rb +1 -1
  6. data/generated/google/apis/admin_directory_v1/classes.rb +98 -0
  7. data/generated/google/apis/admin_directory_v1/representations.rb +21 -0
  8. data/generated/google/apis/admin_directory_v1/service.rb +12 -3
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -3
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +15 -0
  12. data/generated/google/apis/bigtableadmin_v1.rb +31 -0
  13. data/generated/google/apis/bigtableadmin_v1/classes.rb +510 -0
  14. data/generated/google/apis/bigtableadmin_v1/representations.rb +234 -0
  15. data/generated/google/apis/bigtableadmin_v1/service.rb +128 -0
  16. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  17. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  18. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  19. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  20. data/generated/google/apis/discovery_v1.rb +2 -2
  21. data/generated/google/apis/discovery_v1/service.rb +1 -1
  22. data/generated/google/apis/dlp_v2.rb +1 -1
  23. data/generated/google/apis/dlp_v2/classes.rb +7 -0
  24. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  25. data/generated/google/apis/docs_v1.rb +2 -2
  26. data/generated/google/apis/docs_v1/classes.rb +21 -21
  27. data/generated/google/apis/docs_v1/service.rb +1 -1
  28. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  29. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +40 -0
  30. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  31. data/generated/google/apis/iam_v1.rb +1 -1
  32. data/generated/google/apis/iam_v1/classes.rb +0 -37
  33. data/generated/google/apis/iam_v1/representations.rb +0 -15
  34. data/generated/google/apis/iam_v1/service.rb +8 -44
  35. data/generated/google/apis/speech_v1.rb +2 -2
  36. data/generated/google/apis/speech_v1/classes.rb +2 -2
  37. data/generated/google/apis/speech_v1/service.rb +1 -1
  38. data/generated/google/apis/speech_v1p1beta1.rb +2 -2
  39. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  40. data/generated/google/apis/speech_v1p1beta1/service.rb +1 -1
  41. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  42. data/generated/google/apis/storagetransfer_v1/classes.rb +15 -11
  43. data/generated/google/apis/testing_v1.rb +1 -1
  44. data/generated/google/apis/testing_v1/classes.rb +6 -0
  45. data/generated/google/apis/testing_v1/representations.rb +1 -0
  46. data/lib/google/apis/version.rb +1 -1
  47. metadata +6 -2
@@ -0,0 +1,510 @@
1
+ # Copyright 2015 Google Inc.
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 BigtableadminV1
24
+
25
+ # A resizable group of nodes in a particular cloud location, capable
26
+ # of serving all Tables in the parent
27
+ # Instance.
28
+ class Cluster
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # (`CreationOnly`)
32
+ # The type of storage used by this cluster to serve its
33
+ # parent instance's tables, unless explicitly overridden.
34
+ # Corresponds to the JSON property `defaultStorageType`
35
+ # @return [String]
36
+ attr_accessor :default_storage_type
37
+
38
+ # (`CreationOnly`)
39
+ # The location where this cluster's nodes and storage reside. For best
40
+ # performance, clients should be located as close as possible to this
41
+ # cluster. Currently only zones are supported, so values should be of the
42
+ # form `projects/<project>/locations/<zone>`.
43
+ # Corresponds to the JSON property `location`
44
+ # @return [String]
45
+ attr_accessor :location
46
+
47
+ # (`OutputOnly`)
48
+ # The unique name of the cluster. Values are of the form
49
+ # `projects/<project>/instances/<instance>/clusters/a-z*`.
50
+ # Corresponds to the JSON property `name`
51
+ # @return [String]
52
+ attr_accessor :name
53
+
54
+ # The number of nodes allocated to this cluster. More nodes enable higher
55
+ # throughput and more consistent performance.
56
+ # Corresponds to the JSON property `serveNodes`
57
+ # @return [Fixnum]
58
+ attr_accessor :serve_nodes
59
+
60
+ # (`OutputOnly`)
61
+ # The current state of the cluster.
62
+ # Corresponds to the JSON property `state`
63
+ # @return [String]
64
+ attr_accessor :state
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
73
+ @location = args[:location] if args.key?(:location)
74
+ @name = args[:name] if args.key?(:name)
75
+ @serve_nodes = args[:serve_nodes] if args.key?(:serve_nodes)
76
+ @state = args[:state] if args.key?(:state)
77
+ end
78
+ end
79
+
80
+ # The metadata for the Operation returned by CreateCluster.
81
+ class CreateClusterMetadata
82
+ include Google::Apis::Core::Hashable
83
+
84
+ # The time at which the operation failed or was completed successfully.
85
+ # Corresponds to the JSON property `finishTime`
86
+ # @return [String]
87
+ attr_accessor :finish_time
88
+
89
+ # Request message for BigtableInstanceAdmin.CreateCluster.
90
+ # Corresponds to the JSON property `originalRequest`
91
+ # @return [Google::Apis::BigtableadminV1::CreateClusterRequest]
92
+ attr_accessor :original_request
93
+
94
+ # The time at which the original request was received.
95
+ # Corresponds to the JSON property `requestTime`
96
+ # @return [String]
97
+ attr_accessor :request_time
98
+
99
+ # Keys: the full `name` of each table that existed in the instance when
100
+ # CreateCluster was first called, i.e.
101
+ # `projects/<project>/instances/<instance>/tables/<table>`. Any table added
102
+ # to the instance by a later API call will be created in the new cluster by
103
+ # that API call, not this one.
104
+ # Values: information on how much of a table's data has been copied to the
105
+ # newly-created cluster so far.
106
+ # Corresponds to the JSON property `tables`
107
+ # @return [Hash<String,Google::Apis::BigtableadminV1::TableProgress>]
108
+ attr_accessor :tables
109
+
110
+ def initialize(**args)
111
+ update!(**args)
112
+ end
113
+
114
+ # Update properties of this object
115
+ def update!(**args)
116
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
117
+ @original_request = args[:original_request] if args.key?(:original_request)
118
+ @request_time = args[:request_time] if args.key?(:request_time)
119
+ @tables = args[:tables] if args.key?(:tables)
120
+ end
121
+ end
122
+
123
+ # Request message for BigtableInstanceAdmin.CreateCluster.
124
+ class CreateClusterRequest
125
+ include Google::Apis::Core::Hashable
126
+
127
+ # A resizable group of nodes in a particular cloud location, capable
128
+ # of serving all Tables in the parent
129
+ # Instance.
130
+ # Corresponds to the JSON property `cluster`
131
+ # @return [Google::Apis::BigtableadminV1::Cluster]
132
+ attr_accessor :cluster
133
+
134
+ # The ID to be used when referring to the new cluster within its instance,
135
+ # e.g., just `mycluster` rather than
136
+ # `projects/myproject/instances/myinstance/clusters/mycluster`.
137
+ # Corresponds to the JSON property `clusterId`
138
+ # @return [String]
139
+ attr_accessor :cluster_id
140
+
141
+ # The unique name of the instance in which to create the new cluster.
142
+ # Values are of the form
143
+ # `projects/<project>/instances/<instance>`.
144
+ # Corresponds to the JSON property `parent`
145
+ # @return [String]
146
+ attr_accessor :parent
147
+
148
+ def initialize(**args)
149
+ update!(**args)
150
+ end
151
+
152
+ # Update properties of this object
153
+ def update!(**args)
154
+ @cluster = args[:cluster] if args.key?(:cluster)
155
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
156
+ @parent = args[:parent] if args.key?(:parent)
157
+ end
158
+ end
159
+
160
+ # The metadata for the Operation returned by CreateInstance.
161
+ class CreateInstanceMetadata
162
+ include Google::Apis::Core::Hashable
163
+
164
+ # The time at which the operation failed or was completed successfully.
165
+ # Corresponds to the JSON property `finishTime`
166
+ # @return [String]
167
+ attr_accessor :finish_time
168
+
169
+ # Request message for BigtableInstanceAdmin.CreateInstance.
170
+ # Corresponds to the JSON property `originalRequest`
171
+ # @return [Google::Apis::BigtableadminV1::CreateInstanceRequest]
172
+ attr_accessor :original_request
173
+
174
+ # The time at which the original request was received.
175
+ # Corresponds to the JSON property `requestTime`
176
+ # @return [String]
177
+ attr_accessor :request_time
178
+
179
+ def initialize(**args)
180
+ update!(**args)
181
+ end
182
+
183
+ # Update properties of this object
184
+ def update!(**args)
185
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
186
+ @original_request = args[:original_request] if args.key?(:original_request)
187
+ @request_time = args[:request_time] if args.key?(:request_time)
188
+ end
189
+ end
190
+
191
+ # Request message for BigtableInstanceAdmin.CreateInstance.
192
+ class CreateInstanceRequest
193
+ include Google::Apis::Core::Hashable
194
+
195
+ # The clusters to be created within the instance, mapped by desired
196
+ # cluster ID, e.g., just `mycluster` rather than
197
+ # `projects/myproject/instances/myinstance/clusters/mycluster`.
198
+ # Fields marked `OutputOnly` must be left blank.
199
+ # Currently, at most two clusters can be specified.
200
+ # Corresponds to the JSON property `clusters`
201
+ # @return [Hash<String,Google::Apis::BigtableadminV1::Cluster>]
202
+ attr_accessor :clusters
203
+
204
+ # A collection of Bigtable Tables and
205
+ # the resources that serve them.
206
+ # All tables in an instance are served from all
207
+ # Clusters in the instance.
208
+ # Corresponds to the JSON property `instance`
209
+ # @return [Google::Apis::BigtableadminV1::Instance]
210
+ attr_accessor :instance
211
+
212
+ # The ID to be used when referring to the new instance within its project,
213
+ # e.g., just `myinstance` rather than
214
+ # `projects/myproject/instances/myinstance`.
215
+ # Corresponds to the JSON property `instanceId`
216
+ # @return [String]
217
+ attr_accessor :instance_id
218
+
219
+ # The unique name of the project in which to create the new instance.
220
+ # Values are of the form `projects/<project>`.
221
+ # Corresponds to the JSON property `parent`
222
+ # @return [String]
223
+ attr_accessor :parent
224
+
225
+ def initialize(**args)
226
+ update!(**args)
227
+ end
228
+
229
+ # Update properties of this object
230
+ def update!(**args)
231
+ @clusters = args[:clusters] if args.key?(:clusters)
232
+ @instance = args[:instance] if args.key?(:instance)
233
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
234
+ @parent = args[:parent] if args.key?(:parent)
235
+ end
236
+ end
237
+
238
+ # A collection of Bigtable Tables and
239
+ # the resources that serve them.
240
+ # All tables in an instance are served from all
241
+ # Clusters in the instance.
242
+ class Instance
243
+ include Google::Apis::Core::Hashable
244
+
245
+ # The descriptive name for this instance as it appears in UIs.
246
+ # Can be changed at any time, but should be kept globally unique
247
+ # to avoid confusion.
248
+ # Corresponds to the JSON property `displayName`
249
+ # @return [String]
250
+ attr_accessor :display_name
251
+
252
+ # Labels are a flexible and lightweight mechanism for organizing cloud
253
+ # resources into groups that reflect a customer's organizational needs and
254
+ # deployment strategies. They can be used to filter resources and aggregate
255
+ # metrics.
256
+ # * Label keys must be between 1 and 63 characters long and must conform to
257
+ # the regular expression: `\p`Ll`\p`Lo``0,62``.
258
+ # * Label values must be between 0 and 63 characters long and must conform to
259
+ # the regular expression: `[\p`Ll`\p`Lo`\p`N`_-]`0,63``.
260
+ # * No more than 64 labels can be associated with a given resource.
261
+ # * Keys and values must both be under 128 bytes.
262
+ # Corresponds to the JSON property `labels`
263
+ # @return [Hash<String,String>]
264
+ attr_accessor :labels
265
+
266
+ # (`OutputOnly`)
267
+ # The unique name of the instance. Values are of the form
268
+ # `projects/<project>/instances/a-z+[a-z0-9]`.
269
+ # Corresponds to the JSON property `name`
270
+ # @return [String]
271
+ attr_accessor :name
272
+
273
+ # (`OutputOnly`)
274
+ # The current state of the instance.
275
+ # Corresponds to the JSON property `state`
276
+ # @return [String]
277
+ attr_accessor :state
278
+
279
+ # The type of the instance. Defaults to `PRODUCTION`.
280
+ # Corresponds to the JSON property `type`
281
+ # @return [String]
282
+ attr_accessor :type
283
+
284
+ def initialize(**args)
285
+ update!(**args)
286
+ end
287
+
288
+ # Update properties of this object
289
+ def update!(**args)
290
+ @display_name = args[:display_name] if args.key?(:display_name)
291
+ @labels = args[:labels] if args.key?(:labels)
292
+ @name = args[:name] if args.key?(:name)
293
+ @state = args[:state] if args.key?(:state)
294
+ @type = args[:type] if args.key?(:type)
295
+ end
296
+ end
297
+
298
+ # The response message for Locations.ListLocations.
299
+ class ListLocationsResponse
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # A list of locations that matches the specified filter in the request.
303
+ # Corresponds to the JSON property `locations`
304
+ # @return [Array<Google::Apis::BigtableadminV1::Location>]
305
+ attr_accessor :locations
306
+
307
+ # The standard List next-page token.
308
+ # Corresponds to the JSON property `nextPageToken`
309
+ # @return [String]
310
+ attr_accessor :next_page_token
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @locations = args[:locations] if args.key?(:locations)
319
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
320
+ end
321
+ end
322
+
323
+ # A resource that represents Google Cloud Platform location.
324
+ class Location
325
+ include Google::Apis::Core::Hashable
326
+
327
+ # The friendly name for this location, typically a nearby city name.
328
+ # For example, "Tokyo".
329
+ # Corresponds to the JSON property `displayName`
330
+ # @return [String]
331
+ attr_accessor :display_name
332
+
333
+ # Cross-service attributes for the location. For example
334
+ # `"cloud.googleapis.com/region": "us-east1"`
335
+ # Corresponds to the JSON property `labels`
336
+ # @return [Hash<String,String>]
337
+ attr_accessor :labels
338
+
339
+ # The canonical id for this location. For example: `"us-east1"`.
340
+ # Corresponds to the JSON property `locationId`
341
+ # @return [String]
342
+ attr_accessor :location_id
343
+
344
+ # Service-specific metadata. For example the available capacity at the given
345
+ # location.
346
+ # Corresponds to the JSON property `metadata`
347
+ # @return [Hash<String,Object>]
348
+ attr_accessor :metadata
349
+
350
+ # Resource name for the location, which may vary between implementations.
351
+ # For example: `"projects/example-project/locations/us-east1"`
352
+ # Corresponds to the JSON property `name`
353
+ # @return [String]
354
+ attr_accessor :name
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @display_name = args[:display_name] if args.key?(:display_name)
363
+ @labels = args[:labels] if args.key?(:labels)
364
+ @location_id = args[:location_id] if args.key?(:location_id)
365
+ @metadata = args[:metadata] if args.key?(:metadata)
366
+ @name = args[:name] if args.key?(:name)
367
+ end
368
+ end
369
+
370
+ # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
371
+ class PartialUpdateInstanceRequest
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # A collection of Bigtable Tables and
375
+ # the resources that serve them.
376
+ # All tables in an instance are served from all
377
+ # Clusters in the instance.
378
+ # Corresponds to the JSON property `instance`
379
+ # @return [Google::Apis::BigtableadminV1::Instance]
380
+ attr_accessor :instance
381
+
382
+ # The subset of Instance fields which should be replaced.
383
+ # Must be explicitly set.
384
+ # Corresponds to the JSON property `updateMask`
385
+ # @return [String]
386
+ attr_accessor :update_mask
387
+
388
+ def initialize(**args)
389
+ update!(**args)
390
+ end
391
+
392
+ # Update properties of this object
393
+ def update!(**args)
394
+ @instance = args[:instance] if args.key?(:instance)
395
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
396
+ end
397
+ end
398
+
399
+ # Progress info for copying a table's data to the new cluster.
400
+ class TableProgress
401
+ include Google::Apis::Core::Hashable
402
+
403
+ # Estimate of the number of bytes copied so far for this table.
404
+ # This will eventually reach 'estimated_size_bytes' unless the table copy
405
+ # is CANCELLED.
406
+ # Corresponds to the JSON property `estimatedCopiedBytes`
407
+ # @return [Fixnum]
408
+ attr_accessor :estimated_copied_bytes
409
+
410
+ # Estimate of the size of the table to be copied.
411
+ # Corresponds to the JSON property `estimatedSizeBytes`
412
+ # @return [Fixnum]
413
+ attr_accessor :estimated_size_bytes
414
+
415
+ #
416
+ # Corresponds to the JSON property `state`
417
+ # @return [String]
418
+ attr_accessor :state
419
+
420
+ def initialize(**args)
421
+ update!(**args)
422
+ end
423
+
424
+ # Update properties of this object
425
+ def update!(**args)
426
+ @estimated_copied_bytes = args[:estimated_copied_bytes] if args.key?(:estimated_copied_bytes)
427
+ @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes)
428
+ @state = args[:state] if args.key?(:state)
429
+ end
430
+ end
431
+
432
+ # The metadata for the Operation returned by UpdateAppProfile.
433
+ class UpdateAppProfileMetadata
434
+ include Google::Apis::Core::Hashable
435
+
436
+ def initialize(**args)
437
+ update!(**args)
438
+ end
439
+
440
+ # Update properties of this object
441
+ def update!(**args)
442
+ end
443
+ end
444
+
445
+ # The metadata for the Operation returned by UpdateCluster.
446
+ class UpdateClusterMetadata
447
+ include Google::Apis::Core::Hashable
448
+
449
+ # The time at which the operation failed or was completed successfully.
450
+ # Corresponds to the JSON property `finishTime`
451
+ # @return [String]
452
+ attr_accessor :finish_time
453
+
454
+ # A resizable group of nodes in a particular cloud location, capable
455
+ # of serving all Tables in the parent
456
+ # Instance.
457
+ # Corresponds to the JSON property `originalRequest`
458
+ # @return [Google::Apis::BigtableadminV1::Cluster]
459
+ attr_accessor :original_request
460
+
461
+ # The time at which the original request was received.
462
+ # Corresponds to the JSON property `requestTime`
463
+ # @return [String]
464
+ attr_accessor :request_time
465
+
466
+ def initialize(**args)
467
+ update!(**args)
468
+ end
469
+
470
+ # Update properties of this object
471
+ def update!(**args)
472
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
473
+ @original_request = args[:original_request] if args.key?(:original_request)
474
+ @request_time = args[:request_time] if args.key?(:request_time)
475
+ end
476
+ end
477
+
478
+ # The metadata for the Operation returned by UpdateInstance.
479
+ class UpdateInstanceMetadata
480
+ include Google::Apis::Core::Hashable
481
+
482
+ # The time at which the operation failed or was completed successfully.
483
+ # Corresponds to the JSON property `finishTime`
484
+ # @return [String]
485
+ attr_accessor :finish_time
486
+
487
+ # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
488
+ # Corresponds to the JSON property `originalRequest`
489
+ # @return [Google::Apis::BigtableadminV1::PartialUpdateInstanceRequest]
490
+ attr_accessor :original_request
491
+
492
+ # The time at which the original request was received.
493
+ # Corresponds to the JSON property `requestTime`
494
+ # @return [String]
495
+ attr_accessor :request_time
496
+
497
+ def initialize(**args)
498
+ update!(**args)
499
+ end
500
+
501
+ # Update properties of this object
502
+ def update!(**args)
503
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
504
+ @original_request = args[:original_request] if args.key?(:original_request)
505
+ @request_time = args[:request_time] if args.key?(:request_time)
506
+ end
507
+ end
508
+ end
509
+ end
510
+ end