google-apis-metastore_v1beta 0.40.0 → 0.41.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: e461bf853b1cf8d4d1a9f4a54922515a0d1c9fa97c3a5872a97398e98ffea81f
4
- data.tar.gz: a934f4395aa4d467956e69d505b55f19595653671072beee3193a4be49c5cabb
3
+ metadata.gz: abdf065355de4fe56763897a385cf5973e99169bde4eb8453073b28fe7809717
4
+ data.tar.gz: add2bea344584d2cf74f8a5e0941acac62f6b030449e9cdf3b3f83b2fadfa601
5
5
  SHA512:
6
- metadata.gz: 3fb2ac0bedf1a30e745472c11f6f53fb77f77083cd4cef0f4173749a828b184b3700455b32c5e54e6696ca71a954ba9c77b600b90ab751d3c18805ce54addba9
7
- data.tar.gz: 468d133e8682fba4248de614d00a5b43261fe880c31547f26a5e1bf8e5d8f1345ef83ca8575bf29c05a56bf390a52828df8d6dc3e86ecd6b9a8deb6e19299c98
6
+ metadata.gz: 4ef4c694762cafab522ca4bc5400c7e418ee39e8cff19c55b0895a01a23205e145778fb5675947f4393cd6a2fc2188e3652c9a35bb331f51f9d99bb9d4827cc0
7
+ data.tar.gz: 772f1e7a26b9ad6c6e279e7a0701a74d484b1be16797751899c03cdf9ec7d88229179bc9425c8a2310ee4e86c7e11329cb370c3feac94bb469c0db0b9cb81283
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.41.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230131
6
+
3
7
  ### v0.40.0 (2023-01-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20230111
@@ -291,22 +291,22 @@ module Google
291
291
  # cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).
292
292
  # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
293
293
  # emailid`: An email address that represents a Google group. For example, admins@
294
- # example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
295
- # unique identifier) representing a user that has been recently deleted. For
296
- # example, alice@example.com?uid=123456789012345678901. If the user is recovered,
297
- # this value reverts to user:`emailid` and the recovered user retains the role
298
- # in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
299
- # address (plus unique identifier) representing a service account that has been
300
- # recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
301
- # 123456789012345678901. If the service account is undeleted, this value reverts
302
- # to serviceAccount:`emailid` and the undeleted service account retains the role
303
- # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
304
- # unique identifier) representing a Google group that has been recently deleted.
305
- # For example, admins@example.com?uid=123456789012345678901. If the group is
294
+ # example.com. domain:`domain`: The G Suite domain (primary) that represents all
295
+ # the users of that domain. For example, google.com or example.com. deleted:user:
296
+ # `emailid`?uid=`uniqueid`: An email address (plus unique identifier)
297
+ # representing a user that has been recently deleted. For example, alice@example.
298
+ # com?uid=123456789012345678901. If the user is recovered, this value reverts to
299
+ # user:`emailid` and the recovered user retains the role in the binding. deleted:
300
+ # serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus unique
301
+ # identifier) representing a service account that has been recently deleted. For
302
+ # example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901.
303
+ # If the service account is undeleted, this value reverts to serviceAccount:`
304
+ # emailid` and the undeleted service account retains the role in the binding.
305
+ # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
306
+ # identifier) representing a Google group that has been recently deleted. For
307
+ # example, admins@example.com?uid=123456789012345678901. If the group is
306
308
  # recovered, this value reverts to group:`emailid` and the recovered group
307
- # retains the role in the binding. domain:`domain`: The G Suite domain (primary)
308
- # that represents all the users of that domain. For example, google.com or
309
- # example.com.
309
+ # retains the role in the binding.
310
310
  # Corresponds to the JSON property `members`
311
311
  # @return [Array<String>]
312
312
  attr_accessor :members
@@ -329,6 +329,19 @@ module Google
329
329
  end
330
330
  end
331
331
 
332
+ # The request message for Operations.CancelOperation.
333
+ class CancelOperationRequest
334
+ include Google::Apis::Core::Hashable
335
+
336
+ def initialize(**args)
337
+ update!(**args)
338
+ end
339
+
340
+ # Update properties of this object
341
+ def update!(**args)
342
+ end
343
+ end
344
+
332
345
  # Contains information of the customer's network configurations.
333
346
  class Consumer
334
347
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230111"
25
+ REVISION = "20230131"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class CancelOperationRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Consumer
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -413,6 +419,12 @@ module Google
413
419
  end
414
420
  end
415
421
 
422
+ class CancelOperationRequest
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ end
426
+ end
427
+
416
428
  class Consumer
417
429
  # @private
418
430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -471,6 +471,46 @@ module Google
471
471
  execute_or_queue_command(command, &block)
472
472
  end
473
473
 
474
+ # Starts asynchronous cancellation on a long-running operation. The server makes
475
+ # a best effort to cancel the operation, but success is not guaranteed. If the
476
+ # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
477
+ # Clients can use Operations.GetOperation or other methods to check whether the
478
+ # cancellation succeeded or whether the operation completed despite cancellation.
479
+ # On successful cancellation, the operation is not deleted; instead, it becomes
480
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
481
+ # corresponding to Code.CANCELLED.
482
+ # @param [String] name
483
+ # The name of the operation resource to be cancelled.
484
+ # @param [Google::Apis::MetastoreV1beta::CancelOperationRequest] cancel_operation_request_object
485
+ # @param [String] fields
486
+ # Selector specifying which fields to include in a partial response.
487
+ # @param [String] quota_user
488
+ # Available to use for quota purposes for server-side applications. Can be any
489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
490
+ # @param [Google::Apis::RequestOptions] options
491
+ # Request-specific options
492
+ #
493
+ # @yield [result, err] Result & error if block supplied
494
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Empty] parsed result object
495
+ # @yieldparam err [StandardError] error object if request failed
496
+ #
497
+ # @return [Google::Apis::MetastoreV1beta::Empty]
498
+ #
499
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
500
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
501
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
502
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
503
+ command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
504
+ command.request_representation = Google::Apis::MetastoreV1beta::CancelOperationRequest::Representation
505
+ command.request_object = cancel_operation_request_object
506
+ command.response_representation = Google::Apis::MetastoreV1beta::Empty::Representation
507
+ command.response_class = Google::Apis::MetastoreV1beta::Empty
508
+ command.params['name'] = name unless name.nil?
509
+ command.query['fields'] = fields unless fields.nil?
510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
511
+ execute_or_queue_command(command, &block)
512
+ end
513
+
474
514
  # Deletes a long-running operation. This method indicates that the client is no
475
515
  # longer interested in the operation result. It does not cancel the operation.
476
516
  # If the server doesn't support this method, it returns google.rpc.Code.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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: 2023-01-22 00:00:00.000000000 Z
11
+ date: 2023-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []