google-apis-metastore_v1 0.1.0 → 0.3.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: 5409a62bdc84ee243f1ca0d0e0fbb016965b17ae12323cc7de6695ee0d6d4860
4
- data.tar.gz: fc5d577cebc0236b0dc13db126781c5d01552c9d6236ea1745f261c2e74954ba
3
+ metadata.gz: aa79a67e0b252f671137706cbfb160398af56170cf09b681d38838581f54566f
4
+ data.tar.gz: 93a9145a0b5c488bfd9c27d884a9ca8e7a46b530db1bfad4846b9af54c4a83c4
5
5
  SHA512:
6
- metadata.gz: 41eb7a6152b343755cec65ddb25c576b1b040c399342af6363513eecf1dede86ab33f93e09d958fa95e47019b965e4cd8d8f1925b4ba398f95804d8b8cbaad10
7
- data.tar.gz: ed0fbaaf23de2f790663ffa17ae4e40396b202dd425daaa6efbe26c6cba23d6346a288191b01175abd6fe34e9068fdb4fd8a40305bc5691f2bc731be221f0db3
6
+ metadata.gz: 230614c79faaac39bf33dd27c2d36f33af6fc64b995482f9ae9a6b9333d16ad361ca92a71268a8f6b5acab8c860faa42aea7779338adbe63114c74fbcd1f400a
7
+ data.tar.gz: 52ab9b0bd34a414415b5afca29aca33756c6ded7b1388e7b0b41d9597b999b9dcc898c0ef512a91fced41e388eabac59464968a03cb4ac92074a05864b43f8cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-metastore_v1
2
2
 
3
+ ### v0.3.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230131
6
+
7
+ ### v0.2.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230111
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.1.0 (2022-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20221207
@@ -104,8 +104,7 @@ module Google
104
104
 
105
105
  # The relative resource name of the metastore that is being federated. The
106
106
  # formats of the relative resource names for the currently supported metastores
107
- # are listed below: Dataplex projects/`project_id`/locations/`location`/lakes/`
108
- # lake_id` BigQuery projects/`project_id` Dataproc Metastore projects/`
107
+ # are listed below: BigQuery projects/`project_id` Dataproc Metastore projects/`
109
108
  # project_id`/locations/`location`/services/`service_id`
110
109
  # Corresponds to the JSON property `name`
111
110
  # @return [String]
@@ -216,22 +215,22 @@ module Google
216
215
  # cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).
217
216
  # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
218
217
  # emailid`: An email address that represents a Google group. For example, admins@
219
- # example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
220
- # unique identifier) representing a user that has been recently deleted. For
221
- # example, alice@example.com?uid=123456789012345678901. If the user is recovered,
222
- # this value reverts to user:`emailid` and the recovered user retains the role
223
- # in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
224
- # address (plus unique identifier) representing a service account that has been
225
- # recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
226
- # 123456789012345678901. If the service account is undeleted, this value reverts
227
- # to serviceAccount:`emailid` and the undeleted service account retains the role
228
- # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
229
- # unique identifier) representing a Google group that has been recently deleted.
230
- # For example, admins@example.com?uid=123456789012345678901. If the group is
218
+ # example.com. domain:`domain`: The G Suite domain (primary) that represents all
219
+ # the users of that domain. For example, google.com or example.com. deleted:user:
220
+ # `emailid`?uid=`uniqueid`: An email address (plus unique identifier)
221
+ # representing a user that has been recently deleted. For example, alice@example.
222
+ # com?uid=123456789012345678901. If the user is recovered, this value reverts to
223
+ # user:`emailid` and the recovered user retains the role in the binding. deleted:
224
+ # serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus unique
225
+ # identifier) representing a service account that has been recently deleted. For
226
+ # example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901.
227
+ # If the service account is undeleted, this value reverts to serviceAccount:`
228
+ # emailid` and the undeleted service account retains the role in the binding.
229
+ # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
230
+ # identifier) representing a Google group that has been recently deleted. For
231
+ # example, admins@example.com?uid=123456789012345678901. If the group is
231
232
  # recovered, this value reverts to group:`emailid` and the recovered group
232
- # retains the role in the binding. domain:`domain`: The G Suite domain (primary)
233
- # that represents all the users of that domain. For example, google.com or
234
- # example.com.
233
+ # retains the role in the binding.
235
234
  # Corresponds to the JSON property `members`
236
235
  # @return [Array<String>]
237
236
  attr_accessor :members
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1
18
18
  # Version of the google-apis-metastore_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221207"
25
+ REVISION = "20230131"
26
26
  end
27
27
  end
28
28
  end
@@ -50,46 +50,6 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Starts asynchronous cancellation on a long-running operation. The server makes
54
- # a best effort to cancel the operation, but success is not guaranteed. If the
55
- # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
56
- # Clients can use Operations.GetOperation or other methods to check whether the
57
- # cancellation succeeded or whether the operation completed despite cancellation.
58
- # On successful cancellation, the operation is not deleted; instead, it becomes
59
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
60
- # corresponding to Code.CANCELLED.
61
- # @param [String] name
62
- # The name of the operation resource to be cancelled.
63
- # @param [Google::Apis::MetastoreV1::CancelOperationRequest] cancel_operation_request_object
64
- # @param [String] fields
65
- # Selector specifying which fields to include in a partial response.
66
- # @param [String] quota_user
67
- # Available to use for quota purposes for server-side applications. Can be any
68
- # arbitrary string assigned to a user, but should not exceed 40 characters.
69
- # @param [Google::Apis::RequestOptions] options
70
- # Request-specific options
71
- #
72
- # @yield [result, err] Result & error if block supplied
73
- # @yieldparam result [Google::Apis::MetastoreV1::Empty] parsed result object
74
- # @yieldparam err [StandardError] error object if request failed
75
- #
76
- # @return [Google::Apis::MetastoreV1::Empty]
77
- #
78
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
- # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
82
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
83
- command.request_representation = Google::Apis::MetastoreV1::CancelOperationRequest::Representation
84
- command.request_object = cancel_operation_request_object
85
- command.response_representation = Google::Apis::MetastoreV1::Empty::Representation
86
- command.response_class = Google::Apis::MetastoreV1::Empty
87
- command.params['name'] = name unless name.nil?
88
- command.query['fields'] = fields unless fields.nil?
89
- command.query['quotaUser'] = quota_user unless quota_user.nil?
90
- execute_or_queue_command(command, &block)
91
- end
92
-
93
53
  # Gets information about a location.
94
54
  # @param [String] name
95
55
  # Resource name for the location.
@@ -511,6 +471,46 @@ module Google
511
471
  execute_or_queue_command(command, &block)
512
472
  end
513
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::MetastoreV1::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::MetastoreV1::Empty] parsed result object
495
+ # @yieldparam err [StandardError] error object if request failed
496
+ #
497
+ # @return [Google::Apis::MetastoreV1::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, 'v1/{+name}:cancel', options)
504
+ command.request_representation = Google::Apis::MetastoreV1::CancelOperationRequest::Representation
505
+ command.request_object = cancel_operation_request_object
506
+ command.response_representation = Google::Apis::MetastoreV1::Empty::Representation
507
+ command.response_class = Google::Apis::MetastoreV1::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
+
514
514
  # Deletes a long-running operation. This method indicates that the client is no
515
515
  # longer interested in the operation result. It does not cancel the operation.
516
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.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: 2022-12-12 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1