google-cloud-metastore-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/metastore/v1/bindings_override.rb +175 -0
  4. data/lib/google/cloud/metastore/v1/dataproc_metastore/client.rb +88 -83
  5. data/lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb +2 -2
  6. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb +1690 -0
  7. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb +793 -0
  8. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/service_stub.rb +940 -0
  9. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest.rb +70 -0
  10. data/lib/google/cloud/metastore/v1/dataproc_metastore.rb +6 -0
  11. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb +24 -23
  12. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb +2 -2
  13. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb +775 -0
  14. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb +793 -0
  15. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/service_stub.rb +345 -0
  16. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest.rb +66 -0
  17. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation.rb +6 -0
  18. data/lib/google/cloud/metastore/v1/metastore_federation_pb.rb +2 -0
  19. data/lib/google/cloud/metastore/v1/metastore_pb.rb +25 -0
  20. data/lib/google/cloud/metastore/v1/rest.rb +39 -0
  21. data/lib/google/cloud/metastore/v1/version.rb +1 -1
  22. data/lib/google/cloud/metastore/v1.rb +5 -0
  23. data/proto_docs/google/api/client.rb +57 -3
  24. data/proto_docs/google/cloud/metastore/v1/metastore.rb +237 -123
  25. data/proto_docs/google/cloud/metastore/v1/metastore_federation.rb +30 -30
  26. data/proto_docs/google/type/expr.rb +75 -0
  27. metadata +17 -5
@@ -38,8 +38,8 @@ module Google
38
38
  # User-defined labels for the metastore federation.
39
39
  # @!attribute [rw] version
40
40
  # @return [::String]
41
- # Immutable. The Apache Hive metastore version of the federation. All backend metastore
42
- # versions must be compatible with the federation version.
41
+ # Immutable. The Apache Hive metastore version of the federation. All backend
42
+ # metastore versions must be compatible with the federation version.
43
43
  # @!attribute [rw] backend_metastores
44
44
  # @return [::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1::BackendMetastore}]
45
45
  # A map from `BackendMetastore` rank to `BackendMetastore`s from which the
@@ -56,11 +56,12 @@ module Google
56
56
  # Output only. The current state of the federation.
57
57
  # @!attribute [r] state_message
58
58
  # @return [::String]
59
- # Output only. Additional information about the current state of the metastore federation,
60
- # if available.
59
+ # Output only. Additional information about the current state of the
60
+ # metastore federation, if available.
61
61
  # @!attribute [r] uid
62
62
  # @return [::String]
63
- # Output only. The globally unique resource identifier of the metastore federation.
63
+ # Output only. The globally unique resource identifier of the metastore
64
+ # federation.
64
65
  class Federation
65
66
  include ::Google::Protobuf::MessageExts
66
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -114,12 +115,10 @@ module Google
114
115
  # The formats of the relative resource names for the currently supported
115
116
  # metastores are listed below:
116
117
  #
117
- # * Dataplex
118
- # * `projects/{project_id}/locations/{location}/lakes/{lake_id}`
119
118
  # * BigQuery
120
- # * `projects/{project_id}`
119
+ # * `projects/{project_id}`
121
120
  # * Dataproc Metastore
122
- # * `projects/{project_id}/locations/{location}/services/{service_id}`
121
+ # * `projects/{project_id}/locations/{location}/services/{service_id}`
123
122
  # @!attribute [rw] metastore_type
124
123
  # @return [::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType]
125
124
  # The type of the backend metastore.
@@ -140,14 +139,15 @@ module Google
140
139
  # Request message for ListFederations.
141
140
  # @!attribute [rw] parent
142
141
  # @return [::String]
143
- # Required. The relative resource name of the location of metastore federations
144
- # to list, in the following form:
142
+ # Required. The relative resource name of the location of metastore
143
+ # federations to list, in the following form:
145
144
  # `projects/{project_number}/locations/{location_id}`.
146
145
  # @!attribute [rw] page_size
147
146
  # @return [::Integer]
148
- # Optional. The maximum number of federations to return. The response may contain less
149
- # than the maximum number. If unspecified, no more than 500 services are
150
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
147
+ # Optional. The maximum number of federations to return. The response may
148
+ # contain less than the maximum number. If unspecified, no more than 500
149
+ # services are returned. The maximum value is 1000; values above 1000 are
150
+ # changed to 1000.
151
151
  # @!attribute [rw] page_token
152
152
  # @return [::String]
153
153
  # Optional. A page token, received from a previous ListFederationServices
@@ -190,8 +190,8 @@ module Google
190
190
  # Request message for GetFederation.
191
191
  # @!attribute [rw] name
192
192
  # @return [::String]
193
- # Required. The relative resource name of the metastore federation to retrieve,
194
- # in the following form:
193
+ # Required. The relative resource name of the metastore federation to
194
+ # retrieve, in the following form:
195
195
  #
196
196
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
197
197
  class GetFederationRequest
@@ -202,8 +202,8 @@ module Google
202
202
  # Request message for CreateFederation.
203
203
  # @!attribute [rw] parent
204
204
  # @return [::String]
205
- # Required. The relative resource name of the location in which to create a federation
206
- # service, in the following form:
205
+ # Required. The relative resource name of the location in which to create a
206
+ # federation service, in the following form:
207
207
  #
208
208
  # `projects/{project_number}/locations/{location_id}`.
209
209
  # @!attribute [rw] federation_id
@@ -221,10 +221,10 @@ module Google
221
221
  # provided in the request's `federation_id` field.
222
222
  # @!attribute [rw] request_id
223
223
  # @return [::String]
224
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
225
- # request if it has completed. The server will ignore subsequent requests
226
- # that provide a duplicate request ID for at least 60 minutes after the first
227
- # request.
224
+ # Optional. A request ID. Specify a unique request ID to allow the server to
225
+ # ignore the request if it has completed. The server will ignore subsequent
226
+ # requests that provide a duplicate request ID for at least 60 minutes after
227
+ # the first request.
228
228
  #
229
229
  # For example, if an initial request times out, followed by another request
230
230
  # with the same request ID, the server ignores the second request to prevent
@@ -254,10 +254,10 @@ module Google
254
254
  # metastore service to be updated.
255
255
  # @!attribute [rw] request_id
256
256
  # @return [::String]
257
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
258
- # request if it has completed. The server will ignore subsequent requests
259
- # that provide a duplicate request ID for at least 60 minutes after the first
260
- # request.
257
+ # Optional. A request ID. Specify a unique request ID to allow the server to
258
+ # ignore the request if it has completed. The server will ignore subsequent
259
+ # requests that provide a duplicate request ID for at least 60 minutes after
260
+ # the first request.
261
261
  #
262
262
  # For example, if an initial request times out, followed by another request
263
263
  # with the same request ID, the server ignores the second request to prevent
@@ -280,10 +280,10 @@ module Google
280
280
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
281
281
  # @!attribute [rw] request_id
282
282
  # @return [::String]
283
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
284
- # request if it has completed. The server will ignore subsequent requests
285
- # that provide a duplicate request ID for at least 60 minutes after the first
286
- # request.
283
+ # Optional. A request ID. Specify a unique request ID to allow the server to
284
+ # ignore the request if it has completed. The server will ignore subsequent
285
+ # requests that provide a duplicate request ID for at least 60 minutes after
286
+ # the first request.
287
287
  #
288
288
  # For example, if an initial request times out, followed by another request
289
289
  # with the same request ID, the server ignores the second request to prevent
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a textual expression in the Common Expression Language (CEL)
23
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
24
+ # are documented at https://github.com/google/cel-spec.
25
+ #
26
+ # Example (Comparison):
27
+ #
28
+ # title: "Summary size limit"
29
+ # description: "Determines if a summary is less than 100 chars"
30
+ # expression: "document.summary.size() < 100"
31
+ #
32
+ # Example (Equality):
33
+ #
34
+ # title: "Requestor is owner"
35
+ # description: "Determines if requestor is the document owner"
36
+ # expression: "document.owner == request.auth.claims.email"
37
+ #
38
+ # Example (Logic):
39
+ #
40
+ # title: "Public documents"
41
+ # description: "Determine whether the document should be publicly visible"
42
+ # expression: "document.type != 'private' && document.type != 'internal'"
43
+ #
44
+ # Example (Data Manipulation):
45
+ #
46
+ # title: "Notification string"
47
+ # description: "Create a notification string with a timestamp."
48
+ # expression: "'New message received at ' + string(document.create_time)"
49
+ #
50
+ # The exact variables and functions that may be referenced within an expression
51
+ # are determined by the service that evaluates it. See the service
52
+ # documentation for additional information.
53
+ # @!attribute [rw] expression
54
+ # @return [::String]
55
+ # Textual representation of an expression in Common Expression Language
56
+ # syntax.
57
+ # @!attribute [rw] title
58
+ # @return [::String]
59
+ # Optional. Title for the expression, i.e. a short string describing
60
+ # its purpose. This can be used e.g. in UIs which allow to enter the
61
+ # expression.
62
+ # @!attribute [rw] description
63
+ # @return [::String]
64
+ # Optional. Description of the expression. This is a longer text which
65
+ # describes the expression, e.g. when hovered over it in a UI.
66
+ # @!attribute [rw] location
67
+ # @return [::String]
68
+ # Optional. String indicating the location of the expression for error
69
+ # reporting, e.g. a file name and a position in the file.
70
+ class Expr
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+ end
75
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-metastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.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-02-17 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.1
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -214,20 +214,30 @@ files:
214
214
  - README.md
215
215
  - lib/google-cloud-metastore-v1.rb
216
216
  - lib/google/cloud/metastore/v1.rb
217
+ - lib/google/cloud/metastore/v1/bindings_override.rb
217
218
  - lib/google/cloud/metastore/v1/dataproc_metastore.rb
218
219
  - lib/google/cloud/metastore/v1/dataproc_metastore/client.rb
219
220
  - lib/google/cloud/metastore/v1/dataproc_metastore/credentials.rb
220
221
  - lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb
221
222
  - lib/google/cloud/metastore/v1/dataproc_metastore/paths.rb
223
+ - lib/google/cloud/metastore/v1/dataproc_metastore/rest.rb
224
+ - lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb
225
+ - lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb
226
+ - lib/google/cloud/metastore/v1/dataproc_metastore/rest/service_stub.rb
222
227
  - lib/google/cloud/metastore/v1/dataproc_metastore_federation.rb
223
228
  - lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb
224
229
  - lib/google/cloud/metastore/v1/dataproc_metastore_federation/credentials.rb
225
230
  - lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb
226
231
  - lib/google/cloud/metastore/v1/dataproc_metastore_federation/paths.rb
232
+ - lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest.rb
233
+ - lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb
234
+ - lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb
235
+ - lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/service_stub.rb
227
236
  - lib/google/cloud/metastore/v1/metastore_federation_pb.rb
228
237
  - lib/google/cloud/metastore/v1/metastore_federation_services_pb.rb
229
238
  - lib/google/cloud/metastore/v1/metastore_pb.rb
230
239
  - lib/google/cloud/metastore/v1/metastore_services_pb.rb
240
+ - lib/google/cloud/metastore/v1/rest.rb
231
241
  - lib/google/cloud/metastore/v1/version.rb
232
242
  - proto_docs/README.md
233
243
  - proto_docs/google/api/client.rb
@@ -245,6 +255,7 @@ files:
245
255
  - proto_docs/google/protobuf/wrappers.rb
246
256
  - proto_docs/google/rpc/status.rb
247
257
  - proto_docs/google/type/dayofweek.rb
258
+ - proto_docs/google/type/expr.rb
248
259
  homepage: https://github.com/googleapis/google-cloud-ruby
249
260
  licenses:
250
261
  - Apache-2.0
@@ -267,5 +278,6 @@ requirements: []
267
278
  rubygems_version: 3.4.2
268
279
  signing_key:
269
280
  specification_version: 4
270
- summary: API Client library for the Dataproc Metastore V1 API
281
+ summary: The Dataproc Metastore API is used to manage the lifecycle and configuration
282
+ of metastore services.
271
283
  test_files: []