google-cloud-metastore-v1beta 0.6.0 → 0.8.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: 8ae0682aa4e31a5bdecf16627228acb653dab71f2ed09d4ed269f7eac07e4353
4
- data.tar.gz: 1cc546d8d4762f928ed084973edb7a1b1241d69042404480bb2a43310cb875e3
3
+ metadata.gz: fdb6d6e804225516327868363af996ef357349eaa459b07da1598d94dbeaf004
4
+ data.tar.gz: 7374b2760c42777b96fe4e63e4a66b301751ca8e3502728198ab1cc297ed6b6e
5
5
  SHA512:
6
- metadata.gz: be448cf62f9546cb6b5d3b2c9315f178ae77e6e9e21596aa6d5bfdc6241fee82c2c8ce589d018d8aa393ebb5faae5f8f5aaf87cd790e2dc605f55ad2814e74eb
7
- data.tar.gz: 4c4e2e015c59ba8b2feeb37da7fd87c1cb56b0b7cafba00dda0f1ead7b27a6ed0060ecf84db36bb4951ea2d1831514a9a662c39572f0cdb917ae34148105dc40
6
+ metadata.gz: ba6d04d1cdd1260d788265abf53e68a53265910c6eaaac58353e9514d0553e13beab6d11661d7cb126355a6c037266def90f26749da9162c309bc560beee96d7
7
+ data.tar.gz: dbf22f40dfc1b8b6415ccd6ff7ca4d43721f357b10a89d148a4ff06d8b1be081700f095b01dd29538c09751e6e6e05d61c47b12f47b578e2b2562a198121a0b4
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://googleapis.dev/ruby/google-cloud-logging/latest)
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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: "/v1/{name}:cancel",
779
+ uri_template: "/v1beta/{name}:cancel",
780
780
  body: "*",
781
781
  matches: [
782
- ["name", %r{^operations(?:/.*)?$}, true]
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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: "/v1/{name}:cancel",
779
+ uri_template: "/v1beta/{name}:cancel",
780
780
  body: "*",
781
781
  matches: [
782
- ["name", %r{^operations(?:/.*)?$}, true]
782
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
783
783
  ]
784
784
  )
785
785
  transcoder.transcode request_pb
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/metastore/v1beta/metastore_federation.proto
3
4
 
@@ -7,72 +8,39 @@ require 'google/api/annotations_pb'
7
8
  require 'google/api/client_pb'
8
9
  require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
11
+ require 'google/cloud/metastore/v1beta/metastore_pb'
10
12
  require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/empty_pb'
11
14
  require 'google/protobuf/field_mask_pb'
12
15
  require 'google/protobuf/timestamp_pb'
13
16
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/cloud/metastore/v1beta/metastore_federation.proto", :syntax => :proto3) do
16
- add_message "google.cloud.metastore.v1beta.Federation" do
17
- optional :name, :string, 1
18
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
19
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
20
- map :labels, :string, :string, 4
21
- optional :version, :string, 5
22
- map :backend_metastores, :int32, :message, 6, "google.cloud.metastore.v1beta.BackendMetastore"
23
- optional :endpoint_uri, :string, 7
24
- optional :state, :enum, 8, "google.cloud.metastore.v1beta.Federation.State"
25
- optional :state_message, :string, 9
26
- optional :uid, :string, 10
27
- end
28
- add_enum "google.cloud.metastore.v1beta.Federation.State" do
29
- value :STATE_UNSPECIFIED, 0
30
- value :CREATING, 1
31
- value :ACTIVE, 2
32
- value :UPDATING, 3
33
- value :DELETING, 4
34
- value :ERROR, 5
35
- end
36
- add_message "google.cloud.metastore.v1beta.BackendMetastore" do
37
- optional :name, :string, 1
38
- optional :metastore_type, :enum, 2, "google.cloud.metastore.v1beta.BackendMetastore.MetastoreType"
39
- end
40
- add_enum "google.cloud.metastore.v1beta.BackendMetastore.MetastoreType" do
41
- value :METASTORE_TYPE_UNSPECIFIED, 0
42
- value :BIGQUERY, 2
43
- value :DATAPROC_METASTORE, 3
44
- end
45
- add_message "google.cloud.metastore.v1beta.ListFederationsRequest" do
46
- optional :parent, :string, 1
47
- optional :page_size, :int32, 2
48
- optional :page_token, :string, 3
49
- optional :filter, :string, 4
50
- optional :order_by, :string, 5
51
- end
52
- add_message "google.cloud.metastore.v1beta.ListFederationsResponse" do
53
- repeated :federations, :message, 1, "google.cloud.metastore.v1beta.Federation"
54
- optional :next_page_token, :string, 2
55
- repeated :unreachable, :string, 3
56
- end
57
- add_message "google.cloud.metastore.v1beta.GetFederationRequest" do
58
- optional :name, :string, 1
59
- end
60
- add_message "google.cloud.metastore.v1beta.CreateFederationRequest" do
61
- optional :parent, :string, 1
62
- optional :federation_id, :string, 2
63
- optional :federation, :message, 3, "google.cloud.metastore.v1beta.Federation"
64
- optional :request_id, :string, 4
65
- end
66
- add_message "google.cloud.metastore.v1beta.UpdateFederationRequest" do
67
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
68
- optional :federation, :message, 2, "google.cloud.metastore.v1beta.Federation"
69
- optional :request_id, :string, 3
70
- end
71
- add_message "google.cloud.metastore.v1beta.DeleteFederationRequest" do
72
- optional :name, :string, 1
73
- optional :request_id, :string, 2
17
+
18
+ descriptor_data = "\n8google/cloud/metastore/v1beta/metastore_federation.proto\x12\x1dgoogle.cloud.metastore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/metastore/v1beta/metastore.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x06\n\nFederation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.metastore.v1beta.Federation.LabelsEntry\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x05\x12\\\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32@.google.cloud.metastore.v1beta.Federation.BackendMetastoresEntry\x12\x19\n\x0c\x65ndpoint_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x08 \x01(\x0e\x32/.google.cloud.metastore.v1beta.Federation.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\n \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ai\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.cloud.metastore.v1beta.BackendMetastore:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:j\xea\x41g\n#metastore.googleapis.com/Federation\x12@projects/{project}/locations/{location}/federations/{federation}\"\xdc\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12U\n\x0emetastore_type\x18\x02 \x01(\x0e\x32=.google.cloud.metastore.v1beta.BackendMetastore.MetastoreType\"c\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x41TAPLEX\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\"\xb2\x01\n\x16ListFederationsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n\x17ListFederationsResponse\x12>\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1beta.Federation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x14GetFederationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#metastore.googleapis.com/Federation\"\xcf\x01\n\x17\x43reateFederationRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x1a\n\rfederation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\nfederation\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1beta.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n\x17UpdateFederationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x42\n\nfederation\x18\x02 \x01(\x0b\x32).google.cloud.metastore.v1beta.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x17\x44\x65leteFederationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#metastore.googleapis.com/Federation\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\x98\n\n\x1b\x44\x61taprocMetastoreFederation\x12\xc6\x01\n\x0fListFederations\x12\x35.google.cloud.metastore.v1beta.ListFederationsRequest\x1a\x36.google.cloud.metastore.v1beta.ListFederationsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{parent=projects/*/locations/*}/federations\xda\x41\x06parent\x12\xb3\x01\n\rGetFederation\x12\x33.google.cloud.metastore.v1beta.GetFederationRequest\x1a).google.cloud.metastore.v1beta.Federation\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\x12\x95\x02\n\x10\x43reateFederation\x12\x36.google.cloud.metastore.v1beta.CreateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\x82\xd3\xe4\x93\x02\x41\"3/v1beta/{parent=projects/*/locations/*}/federations:\nfederation\xda\x41\x1fparent,federation,federation_id\xca\x41=\n\nFederation\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x97\x02\n\x10UpdateFederation\x12\x36.google.cloud.metastore.v1beta.UpdateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02L2>/v1beta/{federation.name=projects/*/locations/*/federations/*}:\nfederation\xda\x41\x16\x66\x65\x64\x65ration,update_mask\xca\x41=\n\nFederation\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf9\x01\n\x10\x44\x65leteFederation\x12\x36.google.cloud.metastore.v1beta.DeleteFederationRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02\x35*3/v1beta/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x80\x01\n!com.google.cloud.metastore.v1betaB\x18MetastoreFederationProtoP\x01Z?cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepbb\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
74
40
  end
75
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
76
44
  end
77
45
 
78
46
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/metastore/v1beta/metastore.proto
3
4
 
@@ -8,360 +9,40 @@ require 'google/api/client_pb'
8
9
  require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_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
  require 'google/protobuf/wrappers_pb'
14
16
  require 'google/type/dayofweek_pb'
15
17
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/metastore/v1beta/metastore.proto", :syntax => :proto3) do
18
- add_message "google.cloud.metastore.v1beta.Service" do
19
- optional :name, :string, 1
20
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
21
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
22
- map :labels, :string, :string, 4
23
- optional :network, :string, 7
24
- optional :endpoint_uri, :string, 8
25
- optional :port, :int32, 9
26
- optional :state, :enum, 10, "google.cloud.metastore.v1beta.Service.State"
27
- optional :state_message, :string, 11
28
- optional :artifact_gcs_uri, :string, 12
29
- optional :tier, :enum, 13, "google.cloud.metastore.v1beta.Service.Tier"
30
- optional :metadata_integration, :message, 14, "google.cloud.metastore.v1beta.MetadataIntegration"
31
- optional :maintenance_window, :message, 15, "google.cloud.metastore.v1beta.MaintenanceWindow"
32
- optional :uid, :string, 16
33
- optional :metadata_management_activity, :message, 17, "google.cloud.metastore.v1beta.MetadataManagementActivity"
34
- optional :release_channel, :enum, 19, "google.cloud.metastore.v1beta.Service.ReleaseChannel"
35
- optional :encryption_config, :message, 20, "google.cloud.metastore.v1beta.EncryptionConfig"
36
- optional :network_config, :message, 21, "google.cloud.metastore.v1beta.NetworkConfig"
37
- optional :database_type, :enum, 22, "google.cloud.metastore.v1beta.Service.DatabaseType"
38
- optional :telemetry_config, :message, 23, "google.cloud.metastore.v1beta.TelemetryConfig"
39
- oneof :metastore_config do
40
- optional :hive_metastore_config, :message, 5, "google.cloud.metastore.v1beta.HiveMetastoreConfig"
41
- end
42
- end
43
- add_enum "google.cloud.metastore.v1beta.Service.State" do
44
- value :STATE_UNSPECIFIED, 0
45
- value :CREATING, 1
46
- value :ACTIVE, 2
47
- value :SUSPENDING, 3
48
- value :SUSPENDED, 4
49
- value :UPDATING, 5
50
- value :DELETING, 6
51
- value :ERROR, 7
52
- end
53
- add_enum "google.cloud.metastore.v1beta.Service.Tier" do
54
- value :TIER_UNSPECIFIED, 0
55
- value :DEVELOPER, 1
56
- value :ENTERPRISE, 3
57
- end
58
- add_enum "google.cloud.metastore.v1beta.Service.ReleaseChannel" do
59
- value :RELEASE_CHANNEL_UNSPECIFIED, 0
60
- value :CANARY, 1
61
- value :STABLE, 2
62
- end
63
- add_enum "google.cloud.metastore.v1beta.Service.DatabaseType" do
64
- value :DATABASE_TYPE_UNSPECIFIED, 0
65
- value :MYSQL, 1
66
- value :SPANNER, 2
67
- end
68
- add_message "google.cloud.metastore.v1beta.MetadataIntegration" do
69
- optional :data_catalog_config, :message, 1, "google.cloud.metastore.v1beta.DataCatalogConfig"
70
- optional :dataplex_config, :message, 2, "google.cloud.metastore.v1beta.DataplexConfig"
71
- end
72
- add_message "google.cloud.metastore.v1beta.DataCatalogConfig" do
73
- optional :enabled, :bool, 2
74
- end
75
- add_message "google.cloud.metastore.v1beta.DataplexConfig" do
76
- map :lake_resources, :string, :message, 1, "google.cloud.metastore.v1beta.Lake"
77
- end
78
- add_message "google.cloud.metastore.v1beta.Lake" do
79
- optional :name, :string, 1
80
- end
81
- add_message "google.cloud.metastore.v1beta.MaintenanceWindow" do
82
- optional :hour_of_day, :message, 1, "google.protobuf.Int32Value"
83
- optional :day_of_week, :enum, 2, "google.type.DayOfWeek"
84
- end
85
- add_message "google.cloud.metastore.v1beta.HiveMetastoreConfig" do
86
- optional :version, :string, 1
87
- map :config_overrides, :string, :string, 2
88
- optional :kerberos_config, :message, 3, "google.cloud.metastore.v1beta.KerberosConfig"
89
- optional :endpoint_protocol, :enum, 4, "google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol"
90
- map :auxiliary_versions, :string, :message, 5, "google.cloud.metastore.v1beta.AuxiliaryVersionConfig"
91
- end
92
- add_enum "google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol" do
93
- value :ENDPOINT_PROTOCOL_UNSPECIFIED, 0
94
- value :THRIFT, 1
95
- value :GRPC, 2
96
- end
97
- add_message "google.cloud.metastore.v1beta.KerberosConfig" do
98
- optional :keytab, :message, 1, "google.cloud.metastore.v1beta.Secret"
99
- optional :principal, :string, 2
100
- optional :krb5_config_gcs_uri, :string, 3
101
- end
102
- add_message "google.cloud.metastore.v1beta.Secret" do
103
- oneof :value do
104
- optional :cloud_secret, :string, 2
105
- end
106
- end
107
- add_message "google.cloud.metastore.v1beta.EncryptionConfig" do
108
- optional :kms_key, :string, 1
109
- end
110
- add_message "google.cloud.metastore.v1beta.AuxiliaryVersionConfig" do
111
- optional :version, :string, 1
112
- map :config_overrides, :string, :string, 2
113
- optional :network_config, :message, 3, "google.cloud.metastore.v1beta.NetworkConfig"
114
- end
115
- add_message "google.cloud.metastore.v1beta.NetworkConfig" do
116
- repeated :consumers, :message, 1, "google.cloud.metastore.v1beta.NetworkConfig.Consumer"
117
- end
118
- add_message "google.cloud.metastore.v1beta.NetworkConfig.Consumer" do
119
- optional :endpoint_uri, :string, 3
120
- oneof :vpc_resource do
121
- optional :subnetwork, :string, 1
122
- end
123
- end
124
- add_message "google.cloud.metastore.v1beta.TelemetryConfig" do
125
- optional :log_format, :enum, 1, "google.cloud.metastore.v1beta.TelemetryConfig.LogFormat"
126
- end
127
- add_enum "google.cloud.metastore.v1beta.TelemetryConfig.LogFormat" do
128
- value :LOG_FORMAT_UNSPECIFIED, 0
129
- value :LEGACY, 1
130
- value :JSON, 2
131
- end
132
- add_message "google.cloud.metastore.v1beta.MetadataManagementActivity" do
133
- repeated :metadata_exports, :message, 1, "google.cloud.metastore.v1beta.MetadataExport"
134
- repeated :restores, :message, 2, "google.cloud.metastore.v1beta.Restore"
135
- end
136
- add_message "google.cloud.metastore.v1beta.MetadataImport" do
137
- optional :name, :string, 1
138
- optional :description, :string, 2
139
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
140
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
141
- optional :end_time, :message, 7, "google.protobuf.Timestamp"
142
- optional :state, :enum, 5, "google.cloud.metastore.v1beta.MetadataImport.State"
143
- oneof :metadata do
144
- optional :database_dump, :message, 6, "google.cloud.metastore.v1beta.MetadataImport.DatabaseDump"
145
- end
146
- end
147
- add_message "google.cloud.metastore.v1beta.MetadataImport.DatabaseDump" do
148
- optional :database_type, :enum, 1, "google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType"
149
- optional :gcs_uri, :string, 2
150
- optional :source_database, :string, 3
151
- optional :type, :enum, 4, "google.cloud.metastore.v1beta.DatabaseDumpSpec.Type"
152
- end
153
- add_enum "google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType" do
154
- value :DATABASE_TYPE_UNSPECIFIED, 0
155
- value :MYSQL, 1
156
- end
157
- add_enum "google.cloud.metastore.v1beta.MetadataImport.State" do
158
- value :STATE_UNSPECIFIED, 0
159
- value :RUNNING, 1
160
- value :SUCCEEDED, 2
161
- value :UPDATING, 3
162
- value :FAILED, 4
163
- end
164
- add_message "google.cloud.metastore.v1beta.MetadataExport" do
165
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
166
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
167
- optional :state, :enum, 3, "google.cloud.metastore.v1beta.MetadataExport.State"
168
- optional :database_dump_type, :enum, 5, "google.cloud.metastore.v1beta.DatabaseDumpSpec.Type"
169
- oneof :destination do
170
- optional :destination_gcs_uri, :string, 4
171
- end
172
- end
173
- add_enum "google.cloud.metastore.v1beta.MetadataExport.State" do
174
- value :STATE_UNSPECIFIED, 0
175
- value :RUNNING, 1
176
- value :SUCCEEDED, 2
177
- value :FAILED, 3
178
- value :CANCELLED, 4
179
- end
180
- add_message "google.cloud.metastore.v1beta.Backup" do
181
- optional :name, :string, 1
182
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
183
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
184
- optional :state, :enum, 4, "google.cloud.metastore.v1beta.Backup.State"
185
- optional :service_revision, :message, 5, "google.cloud.metastore.v1beta.Service"
186
- optional :description, :string, 6
187
- repeated :restoring_services, :string, 7
188
- end
189
- add_enum "google.cloud.metastore.v1beta.Backup.State" do
190
- value :STATE_UNSPECIFIED, 0
191
- value :CREATING, 1
192
- value :DELETING, 2
193
- value :ACTIVE, 3
194
- value :FAILED, 4
195
- value :RESTORING, 5
196
- end
197
- add_message "google.cloud.metastore.v1beta.Restore" do
198
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
199
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
200
- optional :state, :enum, 3, "google.cloud.metastore.v1beta.Restore.State"
201
- optional :backup, :string, 4
202
- optional :type, :enum, 5, "google.cloud.metastore.v1beta.Restore.RestoreType"
203
- optional :details, :string, 6
204
- end
205
- add_enum "google.cloud.metastore.v1beta.Restore.State" do
206
- value :STATE_UNSPECIFIED, 0
207
- value :RUNNING, 1
208
- value :SUCCEEDED, 2
209
- value :FAILED, 3
210
- value :CANCELLED, 4
211
- end
212
- add_enum "google.cloud.metastore.v1beta.Restore.RestoreType" do
213
- value :RESTORE_TYPE_UNSPECIFIED, 0
214
- value :FULL, 1
215
- value :METADATA_ONLY, 2
216
- end
217
- add_message "google.cloud.metastore.v1beta.ListServicesRequest" do
218
- optional :parent, :string, 1
219
- optional :page_size, :int32, 2
220
- optional :page_token, :string, 3
221
- optional :filter, :string, 4
222
- optional :order_by, :string, 5
223
- end
224
- add_message "google.cloud.metastore.v1beta.ListServicesResponse" do
225
- repeated :services, :message, 1, "google.cloud.metastore.v1beta.Service"
226
- optional :next_page_token, :string, 2
227
- repeated :unreachable, :string, 3
228
- end
229
- add_message "google.cloud.metastore.v1beta.GetServiceRequest" do
230
- optional :name, :string, 1
231
- end
232
- add_message "google.cloud.metastore.v1beta.CreateServiceRequest" do
233
- optional :parent, :string, 1
234
- optional :service_id, :string, 2
235
- optional :service, :message, 3, "google.cloud.metastore.v1beta.Service"
236
- optional :request_id, :string, 4
237
- end
238
- add_message "google.cloud.metastore.v1beta.UpdateServiceRequest" do
239
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
240
- optional :service, :message, 2, "google.cloud.metastore.v1beta.Service"
241
- optional :request_id, :string, 3
242
- end
243
- add_message "google.cloud.metastore.v1beta.DeleteServiceRequest" do
244
- optional :name, :string, 1
245
- optional :request_id, :string, 2
246
- end
247
- add_message "google.cloud.metastore.v1beta.ListMetadataImportsRequest" do
248
- optional :parent, :string, 1
249
- optional :page_size, :int32, 2
250
- optional :page_token, :string, 3
251
- optional :filter, :string, 4
252
- optional :order_by, :string, 5
253
- end
254
- add_message "google.cloud.metastore.v1beta.ListMetadataImportsResponse" do
255
- repeated :metadata_imports, :message, 1, "google.cloud.metastore.v1beta.MetadataImport"
256
- optional :next_page_token, :string, 2
257
- repeated :unreachable, :string, 3
258
- end
259
- add_message "google.cloud.metastore.v1beta.GetMetadataImportRequest" do
260
- optional :name, :string, 1
261
- end
262
- add_message "google.cloud.metastore.v1beta.CreateMetadataImportRequest" do
263
- optional :parent, :string, 1
264
- optional :metadata_import_id, :string, 2
265
- optional :metadata_import, :message, 3, "google.cloud.metastore.v1beta.MetadataImport"
266
- optional :request_id, :string, 4
267
- end
268
- add_message "google.cloud.metastore.v1beta.UpdateMetadataImportRequest" do
269
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
270
- optional :metadata_import, :message, 2, "google.cloud.metastore.v1beta.MetadataImport"
271
- optional :request_id, :string, 3
272
- end
273
- add_message "google.cloud.metastore.v1beta.ListBackupsRequest" do
274
- optional :parent, :string, 1
275
- optional :page_size, :int32, 2
276
- optional :page_token, :string, 3
277
- optional :filter, :string, 4
278
- optional :order_by, :string, 5
279
- end
280
- add_message "google.cloud.metastore.v1beta.ListBackupsResponse" do
281
- repeated :backups, :message, 1, "google.cloud.metastore.v1beta.Backup"
282
- optional :next_page_token, :string, 2
283
- repeated :unreachable, :string, 3
284
- end
285
- add_message "google.cloud.metastore.v1beta.GetBackupRequest" do
286
- optional :name, :string, 1
287
- end
288
- add_message "google.cloud.metastore.v1beta.CreateBackupRequest" do
289
- optional :parent, :string, 1
290
- optional :backup_id, :string, 2
291
- optional :backup, :message, 3, "google.cloud.metastore.v1beta.Backup"
292
- optional :request_id, :string, 4
293
- end
294
- add_message "google.cloud.metastore.v1beta.DeleteBackupRequest" do
295
- optional :name, :string, 1
296
- optional :request_id, :string, 2
297
- end
298
- add_message "google.cloud.metastore.v1beta.ExportMetadataRequest" do
299
- optional :service, :string, 1
300
- optional :request_id, :string, 3
301
- optional :database_dump_type, :enum, 4, "google.cloud.metastore.v1beta.DatabaseDumpSpec.Type"
302
- oneof :destination do
303
- optional :destination_gcs_folder, :string, 2
304
- end
305
- end
306
- add_message "google.cloud.metastore.v1beta.RestoreServiceRequest" do
307
- optional :service, :string, 1
308
- optional :backup, :string, 2
309
- optional :restore_type, :enum, 3, "google.cloud.metastore.v1beta.Restore.RestoreType"
310
- optional :request_id, :string, 4
311
- end
312
- add_message "google.cloud.metastore.v1beta.OperationMetadata" do
313
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
314
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
315
- optional :target, :string, 3
316
- optional :verb, :string, 4
317
- optional :status_message, :string, 5
318
- optional :requested_cancellation, :bool, 6
319
- optional :api_version, :string, 7
320
- end
321
- add_message "google.cloud.metastore.v1beta.LocationMetadata" do
322
- repeated :supported_hive_metastore_versions, :message, 1, "google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion"
323
- end
324
- add_message "google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion" do
325
- optional :version, :string, 1
326
- optional :is_default, :bool, 2
327
- end
328
- add_message "google.cloud.metastore.v1beta.DatabaseDumpSpec" do
329
- end
330
- add_enum "google.cloud.metastore.v1beta.DatabaseDumpSpec.Type" do
331
- value :TYPE_UNSPECIFIED, 0
332
- value :MYSQL, 1
333
- value :AVRO, 2
334
- end
335
- add_message "google.cloud.metastore.v1beta.RemoveIamPolicyRequest" do
336
- optional :resource, :string, 1
337
- optional :asynchronous, :bool, 2
338
- end
339
- add_message "google.cloud.metastore.v1beta.RemoveIamPolicyResponse" do
340
- optional :success, :bool, 1
341
- end
342
- add_message "google.cloud.metastore.v1beta.QueryMetadataRequest" do
343
- optional :service, :string, 1
344
- optional :query, :string, 2
345
- end
346
- add_message "google.cloud.metastore.v1beta.QueryMetadataResponse" do
347
- optional :result_manifest_uri, :string, 1
348
- end
349
- add_message "google.cloud.metastore.v1beta.MoveTableToDatabaseRequest" do
350
- optional :service, :string, 1
351
- optional :table_name, :string, 2
352
- optional :db_name, :string, 3
353
- optional :destination_db_name, :string, 4
354
- end
355
- add_message "google.cloud.metastore.v1beta.MoveTableToDatabaseResponse" do
356
- end
357
- add_message "google.cloud.metastore.v1beta.AlterMetadataResourceLocationRequest" do
358
- optional :service, :string, 1
359
- optional :resource_name, :string, 2
360
- optional :location_uri, :string, 3
361
- end
362
- add_message "google.cloud.metastore.v1beta.AlterMetadataResourceLocationResponse" do
18
+
19
+ descriptor_data = "\n-google/cloud/metastore/v1beta/metastore.proto\x12\x1dgoogle.cloud.metastore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\x95\x0e\n\x07Service\x12S\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.HiveMetastoreConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.metastore.v1beta.Service.LabelsEntry\x12\x37\n\x07network\x18\x07 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x19\n\x0c\x65ndpoint_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04port\x18\t \x01(\x05\x12@\n\x05state\x18\n \x01(\x0e\x32,.google.cloud.metastore.v1beta.Service.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x04tier\x18\r \x01(\x0e\x32+.google.cloud.metastore.v1beta.Service.Tier\x12P\n\x14metadata_integration\x18\x0e \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.MetadataIntegration\x12L\n\x12maintenance_window\x18\x0f \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x39.google.cloud.metastore.v1beta.MetadataManagementActivityB\x03\xe0\x41\x03\x12S\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x35.google.cloud.metastore.v1beta.Service.ReleaseChannelB\x03\xe0\x41\x05\x12O\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32/.google.cloud.metastore.v1beta.EncryptionConfigB\x03\xe0\x41\x05\x12\x44\n\x0enetwork_config\x18\x15 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfig\x12O\n\rdatabase_type\x18\x16 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.Service.DatabaseTypeB\x03\xe0\x41\x05\x12H\n\x10telemetry_config\x18\x17 \x01(\x0b\x32..google.cloud.metastore.v1beta.TelemetryConfig\x12\x44\n\x0escaling_config\x18\x18 \x01(\x0b\x32,.google.cloud.metastore.v1beta.ScalingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02:a\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}B\x12\n\x10metastore_config\"\xac\x01\n\x13MetadataIntegration\x12M\n\x13\x64\x61ta_catalog_config\x18\x01 \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.DataCatalogConfig\x12\x46\n\x0f\x64\x61taplex_config\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.DataplexConfig\"$\n\x11\x44\x61taCatalogConfig\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\xc5\x01\n\x0e\x44\x61taplexConfig\x12X\n\x0elake_resources\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1beta.DataplexConfig.LakeResourcesEntry\x1aY\n\x12LakeResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.google.cloud.metastore.v1beta.Lake:\x02\x38\x01\"7\n\x04Lake\x12/\n\x04name\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Lake\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\x93\x05\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x61\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32G.google.cloud.metastore.v1beta.HiveMetastoreConfig.ConfigOverridesEntry\x12\x46\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.KerberosConfig\x12^\n\x11\x65ndpoint_protocol\x18\x04 \x01(\x0e\x32\x43.google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol\x12\x65\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32I.google.cloud.metastore.v1beta.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.cloud.metastore.v1beta.AuxiliaryVersionConfig:\x02\x38\x01\"K\n\x10\x45ndpointProtocol\x12!\n\x1d\x45NDPOINT_PROTOCOL_UNSPECIFIED\x10\x00\x12\n\n\x06THRIFT\x10\x01\x12\x08\n\x04GRPC\x10\x02\"w\n\x0eKerberosConfig\x12\x35\n\x06keytab\x18\x01 \x01(\x0b\x32%.google.cloud.metastore.v1beta.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x92\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x64\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32J.google.cloud.metastore.v1beta.AuxiliaryVersionConfig.ConfigOverridesEntry\x12I\n\x0enetwork_config\x18\x03 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfigB\x03\xe0\x41\x03\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf5\x01\n\rNetworkConfig\x12M\n\tconsumers\x18\x01 \x03(\x0b\x32\x35.google.cloud.metastore.v1beta.NetworkConfig.ConsumerB\x03\xe0\x41\x05\x12\x1d\n\x15\x63ustom_routes_enabled\x18\x02 \x01(\x08\x1av\n\x08\x43onsumer\x12?\n\nsubnetwork\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!compute.googleapis.com/SubnetworkH\x00\x12\x19\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cvpc_resource\"\x9e\x01\n\x0fTelemetryConfig\x12L\n\nlog_format\x18\x01 \x01(\x0e\x32\x38.google.cloud.metastore.v1beta.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa9\x01\n\x1aMetadataManagementActivity\x12L\n\x10metadata_exports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataExportB\x03\xe0\x41\x03\x12=\n\x08restores\x18\x02 \x03(\x0b\x32&.google.cloud.metastore.v1beta.RestoreB\x03\xe0\x41\x03\"\x90\x07\n\x0eMetadataImport\x12X\n\rdatabase_dump\x18\x06 \x01(\x0b\x32:.google.cloud.metastore.v1beta.MetadataImport.DatabaseDumpB\x03\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataImport.StateB\x03\xe0\x41\x03\x1a\xa3\x02\n\x0c\x44\x61tabaseDump\x12\x62\n\rdatabase_type\x18\x01 \x01(\x0e\x32G.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseTypeB\x02\x18\x01\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x1b\n\x0fsource_database\x18\x03 \x01(\tB\x02\x18\x01\x12G\n\x04type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x8b\x01\xea\x41\x87\x01\n\'metastore.googleapis.com/MetadataImport\x12\\projects/{project}/locations/{location}/services/{service}/metadataImports/{metadata_import}B\n\n\x08metadata\"\xa2\x03\n\x0eMetadataExport\x12\"\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x03 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataExport.StateB\x03\xe0\x41\x03\x12U\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x98\x04\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x05state\x18\x04 \x01(\x0e\x32+.google.cloud.metastore.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x45\n\x10service_revision\x18\x05 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1f\n\x12restoring_services\x18\x07 \x03(\tB\x03\xe0\x41\x03\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05:q\xea\x41n\n\x1fmetastore.googleapis.com/Backup\x12Kprojects/{project}/locations/{location}/services/{service}/backups/{backup}\"\xea\x03\n\x07Restore\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x03 \x01(\x0e\x32,.google.cloud.metastore.v1beta.Restore.StateB\x03\xe0\x41\x03\x12\x37\n\x06\x62\x61\x63kup\x18\x04 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x45\n\x04type\x18\x05 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x06 \x01(\tB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\x81\x02\n\rScalingConfig\x12R\n\rinstance_size\x18\x01 \x01(\x0e\x32\x39.google.cloud.metastore.v1beta.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"\xac\x01\n\x13ListServicesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"~\n\x14ListServicesResponse\x12\x38\n\x08services\x18\x01 \x03(\x0b\x32&.google.cloud.metastore.v1beta.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\xc0\x01\n\x14\x43reateServiceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07service\x18\x03 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12<\n\x07service\x18\x02 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14\x44\x65leteServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xba\x01\n\x1aListMetadataImportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x1bListMetadataImportsResponse\x12G\n\x10metadata_imports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x18GetMetadataImportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'metastore.googleapis.com/MetadataImport\"\xe5\x01\n\x1b\x43reateMetadataImportRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x1f\n\x12metadata_import_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x12ListBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"{\n\x13ListBackupsResponse\x12\x36\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1beta.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\"\xbb\x01\n\x13\x43reateBackupRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"e\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xf3\x01\n\x15\x45xportMetadataRequest\x12 \n\x16\x64\x65stination_gcs_folder\x18\x02 \x01(\tH\x00\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12U\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xf3\x01\n\x15RestoreServiceRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x37\n\x06\x62\x61\x63kup\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12M\n\x0crestore_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xc0\x01\n\x10LocationMetadata\x12o\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32\x44.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion\x1a;\n\x14HiveMetastoreVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nis_default\x18\x02 \x01(\x08\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\"P\n\x16RemoveIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x19\n\x0c\x61synchronous\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"*\n\x17RemoveIamPolicyResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"e\n\x14QueryMetadataRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\"4\n\x15QueryMetadataResponse\x12\x1b\n\x13result_manifest_uri\x18\x01 \x01(\t\"\xa8\x01\n\x1aMoveTableToDatabaseRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\ntable_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x64\x62_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65stination_db_name\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x1d\n\x1bMoveTableToDatabaseResponse\"\x98\x01\n$AlterMetadataResourceLocationRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x1a\n\rresource_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0clocation_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\'\n%AlterMetadataResourceLocationResponse2\x8f%\n\x11\x44\x61taprocMetastore\x12\xba\x01\n\x0cListServices\x12\x32.google.cloud.metastore.v1beta.ListServicesRequest\x1a\x33.google.cloud.metastore.v1beta.ListServicesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\xa7\x01\n\nGetService\x12\x30.google.cloud.metastore.v1beta.GetServiceRequest\x1a&.google.cloud.metastore.v1beta.Service\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\x80\x02\n\rCreateService\x12\x33.google.cloud.metastore.v1beta.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x82\x02\n\rUpdateService\x12\x33.google.cloud.metastore.v1beta.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf0\x01\n\rDeleteService\x12\x33.google.cloud.metastore.v1beta.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xe1\x01\n\x13ListMetadataImports\x12\x39.google.cloud.metastore.v1beta.ListMetadataImportsRequest\x1a:.google.cloud.metastore.v1beta.ListMetadataImportsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xce\x01\n\x11GetMetadataImport\x12\x37.google.cloud.metastore.v1beta.GetMetadataImportRequest\x1a-.google.cloud.metastore.v1beta.MetadataImport\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xbf\x02\n\x14\x43reateMetadataImport\x12:.google.cloud.metastore.v1beta.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcb\x01\x82\xd3\xe4\x93\x02U\"B/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x02\n\x14UpdateMetadataImport\x12:.google.cloud.metastore.v1beta.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02\x65\x32R/v1beta/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf9\x01\n\x0e\x45xportMetadata\x12\x34.google.cloud.metastore.v1beta.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02G\"B/v1beta/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41\x41\n\x0eMetadataExport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xfc\x01\n\x0eRestoreService\x12\x34.google.cloud.metastore.v1beta.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02@\";/v1beta/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41:\n\x07Restore\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x01\n\x0bListBackups\x12\x31.google.cloud.metastore.v1beta.ListBackupsRequest\x1a\x32.google.cloud.metastore.v1beta.ListBackupsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1beta/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xae\x01\n\tGetBackup\x12/.google.cloud.metastore.v1beta.GetBackupRequest\x1a%.google.cloud.metastore.v1beta.Backup\"I\x82\xd3\xe4\x93\x02<\x12:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\x84\x02\n\x0c\x43reateBackup\x12\x32.google.cloud.metastore.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02\x44\":/v1beta/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x39\n\x06\x42\x61\x63kup\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf8\x01\n\x0c\x44\x65leteBackup\x12\x32.google.cloud.metastore.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02<*:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xd4\x01\n\x0fRemoveIamPolicy\x12\x35.google.cloud.metastore.v1beta.RemoveIamPolicyRequest\x1a\x36.google.cloud.metastore.v1beta.RemoveIamPolicyResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1beta/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy:\x01*\x12\xfd\x01\n\rQueryMetadata\x12\x33.google.cloud.metastore.v1beta.QueryMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:queryMetadata:\x01*\xca\x41H\n\x15QueryMetadataResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x95\x02\n\x13MoveTableToDatabase\x12\x39.google.cloud.metastore.v1beta.MoveTableToDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02L\"G/v1beta/{service=projects/*/locations/*/services/*}:moveTableToDatabase:\x01*\xca\x41N\n\x1bMoveTableToDatabaseResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xad\x02\n\x1d\x41lterMetadataResourceLocation\x12\x43.google.cloud.metastore.v1beta.AlterMetadataResourceLocationRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:alterLocation:\x01*\xca\x41X\n%AlterMetadataResourceLocationResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa2\x03\n!com.google.cloud.metastore.v1betaB\x0eMetastoreProtoP\x01Z?cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepb\xca\x02\x1dGoogle\\Cloud\\Metastore\\V1beta\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41\x61\n!compute.googleapis.com/Subnetwork\x12<projects/{project}/regions/{region}/subnetworks/{subnetwork}\xea\x41T\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x34projects/{project}/locations/{location}/lakes/{lake}b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
36
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
363
42
  end
364
43
  end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
365
46
  end
366
47
 
367
48
  module Google
@@ -400,6 +81,8 @@ module Google
400
81
  Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore").msgclass
401
82
  Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore.State").enummodule
402
83
  Restore::RestoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.Restore.RestoreType").enummodule
84
+ ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ScalingConfig").msgclass
85
+ ScalingConfig::InstanceSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ScalingConfig.InstanceSize").enummodule
403
86
  ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ListServicesRequest").msgclass
404
87
  ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.ListServicesResponse").msgclass
405
88
  GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1beta.GetServiceRequest").msgclass
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1beta
24
- VERSION = "0.6.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -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
- # method_behavior:
244
- # - selector: CreateAdDomain
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
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -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
- # * `projects/{project_id}`
119
+ # * `projects/{project_id}`
122
120
  # * Dataproc Metastore
123
- # * `projects/{project_id}/locations/{location}/services/{service_id}`
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
 
@@ -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-v1beta
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