google-apis-bigqueryreservation_v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0a6fd144b9e201879aec8250c552c770b16bdf311a2245549437f34784ef233
4
- data.tar.gz: 556da34070fec416b19674bf14c72cc8e877bf868b4cef72f5ce0dd89d46c64c
3
+ metadata.gz: 9533be245bd898837b4c680171f80e6dad157a2d8fe6ebe5ca2fe97f31be9449
4
+ data.tar.gz: a3ea0bb887faf316530b3e69fa94d9f61db39913e62ffd3a0695ee576bffd5c0
5
5
  SHA512:
6
- metadata.gz: b81bc52272b64b9e6c539b071a48edce703cfd7e223a3019e0bacc792755f3689cd53404335e51db110f3a5ef9a7ffae8ad64d4bbe519b12461a2419596fb621
7
- data.tar.gz: 505f98398a5412b693929eee4c1bf3051a71fa879fff0a492b51afe2f332de919fac205fc55f65e6a73ea4921f6ecfbdf162596969e8919ff763440ad5639424
6
+ metadata.gz: e34a97edf6acfe8c323827b27990d0cfce0f9ed5d88af6a6f3972988105953f7c5628ac022b5acebf9aa0b5c527ff171df9c6f6e746c83f665d6d3ef85422999
7
+ data.tar.gz: adaa7a21c1ae667642fad9f9542ee35dffc69a90ba4d0c9d2b8f7b61b47d34aaf492a6549e3c32ca60f31ae98ec72e5e07dd78702566d1cc5db8ff82f38873cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.4.0 (2021-03-31)
4
+
5
+ * Regenerated from discovery document revision 20210324
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.3.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -32,7 +32,7 @@ module Google
32
32
  # View and manage your data in Google BigQuery
33
33
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
34
34
 
35
- # View and manage your data across Google Cloud Platform services
35
+ # See, edit, configure, and delete your Google Cloud Platform data
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
  end
38
38
  end
@@ -170,26 +170,6 @@ module Google
170
170
  end
171
171
  end
172
172
 
173
- # The metadata for operation returned from ReservationService.CreateSlotPool.
174
- class CreateSlotPoolMetadata
175
- include Google::Apis::Core::Hashable
176
-
177
- # Resource name of the slot pool that is being created. E.g., projects/myproject/
178
- # locations/us-central1/reservations/foo/slotPools/123
179
- # Corresponds to the JSON property `slotPool`
180
- # @return [String]
181
- attr_accessor :slot_pool
182
-
183
- def initialize(**args)
184
- update!(**args)
185
- end
186
-
187
- # Update properties of this object
188
- def update!(**args)
189
- @slot_pool = args[:slot_pool] if args.key?(:slot_pool)
190
- end
191
- end
192
-
193
173
  # A generic empty message that you can re-use to avoid defining duplicated empty
194
174
  # messages in your APIs. A typical example is to use it as the request or the
195
175
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -259,31 +239,6 @@ module Google
259
239
  end
260
240
  end
261
241
 
262
- # The response message for Operations.ListOperations.
263
- class ListOperationsResponse
264
- include Google::Apis::Core::Hashable
265
-
266
- # The standard List next-page token.
267
- # Corresponds to the JSON property `nextPageToken`
268
- # @return [String]
269
- attr_accessor :next_page_token
270
-
271
- # A list of operations that matches the specified filter in the request.
272
- # Corresponds to the JSON property `operations`
273
- # @return [Array<Google::Apis::BigqueryreservationV1::Operation>]
274
- attr_accessor :operations
275
-
276
- def initialize(**args)
277
- update!(**args)
278
- end
279
-
280
- # Update properties of this object
281
- def update!(**args)
282
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
283
- @operations = args[:operations] if args.key?(:operations)
284
- end
285
- end
286
-
287
242
  # The response for ReservationService.ListReservations.
288
243
  class ListReservationsResponse
289
244
  include Google::Apis::Core::Hashable
@@ -355,68 +310,6 @@ module Google
355
310
  end
356
311
  end
357
312
 
358
- # This resource represents a long-running operation that is the result of a
359
- # network API call.
360
- class Operation
361
- include Google::Apis::Core::Hashable
362
-
363
- # If the value is `false`, it means the operation is still in progress. If `true`
364
- # , the operation is completed, and either `error` or `response` is available.
365
- # Corresponds to the JSON property `done`
366
- # @return [Boolean]
367
- attr_accessor :done
368
- alias_method :done?, :done
369
-
370
- # The `Status` type defines a logical error model that is suitable for different
371
- # programming environments, including REST APIs and RPC APIs. It is used by [
372
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
373
- # data: error code, error message, and error details. You can find out more
374
- # about this error model and how to work with it in the [API Design Guide](https:
375
- # //cloud.google.com/apis/design/errors).
376
- # Corresponds to the JSON property `error`
377
- # @return [Google::Apis::BigqueryreservationV1::Status]
378
- attr_accessor :error
379
-
380
- # Service-specific metadata associated with the operation. It typically contains
381
- # progress information and common metadata such as create time. Some services
382
- # might not provide such metadata. Any method that returns a long-running
383
- # operation should document the metadata type, if any.
384
- # Corresponds to the JSON property `metadata`
385
- # @return [Hash<String,Object>]
386
- attr_accessor :metadata
387
-
388
- # The server-assigned name, which is only unique within the same service that
389
- # originally returns it. If you use the default HTTP mapping, the `name` should
390
- # be a resource name ending with `operations/`unique_id``.
391
- # Corresponds to the JSON property `name`
392
- # @return [String]
393
- attr_accessor :name
394
-
395
- # The normal response of the operation in case of success. If the original
396
- # method returns no data on success, such as `Delete`, the response is `google.
397
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
398
- # the response should be the resource. For other methods, the response should
399
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
400
- # example, if the original method name is `TakeSnapshot()`, the inferred
401
- # response type is `TakeSnapshotResponse`.
402
- # Corresponds to the JSON property `response`
403
- # @return [Hash<String,Object>]
404
- attr_accessor :response
405
-
406
- def initialize(**args)
407
- update!(**args)
408
- end
409
-
410
- # Update properties of this object
411
- def update!(**args)
412
- @done = args[:done] if args.key?(:done)
413
- @error = args[:error] if args.key?(:error)
414
- @metadata = args[:metadata] if args.key?(:metadata)
415
- @name = args[:name] if args.key?(:name)
416
- @response = args[:response] if args.key?(:response)
417
- end
418
- end
419
-
420
313
  # A reservation is a mechanism used to guarantee slots to users.
421
314
  class Reservation
422
315
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryreservationV1
18
18
  # Version of the google-apis-bigqueryreservation_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210217"
25
+ REVISION = "20210324"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class CreateSlotPoolMetadata
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class Empty
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -64,12 +58,6 @@ module Google
64
58
  include Google::Apis::Core::JsonObjectSupport
65
59
  end
66
60
 
67
- class ListOperationsResponse
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
61
  class ListReservationsResponse
74
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
63
 
@@ -88,12 +76,6 @@ module Google
88
76
  include Google::Apis::Core::JsonObjectSupport
89
77
  end
90
78
 
91
- class Operation
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
79
  class Reservation
98
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
81
 
@@ -164,13 +146,6 @@ module Google
164
146
  end
165
147
  end
166
148
 
167
- class CreateSlotPoolMetadata
168
- # @private
169
- class Representation < Google::Apis::Core::JsonRepresentation
170
- property :slot_pool, as: 'slotPool'
171
- end
172
- end
173
-
174
149
  class Empty
175
150
  # @private
176
151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -195,15 +170,6 @@ module Google
195
170
  end
196
171
  end
197
172
 
198
- class ListOperationsResponse
199
- # @private
200
- class Representation < Google::Apis::Core::JsonRepresentation
201
- property :next_page_token, as: 'nextPageToken'
202
- collection :operations, as: 'operations', class: Google::Apis::BigqueryreservationV1::Operation, decorator: Google::Apis::BigqueryreservationV1::Operation::Representation
203
-
204
- end
205
- end
206
-
207
173
  class ListReservationsResponse
208
174
  # @private
209
175
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -227,18 +193,6 @@ module Google
227
193
  end
228
194
  end
229
195
 
230
- class Operation
231
- # @private
232
- class Representation < Google::Apis::Core::JsonRepresentation
233
- property :done, as: 'done'
234
- property :error, as: 'error', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
235
-
236
- hash :metadata, as: 'metadata'
237
- property :name, as: 'name'
238
- hash :response, as: 'response'
239
- end
240
- end
241
-
242
196
  class Reservation
243
197
  # @private
244
198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -49,85 +49,6 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Deletes a long-running operation. This method indicates that the client is no
53
- # longer interested in the operation result. It does not cancel the operation.
54
- # If the server doesn't support this method, it returns `google.rpc.Code.
55
- # UNIMPLEMENTED`.
56
- # @param [String] name
57
- # The name of the operation resource to be deleted.
58
- # @param [String] fields
59
- # Selector specifying which fields to include in a partial response.
60
- # @param [String] quota_user
61
- # Available to use for quota purposes for server-side applications. Can be any
62
- # arbitrary string assigned to a user, but should not exceed 40 characters.
63
- # @param [Google::Apis::RequestOptions] options
64
- # Request-specific options
65
- #
66
- # @yield [result, err] Result & error if block supplied
67
- # @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
68
- # @yieldparam err [StandardError] error object if request failed
69
- #
70
- # @return [Google::Apis::BigqueryreservationV1::Empty]
71
- #
72
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
- # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
76
- command = make_simple_command(:delete, 'v1/{+name}', options)
77
- command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
78
- command.response_class = Google::Apis::BigqueryreservationV1::Empty
79
- command.params['name'] = name unless name.nil?
80
- command.query['fields'] = fields unless fields.nil?
81
- command.query['quotaUser'] = quota_user unless quota_user.nil?
82
- execute_or_queue_command(command, &block)
83
- end
84
-
85
- # Lists operations that match the specified filter in the request. If the server
86
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
87
- # binding allows API services to override the binding to use different resource
88
- # name schemes, such as `users/*/operations`. To override the binding, API
89
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
90
- # service configuration. For backwards compatibility, the default name includes
91
- # the operations collection id, however overriding users must ensure the name
92
- # binding is the parent resource, without the operations collection id.
93
- # @param [String] name
94
- # The name of the operation's parent resource.
95
- # @param [String] filter
96
- # The standard list filter.
97
- # @param [Fixnum] page_size
98
- # The standard list page size.
99
- # @param [String] page_token
100
- # The standard list page token.
101
- # @param [String] fields
102
- # Selector specifying which fields to include in a partial response.
103
- # @param [String] quota_user
104
- # Available to use for quota purposes for server-side applications. Can be any
105
- # arbitrary string assigned to a user, but should not exceed 40 characters.
106
- # @param [Google::Apis::RequestOptions] options
107
- # Request-specific options
108
- #
109
- # @yield [result, err] Result & error if block supplied
110
- # @yieldparam result [Google::Apis::BigqueryreservationV1::ListOperationsResponse] parsed result object
111
- # @yieldparam err [StandardError] error object if request failed
112
- #
113
- # @return [Google::Apis::BigqueryreservationV1::ListOperationsResponse]
114
- #
115
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
- # @raise [Google::Apis::AuthorizationError] Authorization is required
118
- def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119
- command = make_simple_command(:get, 'v1/{+name}', options)
120
- command.response_representation = Google::Apis::BigqueryreservationV1::ListOperationsResponse::Representation
121
- command.response_class = Google::Apis::BigqueryreservationV1::ListOperationsResponse
122
- command.params['name'] = name unless name.nil?
123
- command.query['filter'] = filter unless filter.nil?
124
- command.query['pageSize'] = page_size unless page_size.nil?
125
- command.query['pageToken'] = page_token unless page_token.nil?
126
- command.query['fields'] = fields unless fields.nil?
127
- command.query['quotaUser'] = quota_user unless quota_user.nil?
128
- execute_or_queue_command(command, &block)
129
- end
130
-
131
52
  # Retrieves a BI reservation.
132
53
  # @param [String] name
133
54
  # Required. Name of the requested reservation, for example: `projects/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigqueryreservation_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.4.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1
57
57
  post_install_message:
58
58
  rdoc_options: []