google-cloud-metastore-v1beta 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44b640d566424394c618e699b89bd5a59a7ad876d72502761c7e87eecd468e1f
4
- data.tar.gz: d0c06f1cca3f489cac7766102fad5465376100b5676cdab32d927fc61b435f6c
3
+ metadata.gz: 3c112fd7a4662c8b7ef176f0dc799667a836497a5fd54ca1fe3a12d0f672c2ff
4
+ data.tar.gz: abb5901dad9afd4261a7cd9e30dc057306b835ebc5afa4c16ea4ef8d8226d275
5
5
  SHA512:
6
- metadata.gz: e7766319ed2bbbe5e12c5874129d75bd11045e48aa55876e9ca7705551c489414ddcd65ad984431c54587551ee7d29ede0329458da2c597848b7bd3b06fec48a
7
- data.tar.gz: d80127bc30e3d3eda2d8df5447b078c6f8b93e5d61c8085812ae996f491f0f209687ae2a7d8a58bf5c3798e2028bd943156bcdf095c6ebc2077d22164c3288bf
6
+ metadata.gz: 47708800194a44571565d630a1f0bd685237711410ebe2eee4f95a25aea1df08b2870ec8c5a62ac99b766b4091a286d12f6116b2412382ee05c7f424ec5c7619
7
+ data.tar.gz: 448467525f2ee1928a53ca6d977f9f945a5f9e949098aee0b228dd36f739a883c0a299ea3c98432bb5d47dee73ce758ecbb103e6ebb1695ffac182cce8943c26
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Dataproc Metastore V1beta API
2
+ --title="Dataproc Metastore V1beta API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Metastore::V1beta::ListServicesRequest.new # (request
37
37
  response = client.list_services request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-metastore-v1beta/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1beta/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/dataproc-metastore/)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -174,6 +174,7 @@ module Google
174
174
 
175
175
  @operations_client = Operations.new do |config|
176
176
  config.credentials = credentials
177
+ config.quota_project = @quota_project_id
177
178
  config.endpoint = @config.endpoint
178
179
  end
179
180
 
@@ -248,6 +249,27 @@ module Google
248
249
  #
249
250
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
250
251
  #
252
+ # @example Basic example
253
+ # require "google/cloud/metastore/v1beta"
254
+ #
255
+ # # Create a client object. The client can be reused for multiple calls.
256
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
257
+ #
258
+ # # Create a request. To set request fields, pass in keyword arguments.
259
+ # request = Google::Cloud::Metastore::V1beta::ListServicesRequest.new
260
+ #
261
+ # # Call the list_services method.
262
+ # result = client.list_services request
263
+ #
264
+ # # The returned object is of type Gapic::PagedEnumerable. You can
265
+ # # iterate over all elements by calling #each, and the enumerable
266
+ # # will lazily make API calls to fetch subsequent pages. Other
267
+ # # methods are also available for managing paging directly.
268
+ # result.each do |response|
269
+ # # Each element is of type ::Google::Cloud::Metastore::V1beta::Service.
270
+ # p response
271
+ # end
272
+ #
251
273
  def list_services request, options = nil
252
274
  raise ::ArgumentError, "request must be provided" if request.nil?
253
275
 
@@ -265,9 +287,11 @@ module Google
265
287
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
266
288
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
267
289
 
268
- header_params = {
269
- "parent" => request.parent
270
- }
290
+ header_params = {}
291
+ if request.parent
292
+ header_params["parent"] = request.parent
293
+ end
294
+
271
295
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
272
296
  metadata[:"x-goog-request-params"] ||= request_params_header
273
297
 
@@ -320,6 +344,21 @@ module Google
320
344
  #
321
345
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
322
346
  #
347
+ # @example Basic example
348
+ # require "google/cloud/metastore/v1beta"
349
+ #
350
+ # # Create a client object. The client can be reused for multiple calls.
351
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
352
+ #
353
+ # # Create a request. To set request fields, pass in keyword arguments.
354
+ # request = Google::Cloud::Metastore::V1beta::GetServiceRequest.new
355
+ #
356
+ # # Call the get_service method.
357
+ # result = client.get_service request
358
+ #
359
+ # # The returned object is of type Google::Cloud::Metastore::V1beta::Service.
360
+ # p result
361
+ #
323
362
  def get_service request, options = nil
324
363
  raise ::ArgumentError, "request must be provided" if request.nil?
325
364
 
@@ -337,9 +376,11 @@ module Google
337
376
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
338
377
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
378
 
340
- header_params = {
341
- "name" => request.name
342
- }
379
+ header_params = {}
380
+ if request.name
381
+ header_params["name"] = request.name
382
+ end
383
+
343
384
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
344
385
  metadata[:"x-goog-request-params"] ||= request_params_header
345
386
 
@@ -415,6 +456,28 @@ module Google
415
456
  #
416
457
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
417
458
  #
459
+ # @example Basic example
460
+ # require "google/cloud/metastore/v1beta"
461
+ #
462
+ # # Create a client object. The client can be reused for multiple calls.
463
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
464
+ #
465
+ # # Create a request. To set request fields, pass in keyword arguments.
466
+ # request = Google::Cloud::Metastore::V1beta::CreateServiceRequest.new
467
+ #
468
+ # # Call the create_service method.
469
+ # result = client.create_service request
470
+ #
471
+ # # The returned object is of type Gapic::Operation. You can use this
472
+ # # object to check the status of an operation, cancel it, or wait
473
+ # # for results. Here is how to block until completion:
474
+ # result.wait_until_done! timeout: 60
475
+ # if result.response?
476
+ # p result.response
477
+ # else
478
+ # puts "Error!"
479
+ # end
480
+ #
418
481
  def create_service request, options = nil
419
482
  raise ::ArgumentError, "request must be provided" if request.nil?
420
483
 
@@ -432,9 +495,11 @@ module Google
432
495
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
433
496
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
434
497
 
435
- header_params = {
436
- "parent" => request.parent
437
- }
498
+ header_params = {}
499
+ if request.parent
500
+ header_params["parent"] = request.parent
501
+ end
502
+
438
503
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
439
504
  metadata[:"x-goog-request-params"] ||= request_params_header
440
505
 
@@ -506,6 +571,28 @@ module Google
506
571
  #
507
572
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
508
573
  #
574
+ # @example Basic example
575
+ # require "google/cloud/metastore/v1beta"
576
+ #
577
+ # # Create a client object. The client can be reused for multiple calls.
578
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
579
+ #
580
+ # # Create a request. To set request fields, pass in keyword arguments.
581
+ # request = Google::Cloud::Metastore::V1beta::UpdateServiceRequest.new
582
+ #
583
+ # # Call the update_service method.
584
+ # result = client.update_service request
585
+ #
586
+ # # The returned object is of type Gapic::Operation. You can use this
587
+ # # object to check the status of an operation, cancel it, or wait
588
+ # # for results. Here is how to block until completion:
589
+ # result.wait_until_done! timeout: 60
590
+ # if result.response?
591
+ # p result.response
592
+ # else
593
+ # puts "Error!"
594
+ # end
595
+ #
509
596
  def update_service request, options = nil
510
597
  raise ::ArgumentError, "request must be provided" if request.nil?
511
598
 
@@ -523,9 +610,11 @@ module Google
523
610
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
524
611
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
525
612
 
526
- header_params = {
527
- "service.name" => request.service.name
528
- }
613
+ header_params = {}
614
+ if request.service&.name
615
+ header_params["service.name"] = request.service.name
616
+ end
617
+
529
618
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
530
619
  metadata[:"x-goog-request-params"] ||= request_params_header
531
620
 
@@ -591,6 +680,28 @@ module Google
591
680
  #
592
681
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
593
682
  #
683
+ # @example Basic example
684
+ # require "google/cloud/metastore/v1beta"
685
+ #
686
+ # # Create a client object. The client can be reused for multiple calls.
687
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
688
+ #
689
+ # # Create a request. To set request fields, pass in keyword arguments.
690
+ # request = Google::Cloud::Metastore::V1beta::DeleteServiceRequest.new
691
+ #
692
+ # # Call the delete_service method.
693
+ # result = client.delete_service request
694
+ #
695
+ # # The returned object is of type Gapic::Operation. You can use this
696
+ # # object to check the status of an operation, cancel it, or wait
697
+ # # for results. Here is how to block until completion:
698
+ # result.wait_until_done! timeout: 60
699
+ # if result.response?
700
+ # p result.response
701
+ # else
702
+ # puts "Error!"
703
+ # end
704
+ #
594
705
  def delete_service request, options = nil
595
706
  raise ::ArgumentError, "request must be provided" if request.nil?
596
707
 
@@ -608,9 +719,11 @@ module Google
608
719
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
609
720
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
610
721
 
611
- header_params = {
612
- "name" => request.name
613
- }
722
+ header_params = {}
723
+ if request.name
724
+ header_params["name"] = request.name
725
+ end
726
+
614
727
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
615
728
  metadata[:"x-goog-request-params"] ||= request_params_header
616
729
 
@@ -683,6 +796,27 @@ module Google
683
796
  #
684
797
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
685
798
  #
799
+ # @example Basic example
800
+ # require "google/cloud/metastore/v1beta"
801
+ #
802
+ # # Create a client object. The client can be reused for multiple calls.
803
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
804
+ #
805
+ # # Create a request. To set request fields, pass in keyword arguments.
806
+ # request = Google::Cloud::Metastore::V1beta::ListMetadataImportsRequest.new
807
+ #
808
+ # # Call the list_metadata_imports method.
809
+ # result = client.list_metadata_imports request
810
+ #
811
+ # # The returned object is of type Gapic::PagedEnumerable. You can
812
+ # # iterate over all elements by calling #each, and the enumerable
813
+ # # will lazily make API calls to fetch subsequent pages. Other
814
+ # # methods are also available for managing paging directly.
815
+ # result.each do |response|
816
+ # # Each element is of type ::Google::Cloud::Metastore::V1beta::MetadataImport.
817
+ # p response
818
+ # end
819
+ #
686
820
  def list_metadata_imports request, options = nil
687
821
  raise ::ArgumentError, "request must be provided" if request.nil?
688
822
 
@@ -700,9 +834,11 @@ module Google
700
834
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
701
835
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
702
836
 
703
- header_params = {
704
- "parent" => request.parent
705
- }
837
+ header_params = {}
838
+ if request.parent
839
+ header_params["parent"] = request.parent
840
+ end
841
+
706
842
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
707
843
  metadata[:"x-goog-request-params"] ||= request_params_header
708
844
 
@@ -755,6 +891,21 @@ module Google
755
891
  #
756
892
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
757
893
  #
894
+ # @example Basic example
895
+ # require "google/cloud/metastore/v1beta"
896
+ #
897
+ # # Create a client object. The client can be reused for multiple calls.
898
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
899
+ #
900
+ # # Create a request. To set request fields, pass in keyword arguments.
901
+ # request = Google::Cloud::Metastore::V1beta::GetMetadataImportRequest.new
902
+ #
903
+ # # Call the get_metadata_import method.
904
+ # result = client.get_metadata_import request
905
+ #
906
+ # # The returned object is of type Google::Cloud::Metastore::V1beta::MetadataImport.
907
+ # p result
908
+ #
758
909
  def get_metadata_import request, options = nil
759
910
  raise ::ArgumentError, "request must be provided" if request.nil?
760
911
 
@@ -772,9 +923,11 @@ module Google
772
923
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
773
924
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
774
925
 
775
- header_params = {
776
- "name" => request.name
777
- }
926
+ header_params = {}
927
+ if request.name
928
+ header_params["name"] = request.name
929
+ end
930
+
778
931
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
779
932
  metadata[:"x-goog-request-params"] ||= request_params_header
780
933
 
@@ -850,6 +1003,28 @@ module Google
850
1003
  #
851
1004
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
852
1005
  #
1006
+ # @example Basic example
1007
+ # require "google/cloud/metastore/v1beta"
1008
+ #
1009
+ # # Create a client object. The client can be reused for multiple calls.
1010
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1011
+ #
1012
+ # # Create a request. To set request fields, pass in keyword arguments.
1013
+ # request = Google::Cloud::Metastore::V1beta::CreateMetadataImportRequest.new
1014
+ #
1015
+ # # Call the create_metadata_import method.
1016
+ # result = client.create_metadata_import request
1017
+ #
1018
+ # # The returned object is of type Gapic::Operation. You can use this
1019
+ # # object to check the status of an operation, cancel it, or wait
1020
+ # # for results. Here is how to block until completion:
1021
+ # result.wait_until_done! timeout: 60
1022
+ # if result.response?
1023
+ # p result.response
1024
+ # else
1025
+ # puts "Error!"
1026
+ # end
1027
+ #
853
1028
  def create_metadata_import request, options = nil
854
1029
  raise ::ArgumentError, "request must be provided" if request.nil?
855
1030
 
@@ -867,9 +1042,11 @@ module Google
867
1042
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
868
1043
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
869
1044
 
870
- header_params = {
871
- "parent" => request.parent
872
- }
1045
+ header_params = {}
1046
+ if request.parent
1047
+ header_params["parent"] = request.parent
1048
+ end
1049
+
873
1050
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
874
1051
  metadata[:"x-goog-request-params"] ||= request_params_header
875
1052
 
@@ -942,6 +1119,28 @@ module Google
942
1119
  #
943
1120
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
944
1121
  #
1122
+ # @example Basic example
1123
+ # require "google/cloud/metastore/v1beta"
1124
+ #
1125
+ # # Create a client object. The client can be reused for multiple calls.
1126
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1127
+ #
1128
+ # # Create a request. To set request fields, pass in keyword arguments.
1129
+ # request = Google::Cloud::Metastore::V1beta::UpdateMetadataImportRequest.new
1130
+ #
1131
+ # # Call the update_metadata_import method.
1132
+ # result = client.update_metadata_import request
1133
+ #
1134
+ # # The returned object is of type Gapic::Operation. You can use this
1135
+ # # object to check the status of an operation, cancel it, or wait
1136
+ # # for results. Here is how to block until completion:
1137
+ # result.wait_until_done! timeout: 60
1138
+ # if result.response?
1139
+ # p result.response
1140
+ # else
1141
+ # puts "Error!"
1142
+ # end
1143
+ #
945
1144
  def update_metadata_import request, options = nil
946
1145
  raise ::ArgumentError, "request must be provided" if request.nil?
947
1146
 
@@ -959,9 +1158,11 @@ module Google
959
1158
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
960
1159
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
961
1160
 
962
- header_params = {
963
- "metadata_import.name" => request.metadata_import.name
964
- }
1161
+ header_params = {}
1162
+ if request.metadata_import&.name
1163
+ header_params["metadata_import.name"] = request.metadata_import.name
1164
+ end
1165
+
965
1166
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
966
1167
  metadata[:"x-goog-request-params"] ||= request_params_header
967
1168
 
@@ -1034,6 +1235,28 @@ module Google
1034
1235
  #
1035
1236
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1036
1237
  #
1238
+ # @example Basic example
1239
+ # require "google/cloud/metastore/v1beta"
1240
+ #
1241
+ # # Create a client object. The client can be reused for multiple calls.
1242
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1243
+ #
1244
+ # # Create a request. To set request fields, pass in keyword arguments.
1245
+ # request = Google::Cloud::Metastore::V1beta::ExportMetadataRequest.new
1246
+ #
1247
+ # # Call the export_metadata method.
1248
+ # result = client.export_metadata request
1249
+ #
1250
+ # # The returned object is of type Gapic::Operation. You can use this
1251
+ # # object to check the status of an operation, cancel it, or wait
1252
+ # # for results. Here is how to block until completion:
1253
+ # result.wait_until_done! timeout: 60
1254
+ # if result.response?
1255
+ # p result.response
1256
+ # else
1257
+ # puts "Error!"
1258
+ # end
1259
+ #
1037
1260
  def export_metadata request, options = nil
1038
1261
  raise ::ArgumentError, "request must be provided" if request.nil?
1039
1262
 
@@ -1051,9 +1274,11 @@ module Google
1051
1274
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1052
1275
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1053
1276
 
1054
- header_params = {
1055
- "service" => request.service
1056
- }
1277
+ header_params = {}
1278
+ if request.service
1279
+ header_params["service"] = request.service
1280
+ end
1281
+
1057
1282
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1058
1283
  metadata[:"x-goog-request-params"] ||= request_params_header
1059
1284
 
@@ -1126,6 +1351,28 @@ module Google
1126
1351
  #
1127
1352
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1128
1353
  #
1354
+ # @example Basic example
1355
+ # require "google/cloud/metastore/v1beta"
1356
+ #
1357
+ # # Create a client object. The client can be reused for multiple calls.
1358
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1359
+ #
1360
+ # # Create a request. To set request fields, pass in keyword arguments.
1361
+ # request = Google::Cloud::Metastore::V1beta::RestoreServiceRequest.new
1362
+ #
1363
+ # # Call the restore_service method.
1364
+ # result = client.restore_service request
1365
+ #
1366
+ # # The returned object is of type Gapic::Operation. You can use this
1367
+ # # object to check the status of an operation, cancel it, or wait
1368
+ # # for results. Here is how to block until completion:
1369
+ # result.wait_until_done! timeout: 60
1370
+ # if result.response?
1371
+ # p result.response
1372
+ # else
1373
+ # puts "Error!"
1374
+ # end
1375
+ #
1129
1376
  def restore_service request, options = nil
1130
1377
  raise ::ArgumentError, "request must be provided" if request.nil?
1131
1378
 
@@ -1143,9 +1390,11 @@ module Google
1143
1390
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1144
1391
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1145
1392
 
1146
- header_params = {
1147
- "service" => request.service
1148
- }
1393
+ header_params = {}
1394
+ if request.service
1395
+ header_params["service"] = request.service
1396
+ end
1397
+
1149
1398
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1150
1399
  metadata[:"x-goog-request-params"] ||= request_params_header
1151
1400
 
@@ -1218,6 +1467,27 @@ module Google
1218
1467
  #
1219
1468
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1220
1469
  #
1470
+ # @example Basic example
1471
+ # require "google/cloud/metastore/v1beta"
1472
+ #
1473
+ # # Create a client object. The client can be reused for multiple calls.
1474
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1475
+ #
1476
+ # # Create a request. To set request fields, pass in keyword arguments.
1477
+ # request = Google::Cloud::Metastore::V1beta::ListBackupsRequest.new
1478
+ #
1479
+ # # Call the list_backups method.
1480
+ # result = client.list_backups request
1481
+ #
1482
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1483
+ # # iterate over all elements by calling #each, and the enumerable
1484
+ # # will lazily make API calls to fetch subsequent pages. Other
1485
+ # # methods are also available for managing paging directly.
1486
+ # result.each do |response|
1487
+ # # Each element is of type ::Google::Cloud::Metastore::V1beta::Backup.
1488
+ # p response
1489
+ # end
1490
+ #
1221
1491
  def list_backups request, options = nil
1222
1492
  raise ::ArgumentError, "request must be provided" if request.nil?
1223
1493
 
@@ -1235,9 +1505,11 @@ module Google
1235
1505
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1236
1506
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1237
1507
 
1238
- header_params = {
1239
- "parent" => request.parent
1240
- }
1508
+ header_params = {}
1509
+ if request.parent
1510
+ header_params["parent"] = request.parent
1511
+ end
1512
+
1241
1513
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1242
1514
  metadata[:"x-goog-request-params"] ||= request_params_header
1243
1515
 
@@ -1290,6 +1562,21 @@ module Google
1290
1562
  #
1291
1563
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1292
1564
  #
1565
+ # @example Basic example
1566
+ # require "google/cloud/metastore/v1beta"
1567
+ #
1568
+ # # Create a client object. The client can be reused for multiple calls.
1569
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1570
+ #
1571
+ # # Create a request. To set request fields, pass in keyword arguments.
1572
+ # request = Google::Cloud::Metastore::V1beta::GetBackupRequest.new
1573
+ #
1574
+ # # Call the get_backup method.
1575
+ # result = client.get_backup request
1576
+ #
1577
+ # # The returned object is of type Google::Cloud::Metastore::V1beta::Backup.
1578
+ # p result
1579
+ #
1293
1580
  def get_backup request, options = nil
1294
1581
  raise ::ArgumentError, "request must be provided" if request.nil?
1295
1582
 
@@ -1307,9 +1594,11 @@ module Google
1307
1594
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1308
1595
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1309
1596
 
1310
- header_params = {
1311
- "name" => request.name
1312
- }
1597
+ header_params = {}
1598
+ if request.name
1599
+ header_params["name"] = request.name
1600
+ end
1601
+
1313
1602
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1314
1603
  metadata[:"x-goog-request-params"] ||= request_params_header
1315
1604
 
@@ -1384,6 +1673,28 @@ module Google
1384
1673
  #
1385
1674
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1386
1675
  #
1676
+ # @example Basic example
1677
+ # require "google/cloud/metastore/v1beta"
1678
+ #
1679
+ # # Create a client object. The client can be reused for multiple calls.
1680
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1681
+ #
1682
+ # # Create a request. To set request fields, pass in keyword arguments.
1683
+ # request = Google::Cloud::Metastore::V1beta::CreateBackupRequest.new
1684
+ #
1685
+ # # Call the create_backup method.
1686
+ # result = client.create_backup request
1687
+ #
1688
+ # # The returned object is of type Gapic::Operation. You can use this
1689
+ # # object to check the status of an operation, cancel it, or wait
1690
+ # # for results. Here is how to block until completion:
1691
+ # result.wait_until_done! timeout: 60
1692
+ # if result.response?
1693
+ # p result.response
1694
+ # else
1695
+ # puts "Error!"
1696
+ # end
1697
+ #
1387
1698
  def create_backup request, options = nil
1388
1699
  raise ::ArgumentError, "request must be provided" if request.nil?
1389
1700
 
@@ -1401,9 +1712,11 @@ module Google
1401
1712
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1402
1713
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1403
1714
 
1404
- header_params = {
1405
- "parent" => request.parent
1406
- }
1715
+ header_params = {}
1716
+ if request.parent
1717
+ header_params["parent"] = request.parent
1718
+ end
1719
+
1407
1720
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1408
1721
  metadata[:"x-goog-request-params"] ||= request_params_header
1409
1722
 
@@ -1469,6 +1782,28 @@ module Google
1469
1782
  #
1470
1783
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1471
1784
  #
1785
+ # @example Basic example
1786
+ # require "google/cloud/metastore/v1beta"
1787
+ #
1788
+ # # Create a client object. The client can be reused for multiple calls.
1789
+ # client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
1790
+ #
1791
+ # # Create a request. To set request fields, pass in keyword arguments.
1792
+ # request = Google::Cloud::Metastore::V1beta::DeleteBackupRequest.new
1793
+ #
1794
+ # # Call the delete_backup method.
1795
+ # result = client.delete_backup request
1796
+ #
1797
+ # # The returned object is of type Gapic::Operation. You can use this
1798
+ # # object to check the status of an operation, cancel it, or wait
1799
+ # # for results. Here is how to block until completion:
1800
+ # result.wait_until_done! timeout: 60
1801
+ # if result.response?
1802
+ # p result.response
1803
+ # else
1804
+ # puts "Error!"
1805
+ # end
1806
+ #
1472
1807
  def delete_backup request, options = nil
1473
1808
  raise ::ArgumentError, "request must be provided" if request.nil?
1474
1809
 
@@ -1486,9 +1821,11 @@ module Google
1486
1821
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
1487
1822
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1488
1823
 
1489
- header_params = {
1490
- "name" => request.name
1491
- }
1824
+ header_params = {}
1825
+ if request.name
1826
+ header_params["name"] = request.name
1827
+ end
1828
+
1492
1829
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1493
1830
  metadata[:"x-goog-request-params"] ||= request_params_header
1494
1831
 
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -143,6 +146,27 @@ module Google
143
146
  #
144
147
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
145
148
  #
149
+ # @example Basic example
150
+ # require "google/longrunning"
151
+ #
152
+ # # Create a client object. The client can be reused for multiple calls.
153
+ # client = Google::Longrunning::Operations::Client.new
154
+ #
155
+ # # Create a request. To set request fields, pass in keyword arguments.
156
+ # request = Google::Longrunning::ListOperationsRequest.new
157
+ #
158
+ # # Call the list_operations method.
159
+ # result = client.list_operations request
160
+ #
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can
162
+ # # iterate over all elements by calling #each, and the enumerable
163
+ # # will lazily make API calls to fetch subsequent pages. Other
164
+ # # methods are also available for managing paging directly.
165
+ # result.each do |response|
166
+ # # Each element is of type ::Google::Longrunning::Operation.
167
+ # p response
168
+ # end
169
+ #
146
170
  def list_operations request, options = nil
147
171
  raise ::ArgumentError, "request must be provided" if request.nil?
148
172
 
@@ -160,9 +184,11 @@ module Google
160
184
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
161
185
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
162
186
 
163
- header_params = {
164
- "name" => request.name
165
- }
187
+ header_params = {}
188
+ if request.name
189
+ header_params["name"] = request.name
190
+ end
191
+
166
192
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
167
193
  metadata[:"x-goog-request-params"] ||= request_params_header
168
194
 
@@ -215,6 +241,28 @@ module Google
215
241
  #
216
242
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
217
243
  #
244
+ # @example Basic example
245
+ # require "google/longrunning"
246
+ #
247
+ # # Create a client object. The client can be reused for multiple calls.
248
+ # client = Google::Longrunning::Operations::Client.new
249
+ #
250
+ # # Create a request. To set request fields, pass in keyword arguments.
251
+ # request = Google::Longrunning::GetOperationRequest.new
252
+ #
253
+ # # Call the get_operation method.
254
+ # result = client.get_operation request
255
+ #
256
+ # # The returned object is of type Gapic::Operation. You can use this
257
+ # # object to check the status of an operation, cancel it, or wait
258
+ # # for results. Here is how to block until completion:
259
+ # result.wait_until_done! timeout: 60
260
+ # if result.response?
261
+ # p result.response
262
+ # else
263
+ # puts "Error!"
264
+ # end
265
+ #
218
266
  def get_operation request, options = nil
219
267
  raise ::ArgumentError, "request must be provided" if request.nil?
220
268
 
@@ -232,9 +280,11 @@ module Google
232
280
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
233
281
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
234
282
 
235
- header_params = {
236
- "name" => request.name
237
- }
283
+ header_params = {}
284
+ if request.name
285
+ header_params["name"] = request.name
286
+ end
287
+
238
288
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
239
289
  metadata[:"x-goog-request-params"] ||= request_params_header
240
290
 
@@ -287,6 +337,21 @@ module Google
287
337
  #
288
338
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
289
339
  #
340
+ # @example Basic example
341
+ # require "google/longrunning"
342
+ #
343
+ # # Create a client object. The client can be reused for multiple calls.
344
+ # client = Google::Longrunning::Operations::Client.new
345
+ #
346
+ # # Create a request. To set request fields, pass in keyword arguments.
347
+ # request = Google::Longrunning::DeleteOperationRequest.new
348
+ #
349
+ # # Call the delete_operation method.
350
+ # result = client.delete_operation request
351
+ #
352
+ # # The returned object is of type Google::Protobuf::Empty.
353
+ # p result
354
+ #
290
355
  def delete_operation request, options = nil
291
356
  raise ::ArgumentError, "request must be provided" if request.nil?
292
357
 
@@ -304,9 +369,11 @@ module Google
304
369
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
305
370
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
371
 
307
- header_params = {
308
- "name" => request.name
309
- }
372
+ header_params = {}
373
+ if request.name
374
+ header_params["name"] = request.name
375
+ end
376
+
310
377
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
311
378
  metadata[:"x-goog-request-params"] ||= request_params_header
312
379
 
@@ -364,6 +431,21 @@ module Google
364
431
  #
365
432
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
366
433
  #
434
+ # @example Basic example
435
+ # require "google/longrunning"
436
+ #
437
+ # # Create a client object. The client can be reused for multiple calls.
438
+ # client = Google::Longrunning::Operations::Client.new
439
+ #
440
+ # # Create a request. To set request fields, pass in keyword arguments.
441
+ # request = Google::Longrunning::CancelOperationRequest.new
442
+ #
443
+ # # Call the cancel_operation method.
444
+ # result = client.cancel_operation request
445
+ #
446
+ # # The returned object is of type Google::Protobuf::Empty.
447
+ # p result
448
+ #
367
449
  def cancel_operation request, options = nil
368
450
  raise ::ArgumentError, "request must be provided" if request.nil?
369
451
 
@@ -381,9 +463,11 @@ module Google
381
463
  gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
382
464
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
383
465
 
384
- header_params = {
385
- "name" => request.name
386
- }
466
+ header_params = {}
467
+ if request.name
468
+ header_params["name"] = request.name
469
+ end
470
+
387
471
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
388
472
  metadata[:"x-goog-request-params"] ||= request_params_header
389
473
 
@@ -444,6 +528,28 @@ module Google
444
528
  #
445
529
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
446
530
  #
531
+ # @example Basic example
532
+ # require "google/longrunning"
533
+ #
534
+ # # Create a client object. The client can be reused for multiple calls.
535
+ # client = Google::Longrunning::Operations::Client.new
536
+ #
537
+ # # Create a request. To set request fields, pass in keyword arguments.
538
+ # request = Google::Longrunning::WaitOperationRequest.new
539
+ #
540
+ # # Call the wait_operation method.
541
+ # result = client.wait_operation request
542
+ #
543
+ # # The returned object is of type Gapic::Operation. You can use this
544
+ # # object to check the status of an operation, cancel it, or wait
545
+ # # for results. Here is how to block until completion:
546
+ # result.wait_until_done! timeout: 60
547
+ # if result.response?
548
+ # p result.response
549
+ # else
550
+ # puts "Error!"
551
+ # end
552
+ #
447
553
  def wait_operation request, options = nil
448
554
  raise ::ArgumentError, "request must be provided" if request.nil?
449
555
 
@@ -12,6 +12,7 @@ require 'google/protobuf/field_mask_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
  require 'google/protobuf/wrappers_pb'
14
14
  require 'google/type/dayofweek_pb'
15
+
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/metastore/v1beta/metastore.proto", :syntax => :proto3) do
17
18
  add_message "google.cloud.metastore.v1beta.Service" do
@@ -43,7 +43,7 @@ module Google
43
43
  # `/projects/{project_number}/locations/{location_id}/services/{service_id}`.
44
44
  class Service
45
45
 
46
- include GRPC::GenericService
46
+ include ::GRPC::GenericService
47
47
 
48
48
  self.marshal_class_method = :encode
49
49
  self.unmarshal_class_method = :decode
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1beta
24
- VERSION = "0.1.3"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -25,6 +25,8 @@ module Google
25
25
  ##
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
+ # @example
29
+ #
28
30
  # require "google/cloud/metastore/v1beta"
29
31
  # client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
30
32
  #
@@ -33,11 +33,7 @@ module Google
33
33
  # // For Kubernetes resources, the format is {api group}/{kind}.
34
34
  # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: {
37
- # pattern: "projects/{project}/topics/{topic}"
38
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/{project}"
40
- # }
36
+ # pattern: "projects/{project}/topics/{topic}"
41
37
  # };
42
38
  # }
43
39
  #
@@ -45,10 +41,7 @@ module Google
45
41
  #
46
42
  # resources:
47
43
  # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/{project}/topics/{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/{project}"
44
+ # pattern: "projects/{project}/topics/{topic}"
52
45
  #
53
46
  # Sometimes, resources have multiple patterns, typically because they can
54
47
  # live under multiple parents.
@@ -58,26 +51,10 @@ module Google
58
51
  # message LogEntry {
59
52
  # option (google.api.resource) = {
60
53
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
65
- # }
66
- # name_descriptor: {
67
- # pattern: "folders/{folder}/logs/{log}"
68
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/{folder}"
70
- # }
71
- # name_descriptor: {
72
- # pattern: "organizations/{organization}/logs/{log}"
73
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/{organization}"
75
- # }
76
- # name_descriptor: {
77
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
- # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/{billing_account}"
80
- # }
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
81
58
  # };
82
59
  # }
83
60
  #
@@ -85,48 +62,10 @@ module Google
85
62
  #
86
63
  # resources:
87
64
  # - type: 'logging.googleapis.com/LogEntry'
88
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
92
- # - pattern: "folders/{folder}/logs/{log}"
93
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/{folder}"
95
- # - pattern: "organizations/{organization}/logs/{log}"
96
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/{organization}"
98
- # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
- # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/{billing_account}"
101
- #
102
- # For flexible resources, the resource name doesn't contain parent names, but
103
- # the resource itself has parents for policy evaluation.
104
- #
105
- # Example:
106
- #
107
- # message Shelf {
108
- # option (google.api.resource) = {
109
- # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: {
111
- # pattern: "shelves/{shelf}"
112
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # }
114
- # name_descriptor: {
115
- # pattern: "shelves/{shelf}"
116
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # }
118
- # };
119
- # }
120
- #
121
- # The ResourceDescriptor Yaml config will look like:
122
- #
123
- # resources:
124
- # - type: 'library.googleapis.com/Shelf'
125
- # name_descriptor:
126
- # - pattern: "shelves/{shelf}"
127
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/{shelf}"
129
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
130
69
  # @!attribute [rw] type
131
70
  # @return [::String]
132
71
  # The resource type. It must be in the format of
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
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.1.3
4
+ version: 0.2.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: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2022-07-05 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.7'
19
+ version: '0.10'
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.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -207,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: '2.5'
210
+ version: '2.6'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.2.17
217
+ rubygems_version: 3.3.14
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: API Client library for the Dataproc Metastore V1beta API