google-cloud-metastore-v1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/metastore/v1/dataproc_metastore/client.rb +88 -83
- data/lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb +88 -83
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb +3 -3
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb +24 -23
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb +24 -23
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb +3 -3
- data/lib/google/cloud/metastore/v1/metastore_federation_pb.rb +2 -0
- data/lib/google/cloud/metastore/v1/metastore_pb.rb +25 -0
- data/lib/google/cloud/metastore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/metastore/v1/metastore.rb +237 -123
- data/proto_docs/google/cloud/metastore/v1/metastore_federation.rb +30 -30
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +3 -2
@@ -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
|
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
|
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
|
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
|
-
#
|
119
|
+
# * `projects/{project_id}`
|
121
120
|
# * Dataproc Metastore
|
122
|
-
#
|
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
|
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
|
149
|
-
# than the maximum number. If unspecified, no more than 500
|
150
|
-
# returned. The maximum value is 1000; values above 1000 are
|
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
|
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
|
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
|
225
|
-
# request if it has completed. The server will ignore subsequent
|
226
|
-
# that provide a duplicate request ID for at least 60 minutes after
|
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
|
258
|
-
# request if it has completed. The server will ignore subsequent
|
259
|
-
# that provide a duplicate request ID for at least 60 minutes after
|
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
|
284
|
-
# request if it has completed. The server will ignore subsequent
|
285
|
-
# that provide a duplicate request ID for at least 60 minutes after
|
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.
|
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-
|
11
|
+
date: 2023-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -255,6 +255,7 @@ files:
|
|
255
255
|
- proto_docs/google/protobuf/wrappers.rb
|
256
256
|
- proto_docs/google/rpc/status.rb
|
257
257
|
- proto_docs/google/type/dayofweek.rb
|
258
|
+
- proto_docs/google/type/expr.rb
|
258
259
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
259
260
|
licenses:
|
260
261
|
- Apache-2.0
|