google-cloud-metastore-v1 0.10.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -101
- data/lib/google/cloud/metastore/v1/dataproc_metastore/client.rb +34 -8
- data/lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb +28 -6
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb +36 -7
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb +33 -8
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/service_stub.rb +14 -2
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb +34 -8
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb +28 -6
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb +36 -7
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb +33 -8
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/service_stub.rb +14 -2
- data/lib/google/cloud/metastore/v1/metastore_pb.rb +1 -1
- data/lib/google/cloud/metastore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/metastore/v1/metastore.rb +10 -0
- metadata +9 -9
@@ -30,16 +30,28 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
def initialize endpoint:, credentials:
|
33
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
34
34
|
# These require statements are intentionally placed here to initialize
|
35
35
|
# the REST modules only when it's required.
|
36
36
|
require "gapic/rest"
|
37
37
|
|
38
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
39
|
+
endpoint_template: endpoint_template,
|
40
|
+
universe_domain: universe_domain,
|
41
|
+
credentials: credentials,
|
39
42
|
numeric_enums: true,
|
40
43
|
raise_faraday_errors: false
|
41
44
|
end
|
42
45
|
|
46
|
+
##
|
47
|
+
# The effective universe domain
|
48
|
+
#
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
def universe_domain
|
52
|
+
@client_stub.universe_domain
|
53
|
+
end
|
54
|
+
|
43
55
|
##
|
44
56
|
# Baseline implementation for the list_services REST call
|
45
57
|
#
|
@@ -44,6 +44,9 @@ module Google
|
|
44
44
|
# `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
|
45
45
|
#
|
46
46
|
class Client
|
47
|
+
# @private
|
48
|
+
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
49
|
+
|
47
50
|
include Paths
|
48
51
|
|
49
52
|
# @private
|
@@ -104,6 +107,15 @@ module Google
|
|
104
107
|
@config
|
105
108
|
end
|
106
109
|
|
110
|
+
##
|
111
|
+
# The effective universe domain
|
112
|
+
#
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
def universe_domain
|
116
|
+
@dataproc_metastore_federation_stub.universe_domain
|
117
|
+
end
|
118
|
+
|
107
119
|
##
|
108
120
|
# Create a new DataprocMetastoreFederation client object.
|
109
121
|
#
|
@@ -137,8 +149,9 @@ module Google
|
|
137
149
|
credentials = @config.credentials
|
138
150
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
139
151
|
# but only if the default endpoint does not have a region prefix.
|
140
|
-
enable_self_signed_jwt = @config.endpoint
|
141
|
-
|
152
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
153
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
154
|
+
!@config.endpoint.split(".").first.include?("-"))
|
142
155
|
credentials ||= Credentials.default scope: @config.scope,
|
143
156
|
enable_self_signed_jwt: enable_self_signed_jwt
|
144
157
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -151,24 +164,29 @@ module Google
|
|
151
164
|
config.credentials = credentials
|
152
165
|
config.quota_project = @quota_project_id
|
153
166
|
config.endpoint = @config.endpoint
|
167
|
+
config.universe_domain = @config.universe_domain
|
154
168
|
end
|
155
169
|
|
156
170
|
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
171
|
config.credentials = credentials
|
158
172
|
config.quota_project = @quota_project_id
|
159
173
|
config.endpoint = @config.endpoint
|
174
|
+
config.universe_domain = @config.universe_domain
|
160
175
|
end
|
161
176
|
|
162
177
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
163
178
|
config.credentials = credentials
|
164
179
|
config.quota_project = @quota_project_id
|
165
180
|
config.endpoint = @config.endpoint
|
181
|
+
config.universe_domain = @config.universe_domain
|
166
182
|
end
|
167
183
|
|
168
184
|
@dataproc_metastore_federation_stub = ::Gapic::ServiceStub.new(
|
169
185
|
::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Stub,
|
170
|
-
credentials:
|
171
|
-
endpoint:
|
186
|
+
credentials: credentials,
|
187
|
+
endpoint: @config.endpoint,
|
188
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
189
|
+
universe_domain: @config.universe_domain,
|
172
190
|
channel_args: @config.channel_args,
|
173
191
|
interceptors: @config.interceptors,
|
174
192
|
channel_pool_config: @config.channel_pool
|
@@ -772,9 +790,9 @@ module Google
|
|
772
790
|
# end
|
773
791
|
#
|
774
792
|
# @!attribute [rw] endpoint
|
775
|
-
#
|
776
|
-
#
|
777
|
-
# @return [::String]
|
793
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
794
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
795
|
+
# @return [::String,nil]
|
778
796
|
# @!attribute [rw] credentials
|
779
797
|
# Credentials to send with calls. You may provide any of the following types:
|
780
798
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -820,13 +838,20 @@ module Google
|
|
820
838
|
# @!attribute [rw] quota_project
|
821
839
|
# A separate project against which to charge quota.
|
822
840
|
# @return [::String]
|
841
|
+
# @!attribute [rw] universe_domain
|
842
|
+
# The universe domain within which to make requests. This determines the
|
843
|
+
# default endpoint URL. The default value of nil uses the environment
|
844
|
+
# universe (usually the default "googleapis.com" universe).
|
845
|
+
# @return [::String,nil]
|
823
846
|
#
|
824
847
|
class Configuration
|
825
848
|
extend ::Gapic::Config
|
826
849
|
|
850
|
+
# @private
|
851
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
827
852
|
DEFAULT_ENDPOINT = "metastore.googleapis.com"
|
828
853
|
|
829
|
-
config_attr :endpoint,
|
854
|
+
config_attr :endpoint, nil, ::String, nil
|
830
855
|
config_attr :credentials, nil do |value|
|
831
856
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
832
857
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -841,6 +866,7 @@ module Google
|
|
841
866
|
config_attr :metadata, nil, ::Hash, nil
|
842
867
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
843
868
|
config_attr :quota_project, nil, ::String, nil
|
869
|
+
config_attr :universe_domain, nil, ::String, nil
|
844
870
|
|
845
871
|
# @private
|
846
872
|
def initialize parent_config = nil
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module DataprocMetastoreFederation
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
|
+
|
29
32
|
# @private
|
30
33
|
attr_reader :operations_stub
|
31
34
|
|
@@ -60,6 +63,15 @@ module Google
|
|
60
63
|
@config
|
61
64
|
end
|
62
65
|
|
66
|
+
##
|
67
|
+
# The effective universe domain
|
68
|
+
#
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
def universe_domain
|
72
|
+
@operations_stub.universe_domain
|
73
|
+
end
|
74
|
+
|
63
75
|
##
|
64
76
|
# Create a new Operations client object.
|
65
77
|
#
|
@@ -90,8 +102,10 @@ module Google
|
|
90
102
|
|
91
103
|
@operations_stub = ::Gapic::ServiceStub.new(
|
92
104
|
::Google::Longrunning::Operations::Stub,
|
93
|
-
credentials:
|
94
|
-
endpoint:
|
105
|
+
credentials: credentials,
|
106
|
+
endpoint: @config.endpoint,
|
107
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
108
|
+
universe_domain: @config.universe_domain,
|
95
109
|
channel_args: @config.channel_args,
|
96
110
|
interceptors: @config.interceptors,
|
97
111
|
channel_pool_config: @config.channel_pool
|
@@ -613,9 +627,9 @@ module Google
|
|
613
627
|
# end
|
614
628
|
#
|
615
629
|
# @!attribute [rw] endpoint
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# @return [::String]
|
630
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
631
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
632
|
+
# @return [::String,nil]
|
619
633
|
# @!attribute [rw] credentials
|
620
634
|
# Credentials to send with calls. You may provide any of the following types:
|
621
635
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -661,13 +675,20 @@ module Google
|
|
661
675
|
# @!attribute [rw] quota_project
|
662
676
|
# A separate project against which to charge quota.
|
663
677
|
# @return [::String]
|
678
|
+
# @!attribute [rw] universe_domain
|
679
|
+
# The universe domain within which to make requests. This determines the
|
680
|
+
# default endpoint URL. The default value of nil uses the environment
|
681
|
+
# universe (usually the default "googleapis.com" universe).
|
682
|
+
# @return [::String,nil]
|
664
683
|
#
|
665
684
|
class Configuration
|
666
685
|
extend ::Gapic::Config
|
667
686
|
|
687
|
+
# @private
|
688
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
668
689
|
DEFAULT_ENDPOINT = "metastore.googleapis.com"
|
669
690
|
|
670
|
-
config_attr :endpoint,
|
691
|
+
config_attr :endpoint, nil, ::String, nil
|
671
692
|
config_attr :credentials, nil do |value|
|
672
693
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
673
694
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -682,6 +703,7 @@ module Google
|
|
682
703
|
config_attr :metadata, nil, ::Hash, nil
|
683
704
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
684
705
|
config_attr :quota_project, nil, ::String, nil
|
706
|
+
config_attr :universe_domain, nil, ::String, nil
|
685
707
|
|
686
708
|
# @private
|
687
709
|
def initialize parent_config = nil
|
@@ -46,6 +46,9 @@ module Google
|
|
46
46
|
# `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
|
47
47
|
#
|
48
48
|
class Client
|
49
|
+
# @private
|
50
|
+
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
51
|
+
|
49
52
|
include Paths
|
50
53
|
|
51
54
|
# @private
|
@@ -106,6 +109,15 @@ module Google
|
|
106
109
|
@config
|
107
110
|
end
|
108
111
|
|
112
|
+
##
|
113
|
+
# The effective universe domain
|
114
|
+
#
|
115
|
+
# @return [String]
|
116
|
+
#
|
117
|
+
def universe_domain
|
118
|
+
@dataproc_metastore_federation_stub.universe_domain
|
119
|
+
end
|
120
|
+
|
109
121
|
##
|
110
122
|
# Create a new DataprocMetastoreFederation REST client object.
|
111
123
|
#
|
@@ -133,8 +145,9 @@ module Google
|
|
133
145
|
credentials = @config.credentials
|
134
146
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
147
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.endpoint
|
137
|
-
|
148
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
149
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
150
|
+
!@config.endpoint.split(".").first.include?("-"))
|
138
151
|
credentials ||= Credentials.default scope: @config.scope,
|
139
152
|
enable_self_signed_jwt: enable_self_signed_jwt
|
140
153
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -148,12 +161,14 @@ module Google
|
|
148
161
|
config.credentials = credentials
|
149
162
|
config.quota_project = @quota_project_id
|
150
163
|
config.endpoint = @config.endpoint
|
164
|
+
config.universe_domain = @config.universe_domain
|
151
165
|
end
|
152
166
|
|
153
167
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
168
|
config.credentials = credentials
|
155
169
|
config.quota_project = @quota_project_id
|
156
170
|
config.endpoint = @config.endpoint
|
171
|
+
config.universe_domain = @config.universe_domain
|
157
172
|
config.bindings_override = @config.bindings_override
|
158
173
|
end
|
159
174
|
|
@@ -161,10 +176,16 @@ module Google
|
|
161
176
|
config.credentials = credentials
|
162
177
|
config.quota_project = @quota_project_id
|
163
178
|
config.endpoint = @config.endpoint
|
179
|
+
config.universe_domain = @config.universe_domain
|
164
180
|
config.bindings_override = @config.bindings_override
|
165
181
|
end
|
166
182
|
|
167
|
-
@dataproc_metastore_federation_stub = ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Rest::ServiceStub.new
|
183
|
+
@dataproc_metastore_federation_stub = ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Rest::ServiceStub.new(
|
184
|
+
endpoint: @config.endpoint,
|
185
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
186
|
+
universe_domain: @config.universe_domain,
|
187
|
+
credentials: credentials
|
188
|
+
)
|
168
189
|
end
|
169
190
|
|
170
191
|
##
|
@@ -728,9 +749,9 @@ module Google
|
|
728
749
|
# end
|
729
750
|
#
|
730
751
|
# @!attribute [rw] endpoint
|
731
|
-
#
|
732
|
-
#
|
733
|
-
# @return [::String]
|
752
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
753
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
754
|
+
# @return [::String,nil]
|
734
755
|
# @!attribute [rw] credentials
|
735
756
|
# Credentials to send with calls. You may provide any of the following types:
|
736
757
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -767,13 +788,20 @@ module Google
|
|
767
788
|
# @!attribute [rw] quota_project
|
768
789
|
# A separate project against which to charge quota.
|
769
790
|
# @return [::String]
|
791
|
+
# @!attribute [rw] universe_domain
|
792
|
+
# The universe domain within which to make requests. This determines the
|
793
|
+
# default endpoint URL. The default value of nil uses the environment
|
794
|
+
# universe (usually the default "googleapis.com" universe).
|
795
|
+
# @return [::String,nil]
|
770
796
|
#
|
771
797
|
class Configuration
|
772
798
|
extend ::Gapic::Config
|
773
799
|
|
800
|
+
# @private
|
801
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
774
802
|
DEFAULT_ENDPOINT = "metastore.googleapis.com"
|
775
803
|
|
776
|
-
config_attr :endpoint,
|
804
|
+
config_attr :endpoint, nil, ::String, nil
|
777
805
|
config_attr :credentials, nil do |value|
|
778
806
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
779
807
|
allowed.any? { |klass| klass === value }
|
@@ -785,6 +813,7 @@ module Google
|
|
785
813
|
config_attr :metadata, nil, ::Hash, nil
|
786
814
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
787
815
|
config_attr :quota_project, nil, ::String, nil
|
816
|
+
config_attr :universe_domain, nil, ::String, nil
|
788
817
|
|
789
818
|
# @private
|
790
819
|
# Overrides for http bindings for the RPCs of this service
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
|
+
|
29
32
|
# @private
|
30
33
|
attr_reader :operations_stub
|
31
34
|
|
@@ -60,6 +63,15 @@ module Google
|
|
60
63
|
@config
|
61
64
|
end
|
62
65
|
|
66
|
+
##
|
67
|
+
# The effective universe domain
|
68
|
+
#
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
def universe_domain
|
72
|
+
@operations_stub.universe_domain
|
73
|
+
end
|
74
|
+
|
63
75
|
##
|
64
76
|
# Create a new Operations client object.
|
65
77
|
#
|
@@ -84,8 +96,10 @@ module Google
|
|
84
96
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
85
97
|
|
86
98
|
@operations_stub = OperationsServiceStub.new(
|
87
|
-
endpoint:
|
88
|
-
|
99
|
+
endpoint: @config.endpoint,
|
100
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
101
|
+
universe_domain: @config.universe_domain,
|
102
|
+
credentials: credentials
|
89
103
|
)
|
90
104
|
|
91
105
|
# Used by an LRO wrapper for some methods of this service
|
@@ -478,9 +492,9 @@ module Google
|
|
478
492
|
# end
|
479
493
|
#
|
480
494
|
# @!attribute [rw] endpoint
|
481
|
-
#
|
482
|
-
#
|
483
|
-
# @return [::String]
|
495
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
496
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
497
|
+
# @return [::String,nil]
|
484
498
|
# @!attribute [rw] credentials
|
485
499
|
# Credentials to send with calls. You may provide any of the following types:
|
486
500
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -517,13 +531,20 @@ module Google
|
|
517
531
|
# @!attribute [rw] quota_project
|
518
532
|
# A separate project against which to charge quota.
|
519
533
|
# @return [::String]
|
534
|
+
# @!attribute [rw] universe_domain
|
535
|
+
# The universe domain within which to make requests. This determines the
|
536
|
+
# default endpoint URL. The default value of nil uses the environment
|
537
|
+
# universe (usually the default "googleapis.com" universe).
|
538
|
+
# @return [::String,nil]
|
520
539
|
#
|
521
540
|
class Configuration
|
522
541
|
extend ::Gapic::Config
|
523
542
|
|
543
|
+
# @private
|
544
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
524
545
|
DEFAULT_ENDPOINT = "metastore.googleapis.com"
|
525
546
|
|
526
|
-
config_attr :endpoint,
|
547
|
+
config_attr :endpoint, nil, ::String, nil
|
527
548
|
config_attr :credentials, nil do |value|
|
528
549
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
529
550
|
allowed.any? { |klass| klass === value }
|
@@ -535,6 +556,7 @@ module Google
|
|
535
556
|
config_attr :metadata, nil, ::Hash, nil
|
536
557
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
537
558
|
config_attr :quota_project, nil, ::String, nil
|
559
|
+
config_attr :universe_domain, nil, ::String, nil
|
538
560
|
|
539
561
|
# @private
|
540
562
|
def initialize parent_config = nil
|
@@ -617,12 +639,15 @@ module Google
|
|
617
639
|
# Service stub contains baseline method implementations
|
618
640
|
# including transcoding, making the REST call, and deserialing the response.
|
619
641
|
class OperationsServiceStub
|
620
|
-
def initialize endpoint:, credentials:
|
642
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
621
643
|
# These require statements are intentionally placed here to initialize
|
622
644
|
# the REST modules only when it's required.
|
623
645
|
require "gapic/rest"
|
624
646
|
|
625
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
647
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
648
|
+
endpoint_template: endpoint_template,
|
649
|
+
universe_domain: universe_domain,
|
650
|
+
credentials: credentials
|
626
651
|
end
|
627
652
|
|
628
653
|
##
|
@@ -30,16 +30,28 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
def initialize endpoint:, credentials:
|
33
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
34
34
|
# These require statements are intentionally placed here to initialize
|
35
35
|
# the REST modules only when it's required.
|
36
36
|
require "gapic/rest"
|
37
37
|
|
38
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
39
|
+
endpoint_template: endpoint_template,
|
40
|
+
universe_domain: universe_domain,
|
41
|
+
credentials: credentials,
|
39
42
|
numeric_enums: true,
|
40
43
|
raise_faraday_errors: false
|
41
44
|
end
|
42
45
|
|
46
|
+
##
|
47
|
+
# The effective universe domain
|
48
|
+
#
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
def universe_domain
|
52
|
+
@client_stub.universe_domain
|
53
|
+
end
|
54
|
+
|
43
55
|
##
|
44
56
|
# Baseline implementation for the list_federations REST call
|
45
57
|
#
|
@@ -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\"\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"
|
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\"\x99\x02\n\rNetworkConfig\x12I\n\tconsumers\x18\x01 \x03(\x0b\x32\x31.google.cloud.metastore.v1.NetworkConfig.ConsumerB\x03\xe0\x41\x05\x1a\xbc\x01\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\x12\x44\n\x11\x65ndpoint_location\x18\x04 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/LocationB\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
|
|
@@ -21,6 +21,7 @@ module Google
|
|
21
21
|
module Api
|
22
22
|
# Required information for every language.
|
23
23
|
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
24
25
|
# @return [::String]
|
25
26
|
# Link to automatically generated reference documentation. Example:
|
26
27
|
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
@@ -304,6 +305,19 @@ module Google
|
|
304
305
|
# seconds: 360 # 6 minutes
|
305
306
|
# total_poll_timeout:
|
306
307
|
# seconds: 54000 # 90 minutes
|
308
|
+
# @!attribute [rw] auto_populated_fields
|
309
|
+
# @return [::Array<::String>]
|
310
|
+
# List of top-level fields of the request message, that should be
|
311
|
+
# automatically populated by the client libraries based on their
|
312
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
313
|
+
#
|
314
|
+
# Example of a YAML configuration:
|
315
|
+
#
|
316
|
+
# publishing:
|
317
|
+
# method_settings:
|
318
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
319
|
+
# auto_populated_fields:
|
320
|
+
# - request_id
|
307
321
|
class MethodSettings
|
308
322
|
include ::Google::Protobuf::MessageExts
|
309
323
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|