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