google-cloud-metastore-v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 679a4aae330cc27677c39c3d417ebe5432a092741b38850dcfd6890f8912c50b
4
- data.tar.gz: db70ab1ec6fc16c605370ed789952948fdc2e9e1ca084f642924f80c008fcccd
3
+ metadata.gz: 9f790ed29bdbad8280a78fc0cb52a441658c98bf107296817a1c20c96627f01d
4
+ data.tar.gz: 7d827b0f0bcc722102c4e78809f54a6effd52f3e2c63c1b8331b0785227e588f
5
5
  SHA512:
6
- metadata.gz: b79fa41f6586a823fa1f848e57e0c06a46abd2c0a53536edd32f38d6dee44c13e6ff6552b358f4fd5a8aac68dbf06b5e904c25890b9ddbfe419323309602fef6
7
- data.tar.gz: d172d0c0d98fb4352f3ce5c2be5d6ec23860e9194fc9f0ea70197f8891131d24ddea27350b00502c3a6e4aef0952d35f28b58b99e86eba15240d667f9e371cee
6
+ metadata.gz: ad21098ffa773e979a05a3f5dd563f7b34471dac2375b3bd063f7d370d951c6b8950d29079494eb49ffe01766af568c2e38af4b686b531e608f7e2f0de14ff0e
7
+ data.tar.gz: d275cb4f7aeae9a948fed6899c17c10a7039ebc205424fb61d66b7f0188ea43e6f7554039678871d0036f34690047f18bed1d21a4d0cd781130118ecd7606732
@@ -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/v1/metastore_federation.proto
3
4
 
@@ -13,67 +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
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/metastore/v1/metastore_federation.proto", :syntax => :proto3) do
18
- add_message "google.cloud.metastore.v1.Federation" do
19
- optional :name, :string, 1
20
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
21
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
22
- map :labels, :string, :string, 4
23
- optional :version, :string, 5
24
- map :backend_metastores, :int32, :message, 6, "google.cloud.metastore.v1.BackendMetastore"
25
- optional :endpoint_uri, :string, 7
26
- optional :state, :enum, 8, "google.cloud.metastore.v1.Federation.State"
27
- optional :state_message, :string, 9
28
- optional :uid, :string, 10
29
- end
30
- add_enum "google.cloud.metastore.v1.Federation.State" do
31
- value :STATE_UNSPECIFIED, 0
32
- value :CREATING, 1
33
- value :ACTIVE, 2
34
- value :UPDATING, 3
35
- value :DELETING, 4
36
- value :ERROR, 5
37
- end
38
- add_message "google.cloud.metastore.v1.BackendMetastore" do
39
- optional :name, :string, 1
40
- optional :metastore_type, :enum, 2, "google.cloud.metastore.v1.BackendMetastore.MetastoreType"
41
- end
42
- add_enum "google.cloud.metastore.v1.BackendMetastore.MetastoreType" do
43
- value :METASTORE_TYPE_UNSPECIFIED, 0
44
- value :DATAPROC_METASTORE, 3
45
- end
46
- add_message "google.cloud.metastore.v1.ListFederationsRequest" do
47
- optional :parent, :string, 1
48
- optional :page_size, :int32, 2
49
- optional :page_token, :string, 3
50
- optional :filter, :string, 4
51
- optional :order_by, :string, 5
52
- end
53
- add_message "google.cloud.metastore.v1.ListFederationsResponse" do
54
- repeated :federations, :message, 1, "google.cloud.metastore.v1.Federation"
55
- optional :next_page_token, :string, 2
56
- repeated :unreachable, :string, 3
57
- end
58
- add_message "google.cloud.metastore.v1.GetFederationRequest" do
59
- optional :name, :string, 1
60
- end
61
- add_message "google.cloud.metastore.v1.CreateFederationRequest" do
62
- optional :parent, :string, 1
63
- optional :federation_id, :string, 2
64
- optional :federation, :message, 3, "google.cloud.metastore.v1.Federation"
65
- optional :request_id, :string, 4
66
- end
67
- add_message "google.cloud.metastore.v1.UpdateFederationRequest" do
68
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
69
- optional :federation, :message, 2, "google.cloud.metastore.v1.Federation"
70
- optional :request_id, :string, 3
71
- end
72
- add_message "google.cloud.metastore.v1.DeleteFederationRequest" do
73
- optional :name, :string, 1
74
- optional :request_id, :string, 2
17
+
18
+ descriptor_data = "\n4google/cloud/metastore/v1/metastore_federation.proto\x12\x19google.cloud.metastore.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/metastore/v1/metastore.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x06\n\nFederation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.metastore.v1.Federation.LabelsEntry\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x05\x12X\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32<.google.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x19\n\x0c\x65ndpoint_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.metastore.v1.Federation.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\n \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.metastore.v1.BackendMetastore:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:j\xea\x41g\n#metastore.googleapis.com/Federation\x12@projects/{project}/locations/{location}/federations/{federation}\"\xbc\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x0emetastore_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.metastore.v1.BackendMetastore.MetastoreType\"G\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\"\xb2\x01\n\x16ListFederationsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x17ListFederationsResponse\x12:\n\x0b\x66\x65\x64\x65rations\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1.Federation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x14GetFederationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#metastore.googleapis.com/Federation\"\xcb\x01\n\x17\x43reateFederationRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#metastore.googleapis.com/Federation\x12\x1a\n\rfederation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\nfederation\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n\x17UpdateFederationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\nfederation\x18\x02 \x01(\x0b\x32%.google.cloud.metastore.v1.FederationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x17\x44\x65leteFederationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#metastore.googleapis.com/Federation\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xdc\t\n\x1b\x44\x61taprocMetastoreFederation\x12\xba\x01\n\x0fListFederations\x12\x31.google.cloud.metastore.v1.ListFederationsRequest\x1a\x32.google.cloud.metastore.v1.ListFederationsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/federations\xda\x41\x06parent\x12\xa7\x01\n\rGetFederation\x12/.google.cloud.metastore.v1.GetFederationRequest\x1a%.google.cloud.metastore.v1.Federation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\x12\x89\x02\n\x10\x43reateFederation\x12\x32.google.cloud.metastore.v1.CreateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/federations:\nfederation\xda\x41\x1fparent,federation,federation_id\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\x8b\x02\n\x10UpdateFederation\x12\x32.google.cloud.metastore.v1.UpdateFederationRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02H2:/v1/{federation.name=projects/*/locations/*/federations/*}:\nfederation\xda\x41\x16\x66\x65\x64\x65ration,update_mask\xca\x41\x39\n\nFederation\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x10\x44\x65leteFederation\x12\x32.google.cloud.metastore.v1.DeleteFederationRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/federations/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBx\n\x1d\x63om.google.cloud.metastore.v1B\x18MetastoreFederationProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepbb\x06proto3"
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}"
75
40
  end
76
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."
77
44
  end
78
45
 
79
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/v1/metastore.proto
3
4
 
@@ -14,320 +15,34 @@ require 'google/protobuf/timestamp_pb'
14
15
  require 'google/protobuf/wrappers_pb'
15
16
  require 'google/type/dayofweek_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/metastore/v1/metastore.proto", :syntax => :proto3) do
19
- add_message "google.cloud.metastore.v1.Service" do
20
- optional :name, :string, 1
21
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
22
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
23
- map :labels, :string, :string, 4
24
- optional :network, :string, 7
25
- optional :endpoint_uri, :string, 8
26
- optional :port, :int32, 9
27
- optional :state, :enum, 10, "google.cloud.metastore.v1.Service.State"
28
- optional :state_message, :string, 11
29
- optional :artifact_gcs_uri, :string, 12
30
- optional :tier, :enum, 13, "google.cloud.metastore.v1.Service.Tier"
31
- optional :maintenance_window, :message, 15, "google.cloud.metastore.v1.MaintenanceWindow"
32
- optional :uid, :string, 16
33
- optional :metadata_management_activity, :message, 17, "google.cloud.metastore.v1.MetadataManagementActivity"
34
- optional :release_channel, :enum, 19, "google.cloud.metastore.v1.Service.ReleaseChannel"
35
- optional :encryption_config, :message, 20, "google.cloud.metastore.v1.EncryptionConfig"
36
- optional :network_config, :message, 21, "google.cloud.metastore.v1.NetworkConfig"
37
- optional :database_type, :enum, 22, "google.cloud.metastore.v1.Service.DatabaseType"
38
- optional :telemetry_config, :message, 23, "google.cloud.metastore.v1.TelemetryConfig"
39
- optional :scaling_config, :message, 24, "google.cloud.metastore.v1.ScalingConfig"
40
- oneof :metastore_config do
41
- optional :hive_metastore_config, :message, 5, "google.cloud.metastore.v1.HiveMetastoreConfig"
42
- end
43
- end
44
- add_enum "google.cloud.metastore.v1.Service.State" do
45
- value :STATE_UNSPECIFIED, 0
46
- value :CREATING, 1
47
- value :ACTIVE, 2
48
- value :SUSPENDING, 3
49
- value :SUSPENDED, 4
50
- value :UPDATING, 5
51
- value :DELETING, 6
52
- value :ERROR, 7
53
- end
54
- add_enum "google.cloud.metastore.v1.Service.Tier" do
55
- value :TIER_UNSPECIFIED, 0
56
- value :DEVELOPER, 1
57
- value :ENTERPRISE, 3
58
- end
59
- add_enum "google.cloud.metastore.v1.Service.ReleaseChannel" do
60
- value :RELEASE_CHANNEL_UNSPECIFIED, 0
61
- value :CANARY, 1
62
- value :STABLE, 2
63
- end
64
- add_enum "google.cloud.metastore.v1.Service.DatabaseType" do
65
- value :DATABASE_TYPE_UNSPECIFIED, 0
66
- value :MYSQL, 1
67
- value :SPANNER, 2
68
- end
69
- add_message "google.cloud.metastore.v1.MaintenanceWindow" do
70
- optional :hour_of_day, :message, 1, "google.protobuf.Int32Value"
71
- optional :day_of_week, :enum, 2, "google.type.DayOfWeek"
72
- end
73
- add_message "google.cloud.metastore.v1.HiveMetastoreConfig" do
74
- optional :version, :string, 1
75
- map :config_overrides, :string, :string, 2
76
- optional :kerberos_config, :message, 3, "google.cloud.metastore.v1.KerberosConfig"
77
- map :auxiliary_versions, :string, :message, 5, "google.cloud.metastore.v1.AuxiliaryVersionConfig"
78
- end
79
- add_message "google.cloud.metastore.v1.KerberosConfig" do
80
- optional :keytab, :message, 1, "google.cloud.metastore.v1.Secret"
81
- optional :principal, :string, 2
82
- optional :krb5_config_gcs_uri, :string, 3
83
- end
84
- add_message "google.cloud.metastore.v1.Secret" do
85
- oneof :value do
86
- optional :cloud_secret, :string, 2
87
- end
88
- end
89
- add_message "google.cloud.metastore.v1.EncryptionConfig" do
90
- optional :kms_key, :string, 1
91
- end
92
- add_message "google.cloud.metastore.v1.AuxiliaryVersionConfig" do
93
- optional :version, :string, 1
94
- map :config_overrides, :string, :string, 2
95
- optional :network_config, :message, 3, "google.cloud.metastore.v1.NetworkConfig"
96
- end
97
- add_message "google.cloud.metastore.v1.NetworkConfig" do
98
- repeated :consumers, :message, 1, "google.cloud.metastore.v1.NetworkConfig.Consumer"
99
- end
100
- add_message "google.cloud.metastore.v1.NetworkConfig.Consumer" do
101
- optional :endpoint_uri, :string, 3
102
- oneof :vpc_resource do
103
- optional :subnetwork, :string, 1
104
- end
105
- end
106
- add_message "google.cloud.metastore.v1.TelemetryConfig" do
107
- optional :log_format, :enum, 1, "google.cloud.metastore.v1.TelemetryConfig.LogFormat"
108
- end
109
- add_enum "google.cloud.metastore.v1.TelemetryConfig.LogFormat" do
110
- value :LOG_FORMAT_UNSPECIFIED, 0
111
- value :LEGACY, 1
112
- value :JSON, 2
113
- end
114
- add_message "google.cloud.metastore.v1.MetadataManagementActivity" do
115
- repeated :metadata_exports, :message, 1, "google.cloud.metastore.v1.MetadataExport"
116
- repeated :restores, :message, 2, "google.cloud.metastore.v1.Restore"
117
- end
118
- add_message "google.cloud.metastore.v1.MetadataImport" do
119
- optional :name, :string, 1
120
- optional :description, :string, 2
121
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
122
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
123
- optional :end_time, :message, 7, "google.protobuf.Timestamp"
124
- optional :state, :enum, 5, "google.cloud.metastore.v1.MetadataImport.State"
125
- oneof :metadata do
126
- optional :database_dump, :message, 6, "google.cloud.metastore.v1.MetadataImport.DatabaseDump"
127
- end
128
- end
129
- add_message "google.cloud.metastore.v1.MetadataImport.DatabaseDump" do
130
- optional :database_type, :enum, 1, "google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType"
131
- optional :gcs_uri, :string, 2
132
- optional :type, :enum, 4, "google.cloud.metastore.v1.DatabaseDumpSpec.Type"
133
- end
134
- add_enum "google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType" do
135
- value :DATABASE_TYPE_UNSPECIFIED, 0
136
- value :MYSQL, 1
137
- end
138
- add_enum "google.cloud.metastore.v1.MetadataImport.State" do
139
- value :STATE_UNSPECIFIED, 0
140
- value :RUNNING, 1
141
- value :SUCCEEDED, 2
142
- value :UPDATING, 3
143
- value :FAILED, 4
144
- end
145
- add_message "google.cloud.metastore.v1.MetadataExport" do
146
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
147
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
148
- optional :state, :enum, 3, "google.cloud.metastore.v1.MetadataExport.State"
149
- optional :database_dump_type, :enum, 5, "google.cloud.metastore.v1.DatabaseDumpSpec.Type"
150
- oneof :destination do
151
- optional :destination_gcs_uri, :string, 4
152
- end
153
- end
154
- add_enum "google.cloud.metastore.v1.MetadataExport.State" do
155
- value :STATE_UNSPECIFIED, 0
156
- value :RUNNING, 1
157
- value :SUCCEEDED, 2
158
- value :FAILED, 3
159
- value :CANCELLED, 4
160
- end
161
- add_message "google.cloud.metastore.v1.Backup" do
162
- optional :name, :string, 1
163
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
164
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
165
- optional :state, :enum, 4, "google.cloud.metastore.v1.Backup.State"
166
- optional :service_revision, :message, 5, "google.cloud.metastore.v1.Service"
167
- optional :description, :string, 6
168
- repeated :restoring_services, :string, 7
169
- end
170
- add_enum "google.cloud.metastore.v1.Backup.State" do
171
- value :STATE_UNSPECIFIED, 0
172
- value :CREATING, 1
173
- value :DELETING, 2
174
- value :ACTIVE, 3
175
- value :FAILED, 4
176
- value :RESTORING, 5
177
- end
178
- add_message "google.cloud.metastore.v1.Restore" do
179
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
180
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
181
- optional :state, :enum, 3, "google.cloud.metastore.v1.Restore.State"
182
- optional :backup, :string, 4
183
- optional :type, :enum, 5, "google.cloud.metastore.v1.Restore.RestoreType"
184
- optional :details, :string, 6
185
- end
186
- add_enum "google.cloud.metastore.v1.Restore.State" do
187
- value :STATE_UNSPECIFIED, 0
188
- value :RUNNING, 1
189
- value :SUCCEEDED, 2
190
- value :FAILED, 3
191
- value :CANCELLED, 4
192
- end
193
- add_enum "google.cloud.metastore.v1.Restore.RestoreType" do
194
- value :RESTORE_TYPE_UNSPECIFIED, 0
195
- value :FULL, 1
196
- value :METADATA_ONLY, 2
197
- end
198
- add_message "google.cloud.metastore.v1.ScalingConfig" do
199
- oneof :scaling_model do
200
- optional :instance_size, :enum, 1, "google.cloud.metastore.v1.ScalingConfig.InstanceSize"
201
- optional :scaling_factor, :float, 2
202
- end
203
- end
204
- add_enum "google.cloud.metastore.v1.ScalingConfig.InstanceSize" do
205
- value :INSTANCE_SIZE_UNSPECIFIED, 0
206
- value :EXTRA_SMALL, 1
207
- value :SMALL, 2
208
- value :MEDIUM, 3
209
- value :LARGE, 4
210
- value :EXTRA_LARGE, 5
211
- end
212
- add_message "google.cloud.metastore.v1.ListServicesRequest" do
213
- optional :parent, :string, 1
214
- optional :page_size, :int32, 2
215
- optional :page_token, :string, 3
216
- optional :filter, :string, 4
217
- optional :order_by, :string, 5
218
- end
219
- add_message "google.cloud.metastore.v1.ListServicesResponse" do
220
- repeated :services, :message, 1, "google.cloud.metastore.v1.Service"
221
- optional :next_page_token, :string, 2
222
- repeated :unreachable, :string, 3
223
- end
224
- add_message "google.cloud.metastore.v1.GetServiceRequest" do
225
- optional :name, :string, 1
226
- end
227
- add_message "google.cloud.metastore.v1.CreateServiceRequest" do
228
- optional :parent, :string, 1
229
- optional :service_id, :string, 2
230
- optional :service, :message, 3, "google.cloud.metastore.v1.Service"
231
- optional :request_id, :string, 4
232
- end
233
- add_message "google.cloud.metastore.v1.UpdateServiceRequest" do
234
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
235
- optional :service, :message, 2, "google.cloud.metastore.v1.Service"
236
- optional :request_id, :string, 3
237
- end
238
- add_message "google.cloud.metastore.v1.DeleteServiceRequest" do
239
- optional :name, :string, 1
240
- optional :request_id, :string, 2
241
- end
242
- add_message "google.cloud.metastore.v1.ListMetadataImportsRequest" do
243
- optional :parent, :string, 1
244
- optional :page_size, :int32, 2
245
- optional :page_token, :string, 3
246
- optional :filter, :string, 4
247
- optional :order_by, :string, 5
248
- end
249
- add_message "google.cloud.metastore.v1.ListMetadataImportsResponse" do
250
- repeated :metadata_imports, :message, 1, "google.cloud.metastore.v1.MetadataImport"
251
- optional :next_page_token, :string, 2
252
- repeated :unreachable, :string, 3
253
- end
254
- add_message "google.cloud.metastore.v1.GetMetadataImportRequest" do
255
- optional :name, :string, 1
256
- end
257
- add_message "google.cloud.metastore.v1.CreateMetadataImportRequest" do
258
- optional :parent, :string, 1
259
- optional :metadata_import_id, :string, 2
260
- optional :metadata_import, :message, 3, "google.cloud.metastore.v1.MetadataImport"
261
- optional :request_id, :string, 4
262
- end
263
- add_message "google.cloud.metastore.v1.UpdateMetadataImportRequest" do
264
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
265
- optional :metadata_import, :message, 2, "google.cloud.metastore.v1.MetadataImport"
266
- optional :request_id, :string, 3
267
- end
268
- add_message "google.cloud.metastore.v1.ListBackupsRequest" do
269
- optional :parent, :string, 1
270
- optional :page_size, :int32, 2
271
- optional :page_token, :string, 3
272
- optional :filter, :string, 4
273
- optional :order_by, :string, 5
274
- end
275
- add_message "google.cloud.metastore.v1.ListBackupsResponse" do
276
- repeated :backups, :message, 1, "google.cloud.metastore.v1.Backup"
277
- optional :next_page_token, :string, 2
278
- repeated :unreachable, :string, 3
279
- end
280
- add_message "google.cloud.metastore.v1.GetBackupRequest" do
281
- optional :name, :string, 1
282
- end
283
- add_message "google.cloud.metastore.v1.CreateBackupRequest" do
284
- optional :parent, :string, 1
285
- optional :backup_id, :string, 2
286
- optional :backup, :message, 3, "google.cloud.metastore.v1.Backup"
287
- optional :request_id, :string, 4
288
- end
289
- add_message "google.cloud.metastore.v1.DeleteBackupRequest" do
290
- optional :name, :string, 1
291
- optional :request_id, :string, 2
292
- end
293
- add_message "google.cloud.metastore.v1.ExportMetadataRequest" do
294
- optional :service, :string, 1
295
- optional :request_id, :string, 3
296
- optional :database_dump_type, :enum, 4, "google.cloud.metastore.v1.DatabaseDumpSpec.Type"
297
- oneof :destination do
298
- optional :destination_gcs_folder, :string, 2
299
- end
300
- end
301
- add_message "google.cloud.metastore.v1.RestoreServiceRequest" do
302
- optional :service, :string, 1
303
- optional :backup, :string, 2
304
- optional :restore_type, :enum, 3, "google.cloud.metastore.v1.Restore.RestoreType"
305
- optional :request_id, :string, 4
306
- end
307
- add_message "google.cloud.metastore.v1.OperationMetadata" do
308
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
309
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
310
- optional :target, :string, 3
311
- optional :verb, :string, 4
312
- optional :status_message, :string, 5
313
- optional :requested_cancellation, :bool, 6
314
- optional :api_version, :string, 7
315
- end
316
- add_message "google.cloud.metastore.v1.LocationMetadata" do
317
- repeated :supported_hive_metastore_versions, :message, 1, "google.cloud.metastore.v1.LocationMetadata.HiveMetastoreVersion"
318
- end
319
- add_message "google.cloud.metastore.v1.LocationMetadata.HiveMetastoreVersion" do
320
- optional :version, :string, 1
321
- optional :is_default, :bool, 2
322
- end
323
- add_message "google.cloud.metastore.v1.DatabaseDumpSpec" do
324
- end
325
- add_enum "google.cloud.metastore.v1.DatabaseDumpSpec.Type" do
326
- value :TYPE_UNSPECIFIED, 0
327
- value :MYSQL, 1
328
- value :AVRO, 2
18
+
19
+ descriptor_data = "\n)google/cloud/metastore/v1/metastore.proto\x12\x19google.cloud.metastore.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\x93\r\n\x07Service\x12O\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32..google.cloud.metastore.v1.HiveMetastoreConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.metastore.v1.Service.LabelsEntry\x12\x37\n\x07network\x18\x07 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x19\n\x0c\x65ndpoint_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04port\x18\t \x01(\x05\x12<\n\x05state\x18\n \x01(\x0e\x32(.google.cloud.metastore.v1.Service.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x04tier\x18\r \x01(\x0e\x32\'.google.cloud.metastore.v1.Service.Tier\x12H\n\x12maintenance_window\x18\x0f \x01(\x0b\x32,.google.cloud.metastore.v1.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12`\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x35.google.cloud.metastore.v1.MetadataManagementActivityB\x03\xe0\x41\x03\x12O\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x31.google.cloud.metastore.v1.Service.ReleaseChannelB\x03\xe0\x41\x05\x12K\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32+.google.cloud.metastore.v1.EncryptionConfigB\x03\xe0\x41\x05\x12@\n\x0enetwork_config\x18\x15 \x01(\x0b\x32(.google.cloud.metastore.v1.NetworkConfig\x12K\n\rdatabase_type\x18\x16 \x01(\x0e\x32/.google.cloud.metastore.v1.Service.DatabaseTypeB\x03\xe0\x41\x05\x12\x44\n\x10telemetry_config\x18\x17 \x01(\x0b\x32*.google.cloud.metastore.v1.TelemetryConfig\x12@\n\x0escaling_config\x18\x18 \x01(\x0b\x32(.google.cloud.metastore.v1.ScalingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02:a\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}B\x12\n\x10metastore_config\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\xd6\x03\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12]\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x43.google.cloud.metastore.v1.HiveMetastoreConfig.ConfigOverridesEntry\x12\x42\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.KerberosConfig\x12\x61\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32\x45.google.cloud.metastore.v1.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ak\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.metastore.v1.AuxiliaryVersionConfig:\x02\x38\x01\"s\n\x0eKerberosConfig\x12\x31\n\x06keytab\x18\x01 \x01(\x0b\x32!.google.cloud.metastore.v1.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x8a\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12`\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32\x46.google.cloud.metastore.v1.AuxiliaryVersionConfig.ConfigOverridesEntry\x12\x45\n\x0enetwork_config\x18\x03 \x01(\x0b\x32(.google.cloud.metastore.v1.NetworkConfigB\x03\xe0\x41\x03\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd2\x01\n\rNetworkConfig\x12I\n\tconsumers\x18\x01 \x03(\x0b\x32\x31.google.cloud.metastore.v1.NetworkConfig.ConsumerB\x03\xe0\x41\x05\x1av\n\x08\x43onsumer\x12?\n\nsubnetwork\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!compute.googleapis.com/SubnetworkH\x00\x12\x19\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cvpc_resource\"\x9a\x01\n\x0fTelemetryConfig\x12H\n\nlog_format\x18\x01 \x01(\x0e\x32\x34.google.cloud.metastore.v1.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa1\x01\n\x1aMetadataManagementActivity\x12H\n\x10metadata_exports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.MetadataExportB\x03\xe0\x41\x03\x12\x39\n\x08restores\x18\x02 \x03(\x0b\x32\".google.cloud.metastore.v1.RestoreB\x03\xe0\x41\x03\"\xe3\x06\n\x0eMetadataImport\x12T\n\rdatabase_dump\x18\x06 \x01(\x0b\x32\x36.google.cloud.metastore.v1.MetadataImport.DatabaseDumpB\x03\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x05 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataImport.StateB\x03\xe0\x41\x03\x1a\xfe\x01\n\x0c\x44\x61tabaseDump\x12^\n\rdatabase_type\x18\x01 \x01(\x0e\x32\x43.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseTypeB\x02\x18\x01\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x8b\x01\xea\x41\x87\x01\n\'metastore.googleapis.com/MetadataImport\x12\\projects/{project}/locations/{location}/services/{service}/metadataImports/{metadata_import}B\n\n\x08metadata\"\x9a\x03\n\x0eMetadataExport\x12\"\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.metastore.v1.MetadataExport.StateB\x03\xe0\x41\x03\x12Q\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x30.google.cloud.metastore.v1.DatabaseDumpSpec.TypeB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x90\x04\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x05state\x18\x04 \x01(\x0e\x32\'.google.cloud.metastore.v1.Backup.StateB\x03\xe0\x41\x03\x12\x41\n\x10service_revision\x18\x05 \x01(\x0b\x32\".google.cloud.metastore.v1.ServiceB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1f\n\x12restoring_services\x18\x07 \x03(\tB\x03\xe0\x41\x03\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05:q\xea\x41n\n\x1fmetastore.googleapis.com/Backup\x12Kprojects/{project}/locations/{location}/services/{service}/backups/{backup}\"\xe2\x03\n\x07Restore\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x05state\x18\x03 \x01(\x0e\x32(.google.cloud.metastore.v1.Restore.StateB\x03\xe0\x41\x03\x12\x37\n\x06\x62\x61\x63kup\x18\x04 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x41\n\x04type\x18\x05 \x01(\x0e\x32..google.cloud.metastore.v1.Restore.RestoreTypeB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x06 \x01(\tB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\xfd\x01\n\rScalingConfig\x12N\n\rinstance_size\x18\x01 \x01(\x0e\x32\x35.google.cloud.metastore.v1.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"\xac\x01\n\x13ListServicesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"z\n\x14ListServicesResponse\x12\x34\n\x08services\x18\x01 \x03(\x0b\x32\".google.cloud.metastore.v1.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\xbc\x01\n\x14\x43reateServiceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x07service\x18\x03 \x01(\x0b\x32\".google.cloud.metastore.v1.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x38\n\x07service\x18\x02 \x01(\x0b\x32\".google.cloud.metastore.v1.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14\x44\x65leteServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xba\x01\n\x1aListMetadataImportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n\x1bListMetadataImportsResponse\x12\x43\n\x10metadata_imports\x18\x01 \x03(\x0b\x32).google.cloud.metastore.v1.MetadataImport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x18GetMetadataImportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'metastore.googleapis.com/MetadataImport\"\xe1\x01\n\x1b\x43reateMetadataImportRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x1f\n\x12metadata_import_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32).google.cloud.metastore.v1.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12G\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32).google.cloud.metastore.v1.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x12ListBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.metastore.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\"\xb7\x01\n\x13\x43reateBackupRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32!.google.cloud.metastore.v1.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"e\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xef\x01\n\x15\x45xportMetadataRequest\x12 \n\x16\x64\x65stination_gcs_folder\x18\x02 \x01(\tH\x00\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x30.google.cloud.metastore.v1.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xef\x01\n\x15RestoreServiceRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x37\n\x06\x62\x61\x63kup\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12I\n\x0crestore_type\x18\x03 \x01(\x0e\x32..google.cloud.metastore.v1.Restore.RestoreTypeB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xbc\x01\n\x10LocationMetadata\x12k\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1.LocationMetadata.HiveMetastoreVersion\x1a;\n\x14HiveMetastoreVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nis_default\x18\x02 \x01(\x08\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\x32\xbc\x1b\n\x11\x44\x61taprocMetastore\x12\xae\x01\n\x0cListServices\x12..google.cloud.metastore.v1.ListServicesRequest\x1a/.google.cloud.metastore.v1.ListServicesResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\x9b\x01\n\nGetService\x12,.google.cloud.metastore.v1.GetServiceRequest\x1a\".google.cloud.metastore.v1.Service\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\xf4\x01\n\rCreateService\x12/.google.cloud.metastore.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf6\x01\n\rUpdateService\x12/.google.cloud.metastore.v1.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02?24/v1/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41\x36\n\x07Service\x12+google.cloud.metastore.v1.OperationMetadata\x12\xe4\x01\n\rDeleteService\x12/.google.cloud.metastore.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x12\xd5\x01\n\x13ListMetadataImports\x12\x35.google.cloud.metastore.v1.ListMetadataImportsRequest\x1a\x36.google.cloud.metastore.v1.ListMetadataImportsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xc2\x01\n\x11GetMetadataImport\x12\x33.google.cloud.metastore.v1.GetMetadataImportRequest\x1a).google.cloud.metastore.v1.MetadataImport\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xb3\x02\n\x14\x43reateMetadataImport\x12\x36.google.cloud.metastore.v1.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc3\x01\x82\xd3\xe4\x93\x02Q\">/v1/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x02\n\x14UpdateMetadataImport\x12\x36.google.cloud.metastore.v1.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\x82\xd3\xe4\x93\x02\x61\x32N/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41=\n\x0eMetadataImport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xed\x01\n\x0e\x45xportMetadata\x12\x30.google.cloud.metastore.v1.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x43\">/v1/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41=\n\x0eMetadataExport\x12+google.cloud.metastore.v1.OperationMetadata\x12\xf0\x01\n\x0eRestoreService\x12\x30.google.cloud.metastore.v1.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02<\"7/v1/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41\x36\n\x07Restore\x12+google.cloud.metastore.v1.OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12-.google.cloud.metastore.v1.ListBackupsRequest\x1a..google.cloud.metastore.v1.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12+.google.cloud.metastore.v1.GetBackupRequest\x1a!.google.cloud.metastore.v1.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\xf8\x01\n\x0c\x43reateBackup\x12..google.cloud.metastore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02@\"6/v1/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x35\n\x06\x42\x61\x63kup\x12+google.cloud.metastore.v1.OperationMetadata\x12\xec\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.metastore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.metastore.v1.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x96\x03\n\x1d\x63om.google.cloud.metastore.v1B\x0eMetastoreProtoP\x01Z;cloud.google.com/go/metastore/apiv1/metastorepb;metastorepb\xca\x02\x19Google\\Cloud\\Metastore\\V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41\x61\n!compute.googleapis.com/Subnetwork\x12<projects/{project}/regions/{region}/subnetworks/{subnetwork}\xea\x41T\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x34projects/{project}/locations/{location}/lakes/{lake}b\x06proto3"
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}"
329
42
  end
330
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."
331
46
  end
332
47
 
333
48
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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 place that API users can report issues. Example:
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
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-metastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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-04-20 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a