google-cloud-metastore-v1 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
@@ -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.6.0
4
+ version: 0.8.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-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.18.0
19
+ version: 0.19.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.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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