google-cloud-gke_hub-v1 0.5.0 → 0.7.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: 68b640139c983d7fb3f82ae7a8d2167f75c0ad214d1ac8c605f6c196a252568f
4
- data.tar.gz: 8e2820da7d7998e2ea610da93ba8765869400374bfa58f9dd9132c70c6ff72bd
3
+ metadata.gz: 2f496eac5cd079ca4b5a79bfe07f9e41cafde8e4ba07b9763b8145c5f22ef51a
4
+ data.tar.gz: 32fdeb96b10989be7d0af95c7fec6fb4b55823b3cfdb09fa74dfa77c6b6d5da4
5
5
  SHA512:
6
- metadata.gz: a91172fa0e47681f0dba2caa871a261ba383f356ad540eec3f9c7f5ef19d4c49e3a8060a24ab7530214461190d9fbadf744fbec2951b55766fc350c707e58680
7
- data.tar.gz: 131589f7f062ed906c51d4d097c8eaa9cec11a9d0e0730c80efd395732225abb6af3aae0c2ea19fd33155faa4e2ef595437efa55651399295c020f819691f016
6
+ metadata.gz: 9896429a4d38c49dfff76d2b77d4bed1a367b76a576b351bf63faca8460f707eb077e634ff06b0569e103bc712e4898e3337567f82ffa80b1398e277dc003719
7
+ data.tar.gz: f08cbcdf3e2cb13ce7580c8dfedc274819be96201e76a9c08bafcc696e8f8fb757d4d141fceed69feda7ff08c4738c4ffea0f87ac16d6dd9a92ff1b8c3f5af96
@@ -144,7 +144,7 @@ module Google
144
144
  credentials = @config.credentials
145
145
  # Use self-signed JWT if the endpoint is unchanged from default,
146
146
  # but only if the default endpoint does not have a region prefix.
147
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
147
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
148
148
  !@config.endpoint.split(".").first.include?("-")
149
149
  credentials ||= Credentials.default scope: @config.scope,
150
150
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -165,7 +165,8 @@ module Google
165
165
  credentials: credentials,
166
166
  endpoint: @config.endpoint,
167
167
  channel_args: @config.channel_args,
168
- interceptors: @config.interceptors
168
+ interceptors: @config.interceptors,
169
+ channel_pool_config: @config.channel_pool
169
170
  )
170
171
  end
171
172
 
@@ -1490,7 +1491,9 @@ module Google
1490
1491
  class Configuration
1491
1492
  extend ::Gapic::Config
1492
1493
 
1493
- config_attr :endpoint, "gkehub.googleapis.com", ::String
1494
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
1495
+
1496
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1494
1497
  config_attr :credentials, nil do |value|
1495
1498
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1496
1499
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1525,6 +1528,14 @@ module Google
1525
1528
  end
1526
1529
  end
1527
1530
 
1531
+ ##
1532
+ # Configuration for the channel pool
1533
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1534
+ #
1535
+ def channel_pool
1536
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1537
+ end
1538
+
1528
1539
  ##
1529
1540
  # Configuration RPC class for the GkeHub API.
1530
1541
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "gkehub.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #
@@ -140,7 +140,7 @@ module Google
140
140
  credentials = @config.credentials
141
141
  # Use self-signed JWT if the endpoint is unchanged from default,
142
142
  # but only if the default endpoint does not have a region prefix.
143
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
143
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
144
144
  !@config.endpoint.split(".").first.include?("-")
145
145
  credentials ||= Credentials.default scope: @config.scope,
146
146
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -230,6 +230,26 @@ module Google
230
230
  # @return [::Google::Cloud::GkeHub::V1::ListMembershipsResponse]
231
231
  #
232
232
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
233
+ #
234
+ # @example Basic example
235
+ # require "google/cloud/gke_hub/v1"
236
+ #
237
+ # # Create a client object. The client can be reused for multiple calls.
238
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
239
+ #
240
+ # # Create a request. To set request fields, pass in keyword arguments.
241
+ # request = Google::Cloud::GkeHub::V1::ListMembershipsRequest.new
242
+ #
243
+ # # Call the list_memberships method.
244
+ # result = client.list_memberships request
245
+ #
246
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
247
+ # # over elements, and API calls will be issued to fetch pages as needed.
248
+ # result.each do |item|
249
+ # # Each element is of type ::Google::Cloud::GkeHub::V1::Membership.
250
+ # p item
251
+ # end
252
+ #
233
253
  def list_memberships request, options = nil
234
254
  raise ::ArgumentError, "request must be provided" if request.nil?
235
255
 
@@ -321,6 +341,26 @@ module Google
321
341
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeHub::V1::Feature>]
322
342
  #
323
343
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
344
+ #
345
+ # @example Basic example
346
+ # require "google/cloud/gke_hub/v1"
347
+ #
348
+ # # Create a client object. The client can be reused for multiple calls.
349
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
350
+ #
351
+ # # Create a request. To set request fields, pass in keyword arguments.
352
+ # request = Google::Cloud::GkeHub::V1::ListFeaturesRequest.new
353
+ #
354
+ # # Call the list_features method.
355
+ # result = client.list_features request
356
+ #
357
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
358
+ # # over elements, and API calls will be issued to fetch pages as needed.
359
+ # result.each do |item|
360
+ # # Each element is of type ::Google::Cloud::GkeHub::V1::Feature.
361
+ # p item
362
+ # end
363
+ #
324
364
  def list_features request, options = nil
325
365
  raise ::ArgumentError, "request must be provided" if request.nil?
326
366
 
@@ -385,6 +425,22 @@ module Google
385
425
  # @return [::Google::Cloud::GkeHub::V1::Membership]
386
426
  #
387
427
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
428
+ #
429
+ # @example Basic example
430
+ # require "google/cloud/gke_hub/v1"
431
+ #
432
+ # # Create a client object. The client can be reused for multiple calls.
433
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
434
+ #
435
+ # # Create a request. To set request fields, pass in keyword arguments.
436
+ # request = Google::Cloud::GkeHub::V1::GetMembershipRequest.new
437
+ #
438
+ # # Call the get_membership method.
439
+ # result = client.get_membership request
440
+ #
441
+ # # The returned object is of type Google::Cloud::GkeHub::V1::Membership.
442
+ # p result
443
+ #
388
444
  def get_membership request, options = nil
389
445
  raise ::ArgumentError, "request must be provided" if request.nil?
390
446
 
@@ -448,6 +504,22 @@ module Google
448
504
  # @return [::Google::Cloud::GkeHub::V1::Feature]
449
505
  #
450
506
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
507
+ #
508
+ # @example Basic example
509
+ # require "google/cloud/gke_hub/v1"
510
+ #
511
+ # # Create a client object. The client can be reused for multiple calls.
512
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
513
+ #
514
+ # # Create a request. To set request fields, pass in keyword arguments.
515
+ # request = Google::Cloud::GkeHub::V1::GetFeatureRequest.new
516
+ #
517
+ # # Call the get_feature method.
518
+ # result = client.get_feature request
519
+ #
520
+ # # The returned object is of type Google::Cloud::GkeHub::V1::Feature.
521
+ # p result
522
+ #
451
523
  def get_feature request, options = nil
452
524
  raise ::ArgumentError, "request must be provided" if request.nil?
453
525
 
@@ -541,6 +613,29 @@ module Google
541
613
  # @return [::Gapic::Operation]
542
614
  #
543
615
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
616
+ #
617
+ # @example Basic example
618
+ # require "google/cloud/gke_hub/v1"
619
+ #
620
+ # # Create a client object. The client can be reused for multiple calls.
621
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
622
+ #
623
+ # # Create a request. To set request fields, pass in keyword arguments.
624
+ # request = Google::Cloud::GkeHub::V1::CreateMembershipRequest.new
625
+ #
626
+ # # Call the create_membership method.
627
+ # result = client.create_membership request
628
+ #
629
+ # # The returned object is of type Gapic::Operation. You can use it to
630
+ # # check the status of an operation, cancel it, or wait for results.
631
+ # # Here is how to wait for a response.
632
+ # result.wait_until_done! timeout: 60
633
+ # if result.response?
634
+ # p result.response
635
+ # else
636
+ # puts "No response received."
637
+ # end
638
+ #
544
639
  def create_membership request, options = nil
545
640
  raise ::ArgumentError, "request must be provided" if request.nil?
546
641
 
@@ -623,6 +718,29 @@ module Google
623
718
  # @return [::Gapic::Operation]
624
719
  #
625
720
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
721
+ #
722
+ # @example Basic example
723
+ # require "google/cloud/gke_hub/v1"
724
+ #
725
+ # # Create a client object. The client can be reused for multiple calls.
726
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
727
+ #
728
+ # # Create a request. To set request fields, pass in keyword arguments.
729
+ # request = Google::Cloud::GkeHub::V1::CreateFeatureRequest.new
730
+ #
731
+ # # Call the create_feature method.
732
+ # result = client.create_feature request
733
+ #
734
+ # # The returned object is of type Gapic::Operation. You can use it to
735
+ # # check the status of an operation, cancel it, or wait for results.
736
+ # # Here is how to wait for a response.
737
+ # result.wait_until_done! timeout: 60
738
+ # if result.response?
739
+ # p result.response
740
+ # else
741
+ # puts "No response received."
742
+ # end
743
+ #
626
744
  def create_feature request, options = nil
627
745
  raise ::ArgumentError, "request must be provided" if request.nil?
628
746
 
@@ -709,6 +827,29 @@ module Google
709
827
  # @return [::Gapic::Operation]
710
828
  #
711
829
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
830
+ #
831
+ # @example Basic example
832
+ # require "google/cloud/gke_hub/v1"
833
+ #
834
+ # # Create a client object. The client can be reused for multiple calls.
835
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
836
+ #
837
+ # # Create a request. To set request fields, pass in keyword arguments.
838
+ # request = Google::Cloud::GkeHub::V1::DeleteMembershipRequest.new
839
+ #
840
+ # # Call the delete_membership method.
841
+ # result = client.delete_membership request
842
+ #
843
+ # # The returned object is of type Gapic::Operation. You can use it to
844
+ # # check the status of an operation, cancel it, or wait for results.
845
+ # # Here is how to wait for a response.
846
+ # result.wait_until_done! timeout: 60
847
+ # if result.response?
848
+ # p result.response
849
+ # else
850
+ # puts "No response received."
851
+ # end
852
+ #
712
853
  def delete_membership request, options = nil
713
854
  raise ::ArgumentError, "request must be provided" if request.nil?
714
855
 
@@ -791,6 +932,29 @@ module Google
791
932
  # @return [::Gapic::Operation]
792
933
  #
793
934
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
935
+ #
936
+ # @example Basic example
937
+ # require "google/cloud/gke_hub/v1"
938
+ #
939
+ # # Create a client object. The client can be reused for multiple calls.
940
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
941
+ #
942
+ # # Create a request. To set request fields, pass in keyword arguments.
943
+ # request = Google::Cloud::GkeHub::V1::DeleteFeatureRequest.new
944
+ #
945
+ # # Call the delete_feature method.
946
+ # result = client.delete_feature request
947
+ #
948
+ # # The returned object is of type Gapic::Operation. You can use it to
949
+ # # check the status of an operation, cancel it, or wait for results.
950
+ # # Here is how to wait for a response.
951
+ # result.wait_until_done! timeout: 60
952
+ # if result.response?
953
+ # p result.response
954
+ # else
955
+ # puts "No response received."
956
+ # end
957
+ #
794
958
  def delete_feature request, options = nil
795
959
  raise ::ArgumentError, "request must be provided" if request.nil?
796
960
 
@@ -880,6 +1044,29 @@ module Google
880
1044
  # @return [::Gapic::Operation]
881
1045
  #
882
1046
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1047
+ #
1048
+ # @example Basic example
1049
+ # require "google/cloud/gke_hub/v1"
1050
+ #
1051
+ # # Create a client object. The client can be reused for multiple calls.
1052
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
1053
+ #
1054
+ # # Create a request. To set request fields, pass in keyword arguments.
1055
+ # request = Google::Cloud::GkeHub::V1::UpdateMembershipRequest.new
1056
+ #
1057
+ # # Call the update_membership method.
1058
+ # result = client.update_membership request
1059
+ #
1060
+ # # The returned object is of type Gapic::Operation. You can use it to
1061
+ # # check the status of an operation, cancel it, or wait for results.
1062
+ # # Here is how to wait for a response.
1063
+ # result.wait_until_done! timeout: 60
1064
+ # if result.response?
1065
+ # p result.response
1066
+ # else
1067
+ # puts "No response received."
1068
+ # end
1069
+ #
883
1070
  def update_membership request, options = nil
884
1071
  raise ::ArgumentError, "request must be provided" if request.nil?
885
1072
 
@@ -969,6 +1156,29 @@ module Google
969
1156
  # @return [::Gapic::Operation]
970
1157
  #
971
1158
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1159
+ #
1160
+ # @example Basic example
1161
+ # require "google/cloud/gke_hub/v1"
1162
+ #
1163
+ # # Create a client object. The client can be reused for multiple calls.
1164
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
1165
+ #
1166
+ # # Create a request. To set request fields, pass in keyword arguments.
1167
+ # request = Google::Cloud::GkeHub::V1::UpdateFeatureRequest.new
1168
+ #
1169
+ # # Call the update_feature method.
1170
+ # result = client.update_feature request
1171
+ #
1172
+ # # The returned object is of type Gapic::Operation. You can use it to
1173
+ # # check the status of an operation, cancel it, or wait for results.
1174
+ # # Here is how to wait for a response.
1175
+ # result.wait_until_done! timeout: 60
1176
+ # if result.response?
1177
+ # p result.response
1178
+ # else
1179
+ # puts "No response received."
1180
+ # end
1181
+ #
972
1182
  def update_feature request, options = nil
973
1183
  raise ::ArgumentError, "request must be provided" if request.nil?
974
1184
 
@@ -1060,6 +1270,22 @@ module Google
1060
1270
  # @return [::Google::Cloud::GkeHub::V1::GenerateConnectManifestResponse]
1061
1271
  #
1062
1272
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1273
+ #
1274
+ # @example Basic example
1275
+ # require "google/cloud/gke_hub/v1"
1276
+ #
1277
+ # # Create a client object. The client can be reused for multiple calls.
1278
+ # client = Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new
1279
+ #
1280
+ # # Create a request. To set request fields, pass in keyword arguments.
1281
+ # request = Google::Cloud::GkeHub::V1::GenerateConnectManifestRequest.new
1282
+ #
1283
+ # # Call the generate_connect_manifest method.
1284
+ # result = client.generate_connect_manifest request
1285
+ #
1286
+ # # The returned object is of type Google::Cloud::GkeHub::V1::GenerateConnectManifestResponse.
1287
+ # p result
1288
+ #
1063
1289
  def generate_connect_manifest request, options = nil
1064
1290
  raise ::ArgumentError, "request must be provided" if request.nil?
1065
1291
 
@@ -1168,7 +1394,9 @@ module Google
1168
1394
  class Configuration
1169
1395
  extend ::Gapic::Config
1170
1396
 
1171
- config_attr :endpoint, "gkehub.googleapis.com", ::String
1397
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
1398
+
1399
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1172
1400
  config_attr :credentials, nil do |value|
1173
1401
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1174
1402
  allowed.any? { |klass| klass === value }
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -446,7 +521,9 @@ module Google
446
521
  class Configuration
447
522
  extend ::Gapic::Config
448
523
 
449
- config_attr :endpoint, "gkehub.googleapis.com", ::String
524
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
525
+
526
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
527
  config_attr :credentials, nil do |value|
451
528
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
529
  allowed.any? { |klass| klass === value }
@@ -567,7 +644,7 @@ module Google
567
644
 
568
645
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
646
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
647
+ query_string_params.to_h { |p| p.split "=", 2 }
571
648
  else
572
649
  {}
573
650
  end
@@ -605,7 +682,7 @@ module Google
605
682
 
606
683
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
684
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
685
+ query_string_params.to_h { |p| p.split "=", 2 }
609
686
  else
610
687
  {}
611
688
  end
@@ -643,7 +720,7 @@ module Google
643
720
 
644
721
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
722
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
723
+ query_string_params.to_h { |p| p.split "=", 2 }
647
724
  else
648
725
  {}
649
726
  end
@@ -681,7 +758,7 @@ module Google
681
758
 
682
759
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
760
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
761
+ query_string_params.to_h { |p| p.split "=", 2 }
685
762
  else
686
763
  {}
687
764
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_memberships_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_list_features_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_get_membership_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_get_feature_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_create_membership_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_create_feature_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_delete_membership_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_delete_feature_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_membership_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_update_feature_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_generate_connect_manifest_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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end