google-cloud-metastore-v1beta 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/v1beta/dataproc_metastore/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb +4 -4
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb +4 -4
- data/lib/google/cloud/metastore/v1beta/metastore_federation_pb.rb +3 -0
- data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +19 -0
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/metastore/v1beta/metastore.rb +42 -0
- data/proto_docs/google/cloud/metastore/v1beta/metastore_federation.rb +5 -4
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f504c1e3841943ba9a899cc26df135126f8fb2464e0aed7320715872273d8560
|
4
|
+
data.tar.gz: 5193786c84e54734b3363650f1ec58e9092c387c7475fad6a452c0458e1efcea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3074c18f5204d0b32efcc7e2e9b48ea1a710c49afd258ada6254b7348f2c6d4c68886a0721cf8ded224e949bc7479d90eccdbcef3b12ef4aa97d3f39d24139e2
|
7
|
+
data.tar.gz: 1184d41ad0ee763c61e379a5a8c5a15825781767450b4bb28b2fa018aa60c39010aa4ab8db5fe27bafc37b34b015cbcedef5b3eb7078b133ab367e8cd6ccaa63
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -2309,9 +2309,9 @@ module Google
|
|
2309
2309
|
# * (`String`) The path to a service account key file in JSON format
|
2310
2310
|
# * (`Hash`) A service account key as a Hash
|
2311
2311
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2312
|
-
# (see the [googleauth docs](https://
|
2312
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2313
2313
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2314
|
-
# (see the [signet docs](https://
|
2314
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2315
2315
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2316
2316
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2317
2317
|
# * (`nil`) indicating no credentials
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -1766,9 +1766,9 @@ module Google
|
|
1766
1766
|
# * (`String`) The path to a service account key file in JSON format
|
1767
1767
|
# * (`Hash`) A service account key as a Hash
|
1768
1768
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1769
|
-
# (see the [googleauth docs](https://
|
1769
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1770
1770
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1771
|
-
# (see the [signet docs](https://
|
1771
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1772
1772
|
# * (`nil`) indicating no credentials
|
1773
1773
|
# @return [::Object]
|
1774
1774
|
# @!attribute [rw] scope
|
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -776,10 +776,10 @@ module Google
|
|
776
776
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
777
777
|
.with_bindings(
|
778
778
|
uri_method: :post,
|
779
|
-
uri_template: "/
|
779
|
+
uri_template: "/v1beta/{name}:cancel",
|
780
780
|
body: "*",
|
781
781
|
matches: [
|
782
|
-
["name", %r{^operations
|
782
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
|
783
783
|
]
|
784
784
|
)
|
785
785
|
transcoder.transcode request_pb
|
@@ -779,9 +779,9 @@ module Google
|
|
779
779
|
# * (`String`) The path to a service account key file in JSON format
|
780
780
|
# * (`Hash`) A service account key as a Hash
|
781
781
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
782
|
-
# (see the [googleauth docs](https://
|
782
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
783
783
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
784
|
-
# (see the [signet docs](https://
|
784
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
785
785
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
786
786
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
787
787
|
# * (`nil`) indicating no credentials
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -631,9 +631,9 @@ module Google
|
|
631
631
|
# * (`String`) The path to a service account key file in JSON format
|
632
632
|
# * (`Hash`) A service account key as a Hash
|
633
633
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
634
|
-
# (see the [googleauth docs](https://
|
634
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
635
635
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
636
|
-
# (see the [signet docs](https://
|
636
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
637
637
|
# * (`nil`) indicating no credentials
|
638
638
|
# @return [::Object]
|
639
639
|
# @!attribute [rw] scope
|
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -776,10 +776,10 @@ module Google
|
|
776
776
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
777
777
|
.with_bindings(
|
778
778
|
uri_method: :post,
|
779
|
-
uri_template: "/
|
779
|
+
uri_template: "/v1beta/{name}:cancel",
|
780
780
|
body: "*",
|
781
781
|
matches: [
|
782
|
-
["name", %r{^operations
|
782
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
|
783
783
|
]
|
784
784
|
)
|
785
785
|
transcoder.transcode request_pb
|
@@ -7,7 +7,9 @@ require 'google/api/annotations_pb'
|
|
7
7
|
require 'google/api/client_pb'
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/metastore/v1beta/metastore_pb'
|
10
11
|
require 'google/longrunning/operations_pb'
|
12
|
+
require 'google/protobuf/empty_pb'
|
11
13
|
require 'google/protobuf/field_mask_pb'
|
12
14
|
require 'google/protobuf/timestamp_pb'
|
13
15
|
|
@@ -39,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
39
41
|
end
|
40
42
|
add_enum "google.cloud.metastore.v1beta.BackendMetastore.MetastoreType" do
|
41
43
|
value :METASTORE_TYPE_UNSPECIFIED, 0
|
44
|
+
value :DATAPLEX, 1
|
42
45
|
value :BIGQUERY, 2
|
43
46
|
value :DATAPROC_METASTORE, 3
|
44
47
|
end
|
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/longrunning/operations_pb'
|
11
|
+
require 'google/protobuf/empty_pb'
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
require 'google/protobuf/wrappers_pb'
|
@@ -36,6 +37,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
37
|
optional :network_config, :message, 21, "google.cloud.metastore.v1beta.NetworkConfig"
|
37
38
|
optional :database_type, :enum, 22, "google.cloud.metastore.v1beta.Service.DatabaseType"
|
38
39
|
optional :telemetry_config, :message, 23, "google.cloud.metastore.v1beta.TelemetryConfig"
|
40
|
+
optional :scaling_config, :message, 24, "google.cloud.metastore.v1beta.ScalingConfig"
|
39
41
|
oneof :metastore_config do
|
40
42
|
optional :hive_metastore_config, :message, 5, "google.cloud.metastore.v1beta.HiveMetastoreConfig"
|
41
43
|
end
|
@@ -114,6 +116,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
114
116
|
end
|
115
117
|
add_message "google.cloud.metastore.v1beta.NetworkConfig" do
|
116
118
|
repeated :consumers, :message, 1, "google.cloud.metastore.v1beta.NetworkConfig.Consumer"
|
119
|
+
optional :custom_routes_enabled, :bool, 2
|
117
120
|
end
|
118
121
|
add_message "google.cloud.metastore.v1beta.NetworkConfig.Consumer" do
|
119
122
|
optional :endpoint_uri, :string, 3
|
@@ -214,6 +217,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
214
217
|
value :FULL, 1
|
215
218
|
value :METADATA_ONLY, 2
|
216
219
|
end
|
220
|
+
add_message "google.cloud.metastore.v1beta.ScalingConfig" do
|
221
|
+
oneof :scaling_model do
|
222
|
+
optional :instance_size, :enum, 1, "google.cloud.metastore.v1beta.ScalingConfig.InstanceSize"
|
223
|
+
optional :scaling_factor, :float, 2
|
224
|
+
end
|
225
|
+
end
|
226
|
+
add_enum "google.cloud.metastore.v1beta.ScalingConfig.InstanceSize" do
|
227
|
+
value :INSTANCE_SIZE_UNSPECIFIED, 0
|
228
|
+
value :EXTRA_SMALL, 1
|
229
|
+
value :SMALL, 2
|
230
|
+
value :MEDIUM, 3
|
231
|
+
value :LARGE, 4
|
232
|
+
value :EXTRA_LARGE, 5
|
233
|
+
end
|
217
234
|
add_message "google.cloud.metastore.v1beta.ListServicesRequest" do
|
218
235
|
optional :parent, :string, 1
|
219
236
|
optional :page_size, :int32, 2
|
@@ -400,6 +417,8 @@ module Google
|
|
400
417
|
Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore").msgclass
|
401
418
|
Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore.State").enummodule
|
402
419
|
Restore::RestoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore.RestoreType").enummodule
|
420
|
+
ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ScalingConfig").msgclass
|
421
|
+
ScalingConfig::InstanceSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ScalingConfig.InstanceSize").enummodule
|
403
422
|
ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ListServicesRequest").msgclass
|
404
423
|
ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ListServicesResponse").msgclass
|
405
424
|
GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.GetServiceRequest").msgclass
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -103,6 +103,9 @@ module Google
|
|
103
103
|
# @return [::Google::Cloud::Metastore::V1beta::TelemetryConfig]
|
104
104
|
# The configuration specifying telemetry settings for the Dataproc Metastore
|
105
105
|
# service. If unspecified defaults to `JSON`.
|
106
|
+
# @!attribute [rw] scaling_config
|
107
|
+
# @return [::Google::Cloud::Metastore::V1beta::ScalingConfig]
|
108
|
+
# Scaling configuration of the metastore service.
|
106
109
|
class Service
|
107
110
|
include ::Google::Protobuf::MessageExts
|
108
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -405,6 +408,10 @@ module Google
|
|
405
408
|
# @return [::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>]
|
406
409
|
# Immutable. The consumer-side network configuration for the Dataproc
|
407
410
|
# Metastore instance.
|
411
|
+
# @!attribute [rw] custom_routes_enabled
|
412
|
+
# @return [::Boolean]
|
413
|
+
# Enables custom routes to be imported and exported for the Dataproc
|
414
|
+
# Metastore service's peered VPC network.
|
408
415
|
class NetworkConfig
|
409
416
|
include ::Google::Protobuf::MessageExts
|
410
417
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -690,6 +697,41 @@ module Google
|
|
690
697
|
end
|
691
698
|
end
|
692
699
|
|
700
|
+
# Represents the scaling configuration of a metastore service.
|
701
|
+
# @!attribute [rw] instance_size
|
702
|
+
# @return [::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize]
|
703
|
+
# An enum of readable instance sizes, with each instance size mapping to a
|
704
|
+
# float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
|
705
|
+
# @!attribute [rw] scaling_factor
|
706
|
+
# @return [::Float]
|
707
|
+
# Scaling factor, increments of 0.1 for values less than 1.0, and
|
708
|
+
# increments of 1.0 for values greater than 1.0.
|
709
|
+
class ScalingConfig
|
710
|
+
include ::Google::Protobuf::MessageExts
|
711
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
712
|
+
|
713
|
+
# Metastore instance sizes.
|
714
|
+
module InstanceSize
|
715
|
+
# Unspecified instance size
|
716
|
+
INSTANCE_SIZE_UNSPECIFIED = 0
|
717
|
+
|
718
|
+
# Extra small instance size, maps to a scaling factor of 0.1.
|
719
|
+
EXTRA_SMALL = 1
|
720
|
+
|
721
|
+
# Small instance size, maps to a scaling factor of 0.5.
|
722
|
+
SMALL = 2
|
723
|
+
|
724
|
+
# Medium instance size, maps to a scaling factor of 1.0.
|
725
|
+
MEDIUM = 3
|
726
|
+
|
727
|
+
# Large instance size, maps to a scaling factor of 3.0.
|
728
|
+
LARGE = 4
|
729
|
+
|
730
|
+
# Extra large instance size, maps to a scaling factor of 6.0.
|
731
|
+
EXTRA_LARGE = 5
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
693
735
|
# Request message for
|
694
736
|
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}.
|
695
737
|
# @!attribute [rw] parent
|
@@ -115,12 +115,10 @@ module Google
|
|
115
115
|
# The formats of the relative resource names for the currently supported
|
116
116
|
# metastores are listed below:
|
117
117
|
#
|
118
|
-
# * Dataplex
|
119
|
-
# * `projects/{project_id}/locations/{location}/lakes/{lake_id}`
|
120
118
|
# * BigQuery
|
121
|
-
#
|
119
|
+
# * `projects/{project_id}`
|
122
120
|
# * Dataproc Metastore
|
123
|
-
#
|
121
|
+
# * `projects/{project_id}/locations/{location}/services/{service_id}`
|
124
122
|
# @!attribute [rw] metastore_type
|
125
123
|
# @return [::Google::Cloud::Metastore::V1beta::BackendMetastore::MetastoreType]
|
126
124
|
# The type of the backend metastore.
|
@@ -133,6 +131,9 @@ module Google
|
|
133
131
|
# The metastore type is not set.
|
134
132
|
METASTORE_TYPE_UNSPECIFIED = 0
|
135
133
|
|
134
|
+
# The backend metastore is Dataplex.
|
135
|
+
DATAPLEX = 1
|
136
|
+
|
136
137
|
# The backend metastore is BigQuery.
|
137
138
|
BIGQUERY = 2
|
138
139
|
|
@@ -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-v1beta
|
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
|