google-cloud-metastore-v1 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "metastore.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -133,7 +133,7 @@ module Google
133
133
  credentials = @config.credentials
134
134
  # Use self-signed JWT if the endpoint is unchanged from default,
135
135
  # but only if the default endpoint does not have a region prefix.
136
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
136
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
137
137
  !@config.endpoint.split(".").first.include?("-")
138
138
  credentials ||= Credentials.default scope: @config.scope,
139
139
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -666,7 +666,9 @@ module Google
666
666
  class Configuration
667
667
  extend ::Gapic::Config
668
668
 
669
- config_attr :endpoint, "metastore.googleapis.com", ::String
669
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
670
+
671
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
670
672
  config_attr :credentials, nil do |value|
671
673
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
672
674
  allowed.any? { |klass| klass === value }
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "metastore.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_federations_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_federation_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_federation_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_federation_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_federation_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
15
15
  require 'google/protobuf/timestamp_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n4google/cloud/metastore/v1/metastore_federation.proto\x12\x19google.cloud.metastore.v1\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/v1/metastore.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\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\x41\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.metastore.v1.Federation.LabelsEntry\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x05\x12X\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32<.google.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x19\n\x0c\x65ndpoint_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.metastore.v1.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\x1a\x65\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.metastore.v1.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}\"\xbc\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x0emetastore_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.metastore.v1.BackendMetastore.MetastoreType\"G\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\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\"\x83\x01\n\x17ListFederationsResponse\x12:\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1.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\"\xcb\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>\n\nfederation\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n\x17UpdateFederationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\nfederation\x18\x02 \x01(\x0b\x32%.google.cloud.metastore.v1.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\xdc\t\n\x1b\x44\x61taprocMetastoreFederation\x12\xba\x01\n\x0fListFederations\x12\x31.google.cloud.metastore.v1.ListFederationsRequest\x1a\x32.google.cloud.metastore.v1.ListFederationsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/federations\xda\x41\x06parent\x12\xa7\x01\n\rGetFederation\x12/.google.cloud.metastore.v1.GetFederationRequest\x1a%.google.cloud.metastore.v1.Federation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\x12\x89\x02\n\x10\x43reateFederation\x12\x32.google.cloud.metastore.v1.CreateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/federations:\nfederation\xda\x41\x1fparent,federation,federation_id\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\x8b\x02\n\x10UpdateFederation\x12\x32.google.cloud.metastore.v1.UpdateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02H2:/v1/{federation.name=projects/*/locations/*/federations/*}:\nfederation\xda\x41\x16\x66\x65\x64\x65ration,update_mask\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x10\x44\x65leteFederation\x12\x32.google.cloud.metastore.v1.DeleteFederationRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBx\n\x1d\x63om.google.cloud.metastore.v1B\x18MetastoreFederationProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepbb\x06proto3"
18
+ descriptor_data = "\n4google/cloud/metastore/v1/metastore_federation.proto\x12\x19google.cloud.metastore.v1\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/v1/metastore.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\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\x41\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.metastore.v1.Federation.LabelsEntry\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x05\x12X\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32<.google.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x19\n\x0c\x65ndpoint_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.metastore.v1.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\x1a\x65\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.metastore.v1.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}\"\xca\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x0emetastore_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.metastore.v1.BackendMetastore.MetastoreType\"U\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\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\"\x83\x01\n\x17ListFederationsResponse\x12:\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1.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\"\xcb\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>\n\nfederation\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n\x17UpdateFederationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\nfederation\x18\x02 \x01(\x0b\x32%.google.cloud.metastore.v1.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\xdc\t\n\x1b\x44\x61taprocMetastoreFederation\x12\xba\x01\n\x0fListFederations\x12\x31.google.cloud.metastore.v1.ListFederationsRequest\x1a\x32.google.cloud.metastore.v1.ListFederationsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/federations\xda\x41\x06parent\x12\xa7\x01\n\rGetFederation\x12/.google.cloud.metastore.v1.GetFederationRequest\x1a%.google.cloud.metastore.v1.Federation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\x12\x89\x02\n\x10\x43reateFederation\x12\x32.google.cloud.metastore.v1.CreateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/federations:\nfederation\xda\x41\x1fparent,federation,federation_id\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\x8b\x02\n\x10UpdateFederation\x12\x32.google.cloud.metastore.v1.UpdateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02H2:/v1/{federation.name=projects/*/locations/*/federations/*}:\nfederation\xda\x41\x16\x66\x65\x64\x65ration,update_mask\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x10\x44\x65leteFederation\x12\x32.google.cloud.metastore.v1.DeleteFederationRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBx\n\x1d\x63om.google.cloud.metastore.v1B\x18MetastoreFederationProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepbb\x06proto3"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21
 
@@ -16,7 +16,7 @@ require 'google/protobuf/wrappers_pb'
16
16
  require 'google/type/dayofweek_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n)google/cloud/metastore/v1/metastore.proto\x12\x19google.cloud.metastore.v1\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\"\x93\r\n\x07Service\x12O\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32..google.cloud.metastore.v1.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>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.metastore.v1.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.v1.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\x35\n\x04tier\x18\r \x01(\x0e\x32\'.google.cloud.metastore.v1.Service.Tier\x12H\n\x12maintenance_window\x18\x0f \x01(\x0b\x32,.google.cloud.metastore.v1.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12`\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x35.google.cloud.metastore.v1.MetadataManagementActivityB\x03\xe0\x41\x03\x12O\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x31.google.cloud.metastore.v1.Service.ReleaseChannelB\x03\xe0\x41\x05\x12K\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32+.google.cloud.metastore.v1.EncryptionConfigB\x03\xe0\x41\x05\x12@\n\x0enetwork_config\x18\x15 \x01(\x0b\x32(.google.cloud.metastore.v1.NetworkConfig\x12K\n\rdatabase_type\x18\x16 \x01(\x0e\x32/.google.cloud.metastore.v1.Service.DatabaseTypeB\x03\xe0\x41\x05\x12\x44\n\x10telemetry_config\x18\x17 \x01(\x0b\x32*.google.cloud.metastore.v1.TelemetryConfig\x12@\n\x0escaling_config\x18\x18 \x01(\x0b\x32(.google.cloud.metastore.v1.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\"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\"\xd6\x03\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12]\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x43.google.cloud.metastore.v1.HiveMetastoreConfig.ConfigOverridesEntry\x12\x42\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.KerberosConfig\x12\x61\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32\x45.google.cloud.metastore.v1.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\x1ak\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.metastore.v1.AuxiliaryVersionConfig:\x02\x38\x01\"s\n\x0eKerberosConfig\x12\x31\n\x06keytab\x18\x01 \x01(\x0b\x32!.google.cloud.metastore.v1.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\"\x8a\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12`\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x46.google.cloud.metastore.v1.AuxiliaryVersionConfig.ConfigOverridesEntry\x12\x45\n\x0enetwork_config\x18\x03 \x01(\x0b\x32(.google.cloud.metastore.v1.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\"\xd2\x01\n\rNetworkConfig\x12I\n\tconsumers\x18\x01 \x03(\x0b\x32\x31.google.cloud.metastore.v1.NetworkConfig.ConsumerB\x03\xe0\x41\x05\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\"\x9a\x01\n\x0fTelemetryConfig\x12H\n\nlog_format\x18\x01 \x01(\x0e\x32\x34.google.cloud.metastore.v1.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa1\x01\n\x1aMetadataManagementActivity\x12H\n\x10metadata_exports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.MetadataExportB\x03\xe0\x41\x03\x12\x39\n\x08restores\x18\x02 \x03(\x0b\x32\".google.cloud.metastore.v1.RestoreB\x03\xe0\x41\x03\"\xe3\x06\n\x0eMetadataImport\x12T\n\rdatabase_dump\x18\x06 \x01(\x0b\x32\x36.google.cloud.metastore.v1.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\x12\x43\n\x05state\x18\x05 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataImport.StateB\x03\xe0\x41\x03\x1a\xfe\x01\n\x0c\x44\x61tabaseDump\x12^\n\rdatabase_type\x18\x01 \x01(\x0e\x32\x43.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseTypeB\x02\x18\x01\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.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\"\x9a\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\x12\x43\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataExport.StateB\x03\xe0\x41\x03\x12Q\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x30.google.cloud.metastore.v1.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\"\x90\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.v1.Backup.StateB\x03\xe0\x41\x03\x12\x41\n\x10service_revision\x18\x05 \x01(\x0b\x32\".google.cloud.metastore.v1.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}\"\xe2\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.v1.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\x41\n\x04type\x18\x05 \x01(\x0e\x32..google.cloud.metastore.v1.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\"\xfd\x01\n\rScalingConfig\x12N\n\rinstance_size\x18\x01 \x01(\x0e\x32\x35.google.cloud.metastore.v1.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\"z\n\x14ListServicesResponse\x12\x34\n\x08services\x18\x01 \x03(\x0b\x32\".google.cloud.metastore.v1.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\"\xbc\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\x38\n\x07service\x18\x03 \x01(\x0b\x32\".google.cloud.metastore.v1.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x38\n\x07service\x18\x02 \x01(\x0b\x32\".google.cloud.metastore.v1.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\"\x90\x01\n\x1bListMetadataImportsResponse\x12\x43\n\x10metadata_imports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.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\"\xe1\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\x12G\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12G\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32).google.cloud.metastore.v1.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\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.metastore.v1.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\"\xb7\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\x36\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32!.google.cloud.metastore.v1.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\"\xef\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\x12Q\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xef\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\x12I\n\x0crestore_type\x18\x03 \x01(\x0e\x32..google.cloud.metastore.v1.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\"\xbc\x01\n\x10LocationMetadata\x12k\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1.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\x32\xbc\x1b\n\x11\x44\x61taprocMetastore\x12\xae\x01\n\x0cListServices\x12..google.cloud.metastore.v1.ListServicesRequest\x1a/.google.cloud.metastore.v1.ListServicesResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\x9b\x01\n\nGetService\x12,.google.cloud.metastore.v1.GetServiceRequest\x1a\".google.cloud.metastore.v1.Service\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\xf4\x01\n\rCreateService\x12/.google.cloud.metastore.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf6\x01\n\rUpdateService\x12/.google.cloud.metastore.v1.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02?24/v1/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xe4\x01\n\rDeleteService\x12/.google.cloud.metastore.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x12\xd5\x01\n\x13ListMetadataImports\x12\x35.google.cloud.metastore.v1.ListMetadataImportsRequest\x1a\x36.google.cloud.metastore.v1.ListMetadataImportsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xc2\x01\n\x11GetMetadataImport\x12\x33.google.cloud.metastore.v1.GetMetadataImportRequest\x1a).google.cloud.metastore.v1.MetadataImport\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xb3\x02\n\x14\x43reateMetadataImport\x12\x36.google.cloud.metastore.v1.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc3\x01\x82\xd3\xe4\x93\x02Q\">/v1/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x02\n\x14UpdateMetadataImport\x12\x36.google.cloud.metastore.v1.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\x82\xd3\xe4\x93\x02\x61\x32N/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x0e\x45xportMetadata\x12\x30.google.cloud.metastore.v1.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x43\">/v1/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41=\n\x0eMetadataExport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf0\x01\n\x0eRestoreService\x12\x30.google.cloud.metastore.v1.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02<\"7/v1/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41\x36\n\x07Restore\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12-.google.cloud.metastore.v1.ListBackupsRequest\x1a..google.cloud.metastore.v1.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12+.google.cloud.metastore.v1.GetBackupRequest\x1a!.google.cloud.metastore.v1.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\xf8\x01\n\x0c\x43reateBackup\x12..google.cloud.metastore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02@\"6/v1/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x35\n\x06\x42\x61\x63kup\x12+google.cloud.metastore.v1.OperationMetadata\x12\xec\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.metastore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x96\x03\n\x1d\x63om.google.cloud.metastore.v1B\x0eMetastoreProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepb\xca\x02\x19Google\\Cloud\\Metastore\\V1\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"
19
+ descriptor_data = "\n)google/cloud/metastore/v1/metastore.proto\x12\x19google.cloud.metastore.v1\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\"\x93\r\n\x07Service\x12O\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32..google.cloud.metastore.v1.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>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.metastore.v1.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.v1.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\x35\n\x04tier\x18\r \x01(\x0e\x32\'.google.cloud.metastore.v1.Service.Tier\x12H\n\x12maintenance_window\x18\x0f \x01(\x0b\x32,.google.cloud.metastore.v1.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12`\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x35.google.cloud.metastore.v1.MetadataManagementActivityB\x03\xe0\x41\x03\x12O\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x31.google.cloud.metastore.v1.Service.ReleaseChannelB\x03\xe0\x41\x05\x12K\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32+.google.cloud.metastore.v1.EncryptionConfigB\x03\xe0\x41\x05\x12@\n\x0enetwork_config\x18\x15 \x01(\x0b\x32(.google.cloud.metastore.v1.NetworkConfig\x12K\n\rdatabase_type\x18\x16 \x01(\x0e\x32/.google.cloud.metastore.v1.Service.DatabaseTypeB\x03\xe0\x41\x05\x12\x44\n\x10telemetry_config\x18\x17 \x01(\x0b\x32*.google.cloud.metastore.v1.TelemetryConfig\x12@\n\x0escaling_config\x18\x18 \x01(\x0b\x32(.google.cloud.metastore.v1.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\"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\"\xff\x04\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12]\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x43.google.cloud.metastore.v1.HiveMetastoreConfig.ConfigOverridesEntry\x12\x42\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.KerberosConfig\x12Z\n\x11\x65ndpoint_protocol\x18\x04 \x01(\x0e\x32?.google.cloud.metastore.v1.HiveMetastoreConfig.EndpointProtocol\x12\x61\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32\x45.google.cloud.metastore.v1.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\x1ak\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.metastore.v1.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\"s\n\x0eKerberosConfig\x12\x31\n\x06keytab\x18\x01 \x01(\x0b\x32!.google.cloud.metastore.v1.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\"\x8a\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12`\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x46.google.cloud.metastore.v1.AuxiliaryVersionConfig.ConfigOverridesEntry\x12\x45\n\x0enetwork_config\x18\x03 \x01(\x0b\x32(.google.cloud.metastore.v1.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\"\xd2\x01\n\rNetworkConfig\x12I\n\tconsumers\x18\x01 \x03(\x0b\x32\x31.google.cloud.metastore.v1.NetworkConfig.ConsumerB\x03\xe0\x41\x05\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\"\x9a\x01\n\x0fTelemetryConfig\x12H\n\nlog_format\x18\x01 \x01(\x0e\x32\x34.google.cloud.metastore.v1.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa1\x01\n\x1aMetadataManagementActivity\x12H\n\x10metadata_exports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.MetadataExportB\x03\xe0\x41\x03\x12\x39\n\x08restores\x18\x02 \x03(\x0b\x32\".google.cloud.metastore.v1.RestoreB\x03\xe0\x41\x03\"\x80\x07\n\x0eMetadataImport\x12T\n\rdatabase_dump\x18\x06 \x01(\x0b\x32\x36.google.cloud.metastore.v1.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\x12\x43\n\x05state\x18\x05 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataImport.StateB\x03\xe0\x41\x03\x1a\x9b\x02\n\x0c\x44\x61tabaseDump\x12^\n\rdatabase_type\x18\x01 \x01(\x0e\x32\x43.google.cloud.metastore.v1.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\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.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\"\x9a\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\x12\x43\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataExport.StateB\x03\xe0\x41\x03\x12Q\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x30.google.cloud.metastore.v1.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\"\x90\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.v1.Backup.StateB\x03\xe0\x41\x03\x12\x41\n\x10service_revision\x18\x05 \x01(\x0b\x32\".google.cloud.metastore.v1.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}\"\xe2\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.v1.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\x41\n\x04type\x18\x05 \x01(\x0e\x32..google.cloud.metastore.v1.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\"\xfd\x01\n\rScalingConfig\x12N\n\rinstance_size\x18\x01 \x01(\x0e\x32\x35.google.cloud.metastore.v1.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\"z\n\x14ListServicesResponse\x12\x34\n\x08services\x18\x01 \x03(\x0b\x32\".google.cloud.metastore.v1.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\"\xbc\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\x38\n\x07service\x18\x03 \x01(\x0b\x32\".google.cloud.metastore.v1.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x38\n\x07service\x18\x02 \x01(\x0b\x32\".google.cloud.metastore.v1.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\"\x90\x01\n\x1bListMetadataImportsResponse\x12\x43\n\x10metadata_imports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.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\"\xe1\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\x12G\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12G\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32).google.cloud.metastore.v1.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\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.metastore.v1.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\"\xb7\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\x36\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32!.google.cloud.metastore.v1.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\"\xef\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\x12Q\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xef\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\x12I\n\x0crestore_type\x18\x03 \x01(\x0e\x32..google.cloud.metastore.v1.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\"\xbc\x01\n\x10LocationMetadata\x12k\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1.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\"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\"\x85\x01\n\x0c\x45rrorDetails\x12\x45\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32\x34.google.cloud.metastore.v1.ErrorDetails.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\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\xe0!\n\x11\x44\x61taprocMetastore\x12\xae\x01\n\x0cListServices\x12..google.cloud.metastore.v1.ListServicesRequest\x1a/.google.cloud.metastore.v1.ListServicesResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\x9b\x01\n\nGetService\x12,.google.cloud.metastore.v1.GetServiceRequest\x1a\".google.cloud.metastore.v1.Service\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\xf4\x01\n\rCreateService\x12/.google.cloud.metastore.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf6\x01\n\rUpdateService\x12/.google.cloud.metastore.v1.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02?24/v1/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xe4\x01\n\rDeleteService\x12/.google.cloud.metastore.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x12\xd5\x01\n\x13ListMetadataImports\x12\x35.google.cloud.metastore.v1.ListMetadataImportsRequest\x1a\x36.google.cloud.metastore.v1.ListMetadataImportsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xc2\x01\n\x11GetMetadataImport\x12\x33.google.cloud.metastore.v1.GetMetadataImportRequest\x1a).google.cloud.metastore.v1.MetadataImport\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xb3\x02\n\x14\x43reateMetadataImport\x12\x36.google.cloud.metastore.v1.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc3\x01\x82\xd3\xe4\x93\x02Q\">/v1/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x02\n\x14UpdateMetadataImport\x12\x36.google.cloud.metastore.v1.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\x82\xd3\xe4\x93\x02\x61\x32N/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x0e\x45xportMetadata\x12\x30.google.cloud.metastore.v1.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x43\">/v1/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41=\n\x0eMetadataExport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf0\x01\n\x0eRestoreService\x12\x30.google.cloud.metastore.v1.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02<\"7/v1/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41\x36\n\x07Restore\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12-.google.cloud.metastore.v1.ListBackupsRequest\x1a..google.cloud.metastore.v1.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12+.google.cloud.metastore.v1.GetBackupRequest\x1a!.google.cloud.metastore.v1.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\xf8\x01\n\x0c\x43reateBackup\x12..google.cloud.metastore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02@\"6/v1/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x35\n\x06\x42\x61\x63kup\x12+google.cloud.metastore.v1.OperationMetadata\x12\xec\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.metastore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf1\x01\n\rQueryMetadata\x12/.google.cloud.metastore.v1.QueryMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02\x42\"=/v1/{service=projects/*/locations/*/services/*}:queryMetadata:\x01*\xca\x41\x44\n\x15QueryMetadataResponse\x12+google.cloud.metastore.v1.OperationMetadata\x12\x89\x02\n\x13MoveTableToDatabase\x12\x35.google.cloud.metastore.v1.MoveTableToDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\x82\xd3\xe4\x93\x02H\"C/v1/{service=projects/*/locations/*/services/*}:moveTableToDatabase:\x01*\xca\x41J\n\x1bMoveTableToDatabaseResponse\x12+google.cloud.metastore.v1.OperationMetadata\x12\xa1\x02\n\x1d\x41lterMetadataResourceLocation\x12?.google.cloud.metastore.v1.AlterMetadataResourceLocationRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02\x42\"=/v1/{service=projects/*/locations/*/services/*}:alterLocation:\x01*\xca\x41T\n%AlterMetadataResourceLocationResponse\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x96\x03\n\x1d\x63om.google.cloud.metastore.v1B\x0eMetastoreProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepb\xca\x02\x19Google\\Cloud\\Metastore\\V1\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
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -56,6 +56,7 @@ module Google
56
56
  Service::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Service.DatabaseType").enummodule
57
57
  MaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.MaintenanceWindow").msgclass
58
58
  HiveMetastoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.HiveMetastoreConfig").msgclass
59
+ HiveMetastoreConfig::EndpointProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.HiveMetastoreConfig.EndpointProtocol").enummodule
59
60
  KerberosConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.KerberosConfig").msgclass
60
61
  Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Secret").msgclass
61
62
  EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.EncryptionConfig").msgclass
@@ -101,6 +102,13 @@ module Google
101
102
  LocationMetadata::HiveMetastoreVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.LocationMetadata.HiveMetastoreVersion").msgclass
102
103
  DatabaseDumpSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.DatabaseDumpSpec").msgclass
103
104
  DatabaseDumpSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.DatabaseDumpSpec.Type").enummodule
105
+ QueryMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.QueryMetadataRequest").msgclass
106
+ QueryMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.QueryMetadataResponse").msgclass
107
+ ErrorDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ErrorDetails").msgclass
108
+ MoveTableToDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.MoveTableToDatabaseRequest").msgclass
109
+ MoveTableToDatabaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.MoveTableToDatabaseResponse").msgclass
110
+ AlterMetadataResourceLocationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.AlterMetadataResourceLocationRequest").msgclass
111
+ AlterMetadataResourceLocationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.AlterMetadataResourceLocationResponse").msgclass
104
112
  end
105
113
  end
106
114
  end
@@ -80,6 +80,15 @@ module Google
80
80
  rpc :CreateBackup, ::Google::Cloud::Metastore::V1::CreateBackupRequest, ::Google::Longrunning::Operation
81
81
  # Deletes a single backup.
82
82
  rpc :DeleteBackup, ::Google::Cloud::Metastore::V1::DeleteBackupRequest, ::Google::Longrunning::Operation
83
+ # Query DPMS metadata.
84
+ rpc :QueryMetadata, ::Google::Cloud::Metastore::V1::QueryMetadataRequest, ::Google::Longrunning::Operation
85
+ # Move a table to another database.
86
+ rpc :MoveTableToDatabase, ::Google::Cloud::Metastore::V1::MoveTableToDatabaseRequest, ::Google::Longrunning::Operation
87
+ # Alter metadata resource location. The metadata resource can be a database,
88
+ # table, or partition. This functionality only updates the parent directory
89
+ # for the respective metadata resource and does not transfer any existing
90
+ # data to the new location.
91
+ rpc :AlterMetadataResourceLocation, ::Google::Cloud::Metastore::V1::AlterMetadataResourceLocationRequest, ::Google::Longrunning::Operation
83
92
  end
84
93
 
85
94
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,10 @@ module Google
221
221
  # method and specify this field's path
222
222
  # (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
223
223
  # while omitting this field from the request's `service`.
224
+ # @!attribute [rw] endpoint_protocol
225
+ # @return [::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol]
226
+ # The protocol to use for the metastore service endpoint. If unspecified,
227
+ # defaults to `THRIFT`.
224
228
  # @!attribute [rw] auxiliary_versions
225
229
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}]
226
230
  # A mapping of Hive metastore version to the auxiliary version
@@ -252,6 +256,18 @@ module Google
252
256
  include ::Google::Protobuf::MessageExts
253
257
  extend ::Google::Protobuf::MessageExts::ClassMethods
254
258
  end
259
+
260
+ # Protocols available for serving the metastore service endpoint.
261
+ module EndpointProtocol
262
+ # The protocol is not set.
263
+ ENDPOINT_PROTOCOL_UNSPECIFIED = 0
264
+
265
+ # Use the legacy Apache Thrift protocol for the metastore service endpoint.
266
+ THRIFT = 1
267
+
268
+ # Use the modernized gRPC protocol for the metastore service endpoint.
269
+ GRPC = 2
270
+ end
255
271
  end
256
272
 
257
273
  # Configuration information for a Kerberos principal.
@@ -427,6 +443,9 @@ module Google
427
443
  # @return [::String]
428
444
  # A Cloud Storage object or folder URI that specifies the source from which
429
445
  # to import metadata. It must begin with `gs://`.
446
+ # @!attribute [rw] source_database
447
+ # @return [::String]
448
+ # The name of the source database.
430
449
  # @!attribute [rw] type
431
450
  # @return [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type]
432
451
  # Optional. The type of the database dump. If unspecified, defaults to
@@ -1236,6 +1255,119 @@ module Google
1236
1255
  AVRO = 2
1237
1256
  end
1238
1257
  end
1258
+
1259
+ # Request message for
1260
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#query_metadata DataprocMetastore.QueryMetadata}.
1261
+ # @!attribute [rw] service
1262
+ # @return [::String]
1263
+ # Required. The relative resource name of the metastore service to query
1264
+ # metadata, in the following format:
1265
+ #
1266
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1267
+ # @!attribute [rw] query
1268
+ # @return [::String]
1269
+ # Required. A read-only SQL query to execute against the metadata database.
1270
+ # The query cannot change or mutate the data.
1271
+ class QueryMetadataRequest
1272
+ include ::Google::Protobuf::MessageExts
1273
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1274
+ end
1275
+
1276
+ # Response message for
1277
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#query_metadata DataprocMetastore.QueryMetadata}.
1278
+ # @!attribute [rw] result_manifest_uri
1279
+ # @return [::String]
1280
+ # The manifest URI is link to a JSON instance in Cloud Storage.
1281
+ # This instance manifests immediately along with QueryMetadataResponse. The
1282
+ # content of the URI is not retriable until the long-running operation query
1283
+ # against the metadata finishes.
1284
+ class QueryMetadataResponse
1285
+ include ::Google::Protobuf::MessageExts
1286
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1287
+ end
1288
+
1289
+ # Error details in public error message for
1290
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#query_metadata DataprocMetastore.QueryMetadata}.
1291
+ # @!attribute [rw] details
1292
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1293
+ # Additional structured details about this error.
1294
+ #
1295
+ # Keys define the failure items.
1296
+ # Value describes the exception or details of the item.
1297
+ class ErrorDetails
1298
+ include ::Google::Protobuf::MessageExts
1299
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1300
+
1301
+ # @!attribute [rw] key
1302
+ # @return [::String]
1303
+ # @!attribute [rw] value
1304
+ # @return [::String]
1305
+ class DetailsEntry
1306
+ include ::Google::Protobuf::MessageExts
1307
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1308
+ end
1309
+ end
1310
+
1311
+ # Request message for
1312
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#move_table_to_database DataprocMetastore.MoveTableToDatabase}.
1313
+ # @!attribute [rw] service
1314
+ # @return [::String]
1315
+ # Required. The relative resource name of the metastore service to mutate
1316
+ # metadata, in the following format:
1317
+ #
1318
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1319
+ # @!attribute [rw] table_name
1320
+ # @return [::String]
1321
+ # Required. The name of the table to be moved.
1322
+ # @!attribute [rw] db_name
1323
+ # @return [::String]
1324
+ # Required. The name of the database where the table resides.
1325
+ # @!attribute [rw] destination_db_name
1326
+ # @return [::String]
1327
+ # Required. The name of the database where the table should be moved.
1328
+ class MoveTableToDatabaseRequest
1329
+ include ::Google::Protobuf::MessageExts
1330
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1331
+ end
1332
+
1333
+ # Response message for
1334
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#move_table_to_database DataprocMetastore.MoveTableToDatabase}.
1335
+ class MoveTableToDatabaseResponse
1336
+ include ::Google::Protobuf::MessageExts
1337
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1338
+ end
1339
+
1340
+ # Request message for
1341
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#alter_metadata_resource_location DataprocMetastore.AlterMetadataResourceLocation}.
1342
+ # @!attribute [rw] service
1343
+ # @return [::String]
1344
+ # Required. The relative resource name of the metastore service to mutate
1345
+ # metadata, in the following format:
1346
+ #
1347
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1348
+ # @!attribute [rw] resource_name
1349
+ # @return [::String]
1350
+ # Required. The relative metadata resource name in the following format.
1351
+ #
1352
+ # `databases/{database_id}`
1353
+ # or
1354
+ # `databases/{database_id}/tables/{table_id}`
1355
+ # or
1356
+ # `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
1357
+ # @!attribute [rw] location_uri
1358
+ # @return [::String]
1359
+ # Required. The new location URI for the metadata resource.
1360
+ class AlterMetadataResourceLocationRequest
1361
+ include ::Google::Protobuf::MessageExts
1362
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1363
+ end
1364
+
1365
+ # Response message for
1366
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#alter_metadata_resource_location DataprocMetastore.AlterMetadataResourceLocation}.
1367
+ class AlterMetadataResourceLocationResponse
1368
+ include ::Google::Protobuf::MessageExts
1369
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1370
+ end
1239
1371
  end
1240
1372
  end
1241
1373
  end
@@ -131,6 +131,9 @@ module Google
131
131
  # The metastore type is not set.
132
132
  METASTORE_TYPE_UNSPECIFIED = 0
133
133
 
134
+ # The backend metastore is BigQuery.
135
+ BIGQUERY = 2
136
+
134
137
  # The backend metastore is Dataproc Metastore.
135
138
  DATAPROC_METASTORE = 3
136
139
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-metastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-05-31 00:00:00.000000000 Z
11
+ date: 2023-07-10 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.19.0
19
+ version: 0.19.1
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.19.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a