google-cloud-compute-v1 0.5.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +59 -14
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +158 -19
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +169 -23
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +534 -2
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +93 -24
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +44 -10
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +98 -31
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +2 -2
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +54 -13
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +70 -17
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +64 -16
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +55 -14
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +55 -14
- data/lib/google/cloud/compute/v1/images/rest/client.rb +64 -16
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +172 -47
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +71 -18
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +521 -96
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +91 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +44 -10
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/machine_images/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +804 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +363 -0
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +44 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +60 -15
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +85 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +82 -21
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +107 -31
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +51 -14
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +116 -5
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +92 -23
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +47 -10
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +171 -46
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +26 -5
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +24 -3
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +36 -7
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +38 -9
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +38 -9
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +47 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +62 -17
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +138 -11
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +60 -15
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +75 -20
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +51 -14
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +116 -7
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +37 -10
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +45 -11
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +71 -18
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +56 -15
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +86 -24
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +92 -23
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +74 -19
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +54 -13
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +65 -17
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/compute/v1/compute.rb +1647 -330
- metadata +14 -7
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/security_policies/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -152,9 +153,21 @@ module Google
|
|
152
153
|
credentials = Credentials.new credentials, scope: @config.scope
|
153
154
|
end
|
154
155
|
|
156
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
157
|
+
config.credentials = credentials
|
158
|
+
config.endpoint = @config.endpoint
|
159
|
+
end
|
160
|
+
|
155
161
|
@security_policies_stub = ::Google::Cloud::Compute::V1::SecurityPolicies::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
156
162
|
end
|
157
163
|
|
164
|
+
##
|
165
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
166
|
+
#
|
167
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
168
|
+
#
|
169
|
+
attr_reader :global_operations
|
170
|
+
|
158
171
|
# Service calls
|
159
172
|
|
160
173
|
##
|
@@ -184,10 +197,10 @@ module Google
|
|
184
197
|
# @param security_policy_rule_resource [::Google::Cloud::Compute::V1::SecurityPolicyRule, ::Hash]
|
185
198
|
# The body resource for this request
|
186
199
|
# @yield [result, response] Access the result along with the Faraday response object
|
187
|
-
# @yieldparam result [::Gapic::
|
200
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
188
201
|
# @yieldparam response [::Faraday::Response]
|
189
202
|
#
|
190
|
-
# @return [::Gapic::
|
203
|
+
# @return [::Gapic::GenericLRO::Operation]
|
191
204
|
#
|
192
205
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
193
206
|
def add_rule request, options = nil
|
@@ -214,7 +227,14 @@ module Google
|
|
214
227
|
metadata: @config.metadata
|
215
228
|
|
216
229
|
@security_policies_stub.add_rule request, options do |result, response|
|
217
|
-
result = ::
|
230
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
231
|
+
operation: result,
|
232
|
+
client: global_operations,
|
233
|
+
request_values: {
|
234
|
+
"project" => request.project
|
235
|
+
},
|
236
|
+
options: options
|
237
|
+
)
|
218
238
|
yield result, response if block_given?
|
219
239
|
return result
|
220
240
|
end
|
@@ -250,10 +270,10 @@ module Google
|
|
250
270
|
# @param security_policy [::String]
|
251
271
|
# Name of the security policy to delete.
|
252
272
|
# @yield [result, response] Access the result along with the Faraday response object
|
253
|
-
# @yieldparam result [::Gapic::
|
273
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
254
274
|
# @yieldparam response [::Faraday::Response]
|
255
275
|
#
|
256
|
-
# @return [::Gapic::
|
276
|
+
# @return [::Gapic::GenericLRO::Operation]
|
257
277
|
#
|
258
278
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
259
279
|
def delete request, options = nil
|
@@ -280,7 +300,14 @@ module Google
|
|
280
300
|
metadata: @config.metadata
|
281
301
|
|
282
302
|
@security_policies_stub.delete request, options do |result, response|
|
283
|
-
result = ::
|
303
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
304
|
+
operation: result,
|
305
|
+
client: global_operations,
|
306
|
+
request_values: {
|
307
|
+
"project" => request.project
|
308
|
+
},
|
309
|
+
options: options
|
310
|
+
)
|
284
311
|
yield result, response if block_given?
|
285
312
|
return result
|
286
313
|
end
|
@@ -444,10 +471,10 @@ module Google
|
|
444
471
|
# @param security_policy_resource [::Google::Cloud::Compute::V1::SecurityPolicy, ::Hash]
|
445
472
|
# The body resource for this request
|
446
473
|
# @yield [result, response] Access the result along with the Faraday response object
|
447
|
-
# @yieldparam result [::Gapic::
|
474
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
448
475
|
# @yieldparam response [::Faraday::Response]
|
449
476
|
#
|
450
|
-
# @return [::Gapic::
|
477
|
+
# @return [::Gapic::GenericLRO::Operation]
|
451
478
|
#
|
452
479
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
453
480
|
def insert request, options = nil
|
@@ -474,7 +501,14 @@ module Google
|
|
474
501
|
metadata: @config.metadata
|
475
502
|
|
476
503
|
@security_policies_stub.insert request, options do |result, response|
|
477
|
-
result = ::
|
504
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
505
|
+
operation: result,
|
506
|
+
client: global_operations,
|
507
|
+
request_values: {
|
508
|
+
"project" => request.project
|
509
|
+
},
|
510
|
+
options: options
|
511
|
+
)
|
478
512
|
yield result, response if block_given?
|
479
513
|
return result
|
480
514
|
end
|
@@ -504,7 +538,7 @@ module Google
|
|
504
538
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
505
539
|
#
|
506
540
|
# @param filter [::String]
|
507
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
541
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
508
542
|
# @param max_results [::Integer]
|
509
543
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
510
544
|
# @param order_by [::String]
|
@@ -576,7 +610,7 @@ module Google
|
|
576
610
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
577
611
|
#
|
578
612
|
# @param filter [::String]
|
579
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
613
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
580
614
|
# @param max_results [::Integer]
|
581
615
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
582
616
|
# @param order_by [::String]
|
@@ -655,10 +689,10 @@ module Google
|
|
655
689
|
# @param security_policy_resource [::Google::Cloud::Compute::V1::SecurityPolicy, ::Hash]
|
656
690
|
# The body resource for this request
|
657
691
|
# @yield [result, response] Access the result along with the Faraday response object
|
658
|
-
# @yieldparam result [::Gapic::
|
692
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
659
693
|
# @yieldparam response [::Faraday::Response]
|
660
694
|
#
|
661
|
-
# @return [::Gapic::
|
695
|
+
# @return [::Gapic::GenericLRO::Operation]
|
662
696
|
#
|
663
697
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
664
698
|
def patch request, options = nil
|
@@ -685,7 +719,14 @@ module Google
|
|
685
719
|
metadata: @config.metadata
|
686
720
|
|
687
721
|
@security_policies_stub.patch request, options do |result, response|
|
688
|
-
result = ::
|
722
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
723
|
+
operation: result,
|
724
|
+
client: global_operations,
|
725
|
+
request_values: {
|
726
|
+
"project" => request.project
|
727
|
+
},
|
728
|
+
options: options
|
729
|
+
)
|
689
730
|
yield result, response if block_given?
|
690
731
|
return result
|
691
732
|
end
|
@@ -723,10 +764,10 @@ module Google
|
|
723
764
|
# @param security_policy_rule_resource [::Google::Cloud::Compute::V1::SecurityPolicyRule, ::Hash]
|
724
765
|
# The body resource for this request
|
725
766
|
# @yield [result, response] Access the result along with the Faraday response object
|
726
|
-
# @yieldparam result [::Gapic::
|
767
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
727
768
|
# @yieldparam response [::Faraday::Response]
|
728
769
|
#
|
729
|
-
# @return [::Gapic::
|
770
|
+
# @return [::Gapic::GenericLRO::Operation]
|
730
771
|
#
|
731
772
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
732
773
|
def patch_rule request, options = nil
|
@@ -753,7 +794,14 @@ module Google
|
|
753
794
|
metadata: @config.metadata
|
754
795
|
|
755
796
|
@security_policies_stub.patch_rule request, options do |result, response|
|
756
|
-
result = ::
|
797
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
798
|
+
operation: result,
|
799
|
+
client: global_operations,
|
800
|
+
request_values: {
|
801
|
+
"project" => request.project
|
802
|
+
},
|
803
|
+
options: options
|
804
|
+
)
|
757
805
|
yield result, response if block_given?
|
758
806
|
return result
|
759
807
|
end
|
@@ -789,10 +837,10 @@ module Google
|
|
789
837
|
# @param security_policy [::String]
|
790
838
|
# Name of the security policy to update.
|
791
839
|
# @yield [result, response] Access the result along with the Faraday response object
|
792
|
-
# @yieldparam result [::Gapic::
|
840
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
793
841
|
# @yieldparam response [::Faraday::Response]
|
794
842
|
#
|
795
|
-
# @return [::Gapic::
|
843
|
+
# @return [::Gapic::GenericLRO::Operation]
|
796
844
|
#
|
797
845
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
798
846
|
def remove_rule request, options = nil
|
@@ -819,7 +867,14 @@ module Google
|
|
819
867
|
metadata: @config.metadata
|
820
868
|
|
821
869
|
@security_policies_stub.remove_rule request, options do |result, response|
|
822
|
-
result = ::
|
870
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
871
|
+
operation: result,
|
872
|
+
client: global_operations,
|
873
|
+
request_values: {
|
874
|
+
"project" => request.project
|
875
|
+
},
|
876
|
+
options: options
|
877
|
+
)
|
823
878
|
yield result, response if block_given?
|
824
879
|
return result
|
825
880
|
end
|
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/service_attachments/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/region_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -150,9 +151,21 @@ module Google
|
|
150
151
|
credentials = Credentials.new credentials, scope: @config.scope
|
151
152
|
end
|
152
153
|
|
154
|
+
@region_operations = ::Google::Cloud::Compute::V1::RegionOperations::Rest::Client.new do |config|
|
155
|
+
config.credentials = credentials
|
156
|
+
config.endpoint = @config.endpoint
|
157
|
+
end
|
158
|
+
|
153
159
|
@service_attachments_stub = ::Google::Cloud::Compute::V1::ServiceAttachments::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
154
160
|
end
|
155
161
|
|
162
|
+
##
|
163
|
+
# Get the associated client for long-running operations via RegionOperations.
|
164
|
+
#
|
165
|
+
# @return [::Google::Cloud::Compute::V1::RegionOperations::Rest::Client]
|
166
|
+
#
|
167
|
+
attr_reader :region_operations
|
168
|
+
|
156
169
|
# Service calls
|
157
170
|
|
158
171
|
##
|
@@ -176,7 +189,7 @@ module Google
|
|
176
189
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
177
190
|
#
|
178
191
|
# @param filter [::String]
|
179
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
192
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
180
193
|
# @param include_all_scopes [::Boolean]
|
181
194
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
182
195
|
# @param max_results [::Integer]
|
@@ -254,14 +267,14 @@ module Google
|
|
254
267
|
# @param region [::String]
|
255
268
|
# Name of the region of this request.
|
256
269
|
# @param request_id [::String]
|
257
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
270
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
258
271
|
# @param service_attachment [::String]
|
259
272
|
# Name of the ServiceAttachment resource to delete.
|
260
273
|
# @yield [result, response] Access the result along with the Faraday response object
|
261
|
-
# @yieldparam result [::Gapic::
|
274
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
262
275
|
# @yieldparam response [::Faraday::Response]
|
263
276
|
#
|
264
|
-
# @return [::Gapic::
|
277
|
+
# @return [::Gapic::GenericLRO::Operation]
|
265
278
|
#
|
266
279
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
267
280
|
def delete request, options = nil
|
@@ -288,7 +301,15 @@ module Google
|
|
288
301
|
metadata: @config.metadata
|
289
302
|
|
290
303
|
@service_attachments_stub.delete request, options do |result, response|
|
291
|
-
result = ::
|
304
|
+
result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
|
305
|
+
operation: result,
|
306
|
+
client: region_operations,
|
307
|
+
request_values: {
|
308
|
+
"project" => request.project,
|
309
|
+
"region" => request.region
|
310
|
+
},
|
311
|
+
options: options
|
312
|
+
)
|
292
313
|
yield result, response if block_given?
|
293
314
|
return result
|
294
315
|
end
|
@@ -454,14 +475,14 @@ module Google
|
|
454
475
|
# @param region [::String]
|
455
476
|
# Name of the region of this request.
|
456
477
|
# @param request_id [::String]
|
457
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
478
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
458
479
|
# @param service_attachment_resource [::Google::Cloud::Compute::V1::ServiceAttachment, ::Hash]
|
459
480
|
# The body resource for this request
|
460
481
|
# @yield [result, response] Access the result along with the Faraday response object
|
461
|
-
# @yieldparam result [::Gapic::
|
482
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
462
483
|
# @yieldparam response [::Faraday::Response]
|
463
484
|
#
|
464
|
-
# @return [::Gapic::
|
485
|
+
# @return [::Gapic::GenericLRO::Operation]
|
465
486
|
#
|
466
487
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
467
488
|
def insert request, options = nil
|
@@ -488,7 +509,15 @@ module Google
|
|
488
509
|
metadata: @config.metadata
|
489
510
|
|
490
511
|
@service_attachments_stub.insert request, options do |result, response|
|
491
|
-
result = ::
|
512
|
+
result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
|
513
|
+
operation: result,
|
514
|
+
client: region_operations,
|
515
|
+
request_values: {
|
516
|
+
"project" => request.project,
|
517
|
+
"region" => request.region
|
518
|
+
},
|
519
|
+
options: options
|
520
|
+
)
|
492
521
|
yield result, response if block_given?
|
493
522
|
return result
|
494
523
|
end
|
@@ -518,7 +547,7 @@ module Google
|
|
518
547
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
519
548
|
#
|
520
549
|
# @param filter [::String]
|
521
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
550
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
522
551
|
# @param max_results [::Integer]
|
523
552
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
524
553
|
# @param order_by [::String]
|
@@ -596,16 +625,16 @@ module Google
|
|
596
625
|
# @param region [::String]
|
597
626
|
# The region scoping this request and should conform to RFC1035.
|
598
627
|
# @param request_id [::String]
|
599
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
628
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
600
629
|
# @param service_attachment [::String]
|
601
630
|
# The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number.
|
602
631
|
# @param service_attachment_resource [::Google::Cloud::Compute::V1::ServiceAttachment, ::Hash]
|
603
632
|
# The body resource for this request
|
604
633
|
# @yield [result, response] Access the result along with the Faraday response object
|
605
|
-
# @yieldparam result [::Gapic::
|
634
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
606
635
|
# @yieldparam response [::Faraday::Response]
|
607
636
|
#
|
608
|
-
# @return [::Gapic::
|
637
|
+
# @return [::Gapic::GenericLRO::Operation]
|
609
638
|
#
|
610
639
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
611
640
|
def patch request, options = nil
|
@@ -632,7 +661,15 @@ module Google
|
|
632
661
|
metadata: @config.metadata
|
633
662
|
|
634
663
|
@service_attachments_stub.patch request, options do |result, response|
|
635
|
-
result = ::
|
664
|
+
result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
|
665
|
+
operation: result,
|
666
|
+
client: region_operations,
|
667
|
+
request_values: {
|
668
|
+
"project" => request.project,
|
669
|
+
"region" => request.region
|
670
|
+
},
|
671
|
+
options: options
|
672
|
+
)
|
636
673
|
yield result, response if block_given?
|
637
674
|
return result
|
638
675
|
end
|
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/snapshots/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -76,6 +77,8 @@ module Google
|
|
76
77
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
77
78
|
}
|
78
79
|
|
80
|
+
default_config.rpcs.insert.timeout = 600.0
|
81
|
+
|
79
82
|
default_config.rpcs.list.timeout = 600.0
|
80
83
|
default_config.rpcs.list.retry_policy = {
|
81
84
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
@@ -143,9 +146,21 @@ module Google
|
|
143
146
|
credentials = Credentials.new credentials, scope: @config.scope
|
144
147
|
end
|
145
148
|
|
149
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
146
154
|
@snapshots_stub = ::Google::Cloud::Compute::V1::Snapshots::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
147
155
|
end
|
148
156
|
|
157
|
+
##
|
158
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
159
|
+
#
|
160
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
161
|
+
#
|
162
|
+
attr_reader :global_operations
|
163
|
+
|
149
164
|
# Service calls
|
150
165
|
|
151
166
|
##
|
@@ -175,10 +190,10 @@ module Google
|
|
175
190
|
# @param snapshot [::String]
|
176
191
|
# Name of the Snapshot resource to delete.
|
177
192
|
# @yield [result, response] Access the result along with the Faraday response object
|
178
|
-
# @yieldparam result [::Gapic::
|
193
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
179
194
|
# @yieldparam response [::Faraday::Response]
|
180
195
|
#
|
181
|
-
# @return [::Gapic::
|
196
|
+
# @return [::Gapic::GenericLRO::Operation]
|
182
197
|
#
|
183
198
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
184
199
|
def delete request, options = nil
|
@@ -205,7 +220,14 @@ module Google
|
|
205
220
|
metadata: @config.metadata
|
206
221
|
|
207
222
|
@snapshots_stub.delete request, options do |result, response|
|
208
|
-
result = ::
|
223
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
224
|
+
operation: result,
|
225
|
+
client: global_operations,
|
226
|
+
request_values: {
|
227
|
+
"project" => request.project
|
228
|
+
},
|
229
|
+
options: options
|
230
|
+
)
|
209
231
|
yield result, response if block_given?
|
210
232
|
return result
|
211
233
|
end
|
@@ -342,6 +364,79 @@ module Google
|
|
342
364
|
raise ::Google::Cloud::Error.from_error(gapic_error)
|
343
365
|
end
|
344
366
|
|
367
|
+
##
|
368
|
+
# Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project.
|
369
|
+
#
|
370
|
+
# @overload insert(request, options = nil)
|
371
|
+
# Pass arguments to `insert` via a request object, either of type
|
372
|
+
# {::Google::Cloud::Compute::V1::InsertSnapshotRequest} or an equivalent Hash.
|
373
|
+
#
|
374
|
+
# @param request [::Google::Cloud::Compute::V1::InsertSnapshotRequest, ::Hash]
|
375
|
+
# A request object representing the call parameters. Required. To specify no
|
376
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
377
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
378
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
379
|
+
# Note: currently retry functionality is not implemented. While it is possible
|
380
|
+
# to set it using ::Gapic::CallOptions, it will not be applied
|
381
|
+
#
|
382
|
+
# @overload insert(project: nil, request_id: nil, snapshot_resource: nil)
|
383
|
+
# Pass arguments to `insert` via keyword arguments. Note that at
|
384
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
385
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
386
|
+
#
|
387
|
+
# @param project [::String]
|
388
|
+
# Project ID for this request.
|
389
|
+
# @param request_id [::String]
|
390
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
391
|
+
# @param snapshot_resource [::Google::Cloud::Compute::V1::Snapshot, ::Hash]
|
392
|
+
# The body resource for this request
|
393
|
+
# @yield [result, response] Access the result along with the Faraday response object
|
394
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
395
|
+
# @yieldparam response [::Faraday::Response]
|
396
|
+
#
|
397
|
+
# @return [::Gapic::GenericLRO::Operation]
|
398
|
+
#
|
399
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
def insert request, options = nil
|
401
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
402
|
+
|
403
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::InsertSnapshotRequest
|
404
|
+
|
405
|
+
# Converts hash and nil to an options object
|
406
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
407
|
+
|
408
|
+
# Customize the options with defaults
|
409
|
+
call_metadata = @config.rpcs.insert.metadata.to_h
|
410
|
+
|
411
|
+
# Set x-goog-api-client header
|
412
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
413
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
414
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
415
|
+
transports_version_send: [:rest]
|
416
|
+
|
417
|
+
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
418
|
+
metadata: call_metadata
|
419
|
+
|
420
|
+
options.apply_defaults timeout: @config.timeout,
|
421
|
+
metadata: @config.metadata
|
422
|
+
|
423
|
+
@snapshots_stub.insert request, options do |result, response|
|
424
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
425
|
+
operation: result,
|
426
|
+
client: global_operations,
|
427
|
+
request_values: {
|
428
|
+
"project" => request.project
|
429
|
+
},
|
430
|
+
options: options
|
431
|
+
)
|
432
|
+
yield result, response if block_given?
|
433
|
+
return result
|
434
|
+
end
|
435
|
+
rescue ::Faraday::Error => e
|
436
|
+
gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
|
437
|
+
raise ::Google::Cloud::Error.from_error(gapic_error)
|
438
|
+
end
|
439
|
+
|
345
440
|
##
|
346
441
|
# Retrieves the list of Snapshot resources contained within the specified project.
|
347
442
|
#
|
@@ -363,7 +458,7 @@ module Google
|
|
363
458
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
364
459
|
#
|
365
460
|
# @param filter [::String]
|
366
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
461
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
367
462
|
# @param max_results [::Integer]
|
368
463
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
369
464
|
# @param order_by [::String]
|
@@ -506,10 +601,10 @@ module Google
|
|
506
601
|
# @param resource [::String]
|
507
602
|
# Name or id of the resource for this request.
|
508
603
|
# @yield [result, response] Access the result along with the Faraday response object
|
509
|
-
# @yieldparam result [::Gapic::
|
604
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
510
605
|
# @yieldparam response [::Faraday::Response]
|
511
606
|
#
|
512
|
-
# @return [::Gapic::
|
607
|
+
# @return [::Gapic::GenericLRO::Operation]
|
513
608
|
#
|
514
609
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
515
610
|
def set_labels request, options = nil
|
@@ -536,7 +631,14 @@ module Google
|
|
536
631
|
metadata: @config.metadata
|
537
632
|
|
538
633
|
@snapshots_stub.set_labels request, options do |result, response|
|
539
|
-
result = ::
|
634
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
635
|
+
operation: result,
|
636
|
+
client: global_operations,
|
637
|
+
request_values: {
|
638
|
+
"project" => request.project
|
639
|
+
},
|
640
|
+
options: options
|
641
|
+
)
|
540
642
|
yield result, response if block_given?
|
541
643
|
return result
|
542
644
|
end
|
@@ -725,6 +827,11 @@ module Google
|
|
725
827
|
#
|
726
828
|
attr_reader :get_iam_policy
|
727
829
|
##
|
830
|
+
# RPC-specific configuration for `insert`
|
831
|
+
# @return [::Gapic::Config::Method]
|
832
|
+
#
|
833
|
+
attr_reader :insert
|
834
|
+
##
|
728
835
|
# RPC-specific configuration for `list`
|
729
836
|
# @return [::Gapic::Config::Method]
|
730
837
|
#
|
@@ -753,6 +860,8 @@ module Google
|
|
753
860
|
@get = ::Gapic::Config::Method.new get_config
|
754
861
|
get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
|
755
862
|
@get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
|
863
|
+
insert_config = parent_rpcs.insert if parent_rpcs.respond_to? :insert
|
864
|
+
@insert = ::Gapic::Config::Method.new insert_config
|
756
865
|
list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
|
757
866
|
@list = ::Gapic::Config::Method.new list_config
|
758
867
|
set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
|