google-cloud-gke_hub-v1 0.6.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 +4 -4
- data/lib/google/cloud/gke_hub/v1/gke_hub/client.rb +10 -1
- data/lib/google/cloud/gke_hub/v1/gke_hub/operations.rb +10 -1
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest/client.rb +226 -0
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest/operations.rb +75 -0
- data/lib/google/cloud/gke_hub/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f496eac5cd079ca4b5a79bfe07f9e41cafde8e4ba07b9763b8145c5f22ef51a
|
4
|
+
data.tar.gz: 32fdeb96b10989be7d0af95c7fec6fb4b55823b3cfdb09fa74dfa77c6b6d5da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9896429a4d38c49dfff76d2b77d4bed1a367b76a576b351bf63faca8460f707eb077e634ff06b0569e103bc712e4898e3337567f82ffa80b1398e277dc003719
|
7
|
+
data.tar.gz: f08cbcdf3e2cb13ce7580c8dfedc274819be96201e76a9c08bafcc696e8f8fb757d4d141fceed69feda7ff08c4738c4ffea0f87ac16d6dd9a92ff1b8c3f5af96
|
@@ -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
|
|
@@ -1527,6 +1528,14 @@ module Google
|
|
1527
1528
|
end
|
1528
1529
|
end
|
1529
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
|
+
|
1530
1539
|
##
|
1531
1540
|
# Configuration RPC class for the GkeHub API.
|
1532
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
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
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
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -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
|
|
@@ -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
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_hub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
|
-
rubygems_version: 3.4.
|
228
|
+
rubygems_version: 3.4.19
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
231
|
summary: API Client library for the GKE Hub V1 API
|