google-cloud-metastore-v1beta 0.7.0 → 0.8.1

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: f504c1e3841943ba9a899cc26df135126f8fb2464e0aed7320715872273d8560
4
- data.tar.gz: 5193786c84e54734b3363650f1ec58e9092c387c7475fad6a452c0458e1efcea
3
+ metadata.gz: 4d2710820cb10198c58847d071120ba3b31db1455ad392f1ad158aaeb0457a56
4
+ data.tar.gz: b2292bd7fd75ce0e261cbcec7be6eb9db127ed5d138baa1f920576831b9f1be3
5
5
  SHA512:
6
- metadata.gz: 3074c18f5204d0b32efcc7e2e9b48ea1a710c49afd258ada6254b7348f2c6d4c68886a0721cf8ded224e949bc7479d90eccdbcef3b12ef4aa97d3f39d24139e2
7
- data.tar.gz: 1184d41ad0ee763c61e379a5a8c5a15825781767450b4bb28b2fa018aa60c39010aa4ab8db5fe27bafc37b34b015cbcedef5b3eb7078b133ab367e8cd6ccaa63
6
+ metadata.gz: 87fff60eedad40df4b74ca120a4b1ff495cefd7697162cb833416d01f315d590d20ea5af67b8317e3ba2dd683fcbabfc0c400bec9f1d3cce8d1ea8ece713591f
7
+ data.tar.gz: 7c1f30a9bea8cbda0fadce3207047aea6868a5da78f894d4f80a37f356757bd0b033d1c15852c76937a5375038825992b1862a48e5b520ae56feb43b62e35676
@@ -164,7 +164,7 @@ module Google
164
164
  credentials = @config.credentials
165
165
  # Use self-signed JWT if the endpoint is unchanged from default,
166
166
  # but only if the default endpoint does not have a region prefix.
167
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
167
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
168
168
  !@config.endpoint.split(".").first.include?("-")
169
169
  credentials ||= Credentials.default scope: @config.scope,
170
170
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -2353,7 +2353,9 @@ module Google
2353
2353
  class Configuration
2354
2354
  extend ::Gapic::Config
2355
2355
 
2356
- config_attr :endpoint, "metastore.googleapis.com", ::String
2356
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
2357
+
2358
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2357
2359
  config_attr :credentials, nil do |value|
2358
2360
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2359
2361
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "metastore.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -160,7 +160,7 @@ module Google
160
160
  credentials = @config.credentials
161
161
  # Use self-signed JWT if the endpoint is unchanged from default,
162
162
  # but only if the default endpoint does not have a region prefix.
163
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
163
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
164
164
  !@config.endpoint.split(".").first.include?("-")
165
165
  credentials ||= Credentials.default scope: @config.scope,
166
166
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1801,7 +1801,9 @@ module Google
1801
1801
  class Configuration
1802
1802
  extend ::Gapic::Config
1803
1803
 
1804
- config_attr :endpoint, "metastore.googleapis.com", ::String
1804
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
1805
+
1806
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1805
1807
  config_attr :credentials, nil do |value|
1806
1808
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1807
1809
  allowed.any? { |klass| klass === value }
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "metastore.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_services_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_service_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_service_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_service_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_service_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_list_metadata_imports_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_get_metadata_import_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_create_metadata_import_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_update_metadata_import_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end
@@ -401,7 +401,7 @@ module Google
401
401
 
402
402
  verb, uri, query_string_params, body = ServiceStub.transcode_export_metadata_request request_pb
403
403
  query_string_params = if query_string_params.any?
404
- query_string_params.to_h { |p| p.split("=", 2) }
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
405
  else
406
406
  {}
407
407
  end
@@ -439,7 +439,7 @@ module Google
439
439
 
440
440
  verb, uri, query_string_params, body = ServiceStub.transcode_restore_service_request request_pb
441
441
  query_string_params = if query_string_params.any?
442
- query_string_params.to_h { |p| p.split("=", 2) }
442
+ query_string_params.to_h { |p| p.split "=", 2 }
443
443
  else
444
444
  {}
445
445
  end
@@ -477,7 +477,7 @@ module Google
477
477
 
478
478
  verb, uri, query_string_params, body = ServiceStub.transcode_list_backups_request request_pb
479
479
  query_string_params = if query_string_params.any?
480
- query_string_params.to_h { |p| p.split("=", 2) }
480
+ query_string_params.to_h { |p| p.split "=", 2 }
481
481
  else
482
482
  {}
483
483
  end
@@ -515,7 +515,7 @@ module Google
515
515
 
516
516
  verb, uri, query_string_params, body = ServiceStub.transcode_get_backup_request request_pb
517
517
  query_string_params = if query_string_params.any?
518
- query_string_params.to_h { |p| p.split("=", 2) }
518
+ query_string_params.to_h { |p| p.split "=", 2 }
519
519
  else
520
520
  {}
521
521
  end
@@ -553,7 +553,7 @@ module Google
553
553
 
554
554
  verb, uri, query_string_params, body = ServiceStub.transcode_create_backup_request request_pb
555
555
  query_string_params = if query_string_params.any?
556
- query_string_params.to_h { |p| p.split("=", 2) }
556
+ query_string_params.to_h { |p| p.split "=", 2 }
557
557
  else
558
558
  {}
559
559
  end
@@ -591,7 +591,7 @@ module Google
591
591
 
592
592
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_backup_request request_pb
593
593
  query_string_params = if query_string_params.any?
594
- query_string_params.to_h { |p| p.split("=", 2) }
594
+ query_string_params.to_h { |p| p.split "=", 2 }
595
595
  else
596
596
  {}
597
597
  end
@@ -629,7 +629,7 @@ module Google
629
629
 
630
630
  verb, uri, query_string_params, body = ServiceStub.transcode_remove_iam_policy_request request_pb
631
631
  query_string_params = if query_string_params.any?
632
- query_string_params.to_h { |p| p.split("=", 2) }
632
+ query_string_params.to_h { |p| p.split "=", 2 }
633
633
  else
634
634
  {}
635
635
  end
@@ -667,7 +667,7 @@ module Google
667
667
 
668
668
  verb, uri, query_string_params, body = ServiceStub.transcode_query_metadata_request request_pb
669
669
  query_string_params = if query_string_params.any?
670
- query_string_params.to_h { |p| p.split("=", 2) }
670
+ query_string_params.to_h { |p| p.split "=", 2 }
671
671
  else
672
672
  {}
673
673
  end
@@ -705,7 +705,7 @@ module Google
705
705
 
706
706
  verb, uri, query_string_params, body = ServiceStub.transcode_move_table_to_database_request request_pb
707
707
  query_string_params = if query_string_params.any?
708
- query_string_params.to_h { |p| p.split("=", 2) }
708
+ query_string_params.to_h { |p| p.split "=", 2 }
709
709
  else
710
710
  {}
711
711
  end
@@ -743,7 +743,7 @@ module Google
743
743
 
744
744
  verb, uri, query_string_params, body = ServiceStub.transcode_alter_metadata_resource_location_request request_pb
745
745
  query_string_params = if query_string_params.any?
746
- query_string_params.to_h { |p| p.split("=", 2) }
746
+ query_string_params.to_h { |p| p.split "=", 2 }
747
747
  else
748
748
  {}
749
749
  end
@@ -137,7 +137,7 @@ module Google
137
137
  credentials = @config.credentials
138
138
  # Use self-signed JWT if the endpoint is unchanged from default,
139
139
  # but only if the default endpoint does not have a region prefix.
140
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
140
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
141
141
  !@config.endpoint.split(".").first.include?("-")
142
142
  credentials ||= Credentials.default scope: @config.scope,
143
143
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -823,7 +823,9 @@ module Google
823
823
  class Configuration
824
824
  extend ::Gapic::Config
825
825
 
826
- config_attr :endpoint, "metastore.googleapis.com", ::String
826
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
827
+
828
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
827
829
  config_attr :credentials, nil do |value|
828
830
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
829
831
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "metastore.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -133,7 +133,7 @@ module Google
133
133
  credentials = @config.credentials
134
134
  # Use self-signed JWT if the endpoint is unchanged from default,
135
135
  # but only if the default endpoint does not have a region prefix.
136
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
136
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
137
137
  !@config.endpoint.split(".").first.include?("-")
138
138
  credentials ||= Credentials.default scope: @config.scope,
139
139
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -666,7 +666,9 @@ module Google
666
666
  class Configuration
667
667
  extend ::Gapic::Config
668
668
 
669
- config_attr :endpoint, "metastore.googleapis.com", ::String
669
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
670
+
671
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
670
672
  config_attr :credentials, nil do |value|
671
673
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
672
674
  allowed.any? { |klass| klass === value }
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "metastore.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "metastore.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_federations_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_federation_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_federation_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_federation_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_federation_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -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
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/metastore/v1beta/metastore_federation.proto", :syntax => :proto3) do
18
- add_message "google.cloud.metastore.v1beta.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.v1beta.BackendMetastore"
25
- optional :endpoint_uri, :string, 7
26
- optional :state, :enum, 8, "google.cloud.metastore.v1beta.Federation.State"
27
- optional :state_message, :string, 9
28
- optional :uid, :string, 10
29
- end
30
- add_enum "google.cloud.metastore.v1beta.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.v1beta.BackendMetastore" do
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
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/metastore/v1beta/metastore.proto", :syntax => :proto3) do
19
- add_message "google.cloud.metastore.v1beta.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.v1beta.Service.State"
28
- optional :state_message, :string, 11
29
- optional :artifact_gcs_uri, :string, 12
30
- optional :tier, :enum, 13, "google.cloud.metastore.v1beta.Service.Tier"
31
- optional :metadata_integration, :message, 14, "google.cloud.metastore.v1beta.MetadataIntegration"
32
- optional :maintenance_window, :message, 15, "google.cloud.metastore.v1beta.MaintenanceWindow"
33
- optional :uid, :string, 16
34
- optional :metadata_management_activity, :message, 17, "google.cloud.metastore.v1beta.MetadataManagementActivity"
35
- optional :release_channel, :enum, 19, "google.cloud.metastore.v1beta.Service.ReleaseChannel"
36
- optional :encryption_config, :message, 20, "google.cloud.metastore.v1beta.EncryptionConfig"
37
- optional :network_config, :message, 21, "google.cloud.metastore.v1beta.NetworkConfig"
38
- optional :database_type, :enum, 22, "google.cloud.metastore.v1beta.Service.DatabaseType"
39
- optional :telemetry_config, :message, 23, "google.cloud.metastore.v1beta.TelemetryConfig"
40
- optional :scaling_config, :message, 24, "google.cloud.metastore.v1beta.ScalingConfig"
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1beta
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.1"
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-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.1
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-06-06 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.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a