google-cloud-compute-v1 1.10.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +40 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +56 -42
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +38 -38
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +52 -52
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +72 -54
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +4 -3
- data/lib/google/cloud/compute/v1/images/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +52 -52
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +80 -60
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +116 -116
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +180 -135
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +46 -46
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +64 -48
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +40 -40
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +48 -48
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +76 -57
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -3
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +50 -50
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +68 -51
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +32 -32
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +40 -30
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +32 -32
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +40 -30
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +38 -38
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +8 -6
- data/proto_docs/google/cloud/compute/v1/compute.rb +1128 -1128
- metadata +6 -6
@@ -48,9 +48,9 @@ module Google
|
|
48
48
|
# @param options [::Gapic::CallOptions]
|
49
49
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
50
50
|
#
|
51
|
-
# @yield [result,
|
51
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
52
52
|
# @yieldparam result [::Google::Cloud::Compute::V1::RouterAggregatedList]
|
53
|
-
# @yieldparam
|
53
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
54
54
|
#
|
55
55
|
# @return [::Google::Cloud::Compute::V1::RouterAggregatedList]
|
56
56
|
# A result object deserialized from the server's reply
|
@@ -71,9 +71,10 @@ module Google
|
|
71
71
|
params: query_string_params,
|
72
72
|
options: options
|
73
73
|
)
|
74
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
74
75
|
result = ::Google::Cloud::Compute::V1::RouterAggregatedList.decode_json response.body, ignore_unknown_fields: true
|
75
76
|
|
76
|
-
yield result,
|
77
|
+
yield result, operation if block_given?
|
77
78
|
result
|
78
79
|
end
|
79
80
|
|
@@ -85,9 +86,9 @@ module Google
|
|
85
86
|
# @param options [::Gapic::CallOptions]
|
86
87
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
87
88
|
#
|
88
|
-
# @yield [result,
|
89
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
89
90
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
90
|
-
# @yieldparam
|
91
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
91
92
|
#
|
92
93
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
93
94
|
# A result object deserialized from the server's reply
|
@@ -108,9 +109,10 @@ module Google
|
|
108
109
|
params: query_string_params,
|
109
110
|
options: options
|
110
111
|
)
|
112
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
111
113
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
112
114
|
|
113
|
-
yield result,
|
115
|
+
yield result, operation if block_given?
|
114
116
|
result
|
115
117
|
end
|
116
118
|
|
@@ -122,9 +124,9 @@ module Google
|
|
122
124
|
# @param options [::Gapic::CallOptions]
|
123
125
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
124
126
|
#
|
125
|
-
# @yield [result,
|
127
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
126
128
|
# @yieldparam result [::Google::Cloud::Compute::V1::Router]
|
127
|
-
# @yieldparam
|
129
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
128
130
|
#
|
129
131
|
# @return [::Google::Cloud::Compute::V1::Router]
|
130
132
|
# A result object deserialized from the server's reply
|
@@ -145,9 +147,10 @@ module Google
|
|
145
147
|
params: query_string_params,
|
146
148
|
options: options
|
147
149
|
)
|
150
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
148
151
|
result = ::Google::Cloud::Compute::V1::Router.decode_json response.body, ignore_unknown_fields: true
|
149
152
|
|
150
|
-
yield result,
|
153
|
+
yield result, operation if block_given?
|
151
154
|
result
|
152
155
|
end
|
153
156
|
|
@@ -159,9 +162,9 @@ module Google
|
|
159
162
|
# @param options [::Gapic::CallOptions]
|
160
163
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
161
164
|
#
|
162
|
-
# @yield [result,
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
163
166
|
# @yieldparam result [::Google::Cloud::Compute::V1::VmEndpointNatMappingsList]
|
164
|
-
# @yieldparam
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
165
168
|
#
|
166
169
|
# @return [::Google::Cloud::Compute::V1::VmEndpointNatMappingsList]
|
167
170
|
# A result object deserialized from the server's reply
|
@@ -182,9 +185,10 @@ module Google
|
|
182
185
|
params: query_string_params,
|
183
186
|
options: options
|
184
187
|
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
185
189
|
result = ::Google::Cloud::Compute::V1::VmEndpointNatMappingsList.decode_json response.body, ignore_unknown_fields: true
|
186
190
|
|
187
|
-
yield result,
|
191
|
+
yield result, operation if block_given?
|
188
192
|
result
|
189
193
|
end
|
190
194
|
|
@@ -196,9 +200,9 @@ module Google
|
|
196
200
|
# @param options [::Gapic::CallOptions]
|
197
201
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
198
202
|
#
|
199
|
-
# @yield [result,
|
203
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
200
204
|
# @yieldparam result [::Google::Cloud::Compute::V1::RouterStatusResponse]
|
201
|
-
# @yieldparam
|
205
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
202
206
|
#
|
203
207
|
# @return [::Google::Cloud::Compute::V1::RouterStatusResponse]
|
204
208
|
# A result object deserialized from the server's reply
|
@@ -219,9 +223,10 @@ module Google
|
|
219
223
|
params: query_string_params,
|
220
224
|
options: options
|
221
225
|
)
|
226
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
222
227
|
result = ::Google::Cloud::Compute::V1::RouterStatusResponse.decode_json response.body, ignore_unknown_fields: true
|
223
228
|
|
224
|
-
yield result,
|
229
|
+
yield result, operation if block_given?
|
225
230
|
result
|
226
231
|
end
|
227
232
|
|
@@ -233,9 +238,9 @@ module Google
|
|
233
238
|
# @param options [::Gapic::CallOptions]
|
234
239
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
235
240
|
#
|
236
|
-
# @yield [result,
|
241
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
237
242
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
238
|
-
# @yieldparam
|
243
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
239
244
|
#
|
240
245
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
241
246
|
# A result object deserialized from the server's reply
|
@@ -256,9 +261,10 @@ module Google
|
|
256
261
|
params: query_string_params,
|
257
262
|
options: options
|
258
263
|
)
|
264
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
259
265
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
260
266
|
|
261
|
-
yield result,
|
267
|
+
yield result, operation if block_given?
|
262
268
|
result
|
263
269
|
end
|
264
270
|
|
@@ -270,9 +276,9 @@ module Google
|
|
270
276
|
# @param options [::Gapic::CallOptions]
|
271
277
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
272
278
|
#
|
273
|
-
# @yield [result,
|
279
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
274
280
|
# @yieldparam result [::Google::Cloud::Compute::V1::RouterList]
|
275
|
-
# @yieldparam
|
281
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
276
282
|
#
|
277
283
|
# @return [::Google::Cloud::Compute::V1::RouterList]
|
278
284
|
# A result object deserialized from the server's reply
|
@@ -293,9 +299,10 @@ module Google
|
|
293
299
|
params: query_string_params,
|
294
300
|
options: options
|
295
301
|
)
|
302
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
296
303
|
result = ::Google::Cloud::Compute::V1::RouterList.decode_json response.body, ignore_unknown_fields: true
|
297
304
|
|
298
|
-
yield result,
|
305
|
+
yield result, operation if block_given?
|
299
306
|
result
|
300
307
|
end
|
301
308
|
|
@@ -307,9 +314,9 @@ module Google
|
|
307
314
|
# @param options [::Gapic::CallOptions]
|
308
315
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
309
316
|
#
|
310
|
-
# @yield [result,
|
317
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
311
318
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
312
|
-
# @yieldparam
|
319
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
313
320
|
#
|
314
321
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
315
322
|
# A result object deserialized from the server's reply
|
@@ -330,9 +337,10 @@ module Google
|
|
330
337
|
params: query_string_params,
|
331
338
|
options: options
|
332
339
|
)
|
340
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
333
341
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
334
342
|
|
335
|
-
yield result,
|
343
|
+
yield result, operation if block_given?
|
336
344
|
result
|
337
345
|
end
|
338
346
|
|
@@ -344,9 +352,9 @@ module Google
|
|
344
352
|
# @param options [::Gapic::CallOptions]
|
345
353
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
346
354
|
#
|
347
|
-
# @yield [result,
|
355
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
348
356
|
# @yieldparam result [::Google::Cloud::Compute::V1::RoutersPreviewResponse]
|
349
|
-
# @yieldparam
|
357
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
350
358
|
#
|
351
359
|
# @return [::Google::Cloud::Compute::V1::RoutersPreviewResponse]
|
352
360
|
# A result object deserialized from the server's reply
|
@@ -367,9 +375,10 @@ module Google
|
|
367
375
|
params: query_string_params,
|
368
376
|
options: options
|
369
377
|
)
|
378
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
370
379
|
result = ::Google::Cloud::Compute::V1::RoutersPreviewResponse.decode_json response.body, ignore_unknown_fields: true
|
371
380
|
|
372
|
-
yield result,
|
381
|
+
yield result, operation if block_given?
|
373
382
|
result
|
374
383
|
end
|
375
384
|
|
@@ -381,9 +390,9 @@ module Google
|
|
381
390
|
# @param options [::Gapic::CallOptions]
|
382
391
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
383
392
|
#
|
384
|
-
# @yield [result,
|
393
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
385
394
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
386
|
-
# @yieldparam
|
395
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
387
396
|
#
|
388
397
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
389
398
|
# A result object deserialized from the server's reply
|
@@ -404,9 +413,10 @@ module Google
|
|
404
413
|
params: query_string_params,
|
405
414
|
options: options
|
406
415
|
)
|
416
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
407
417
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
408
418
|
|
409
|
-
yield result,
|
419
|
+
yield result, operation if block_given?
|
410
420
|
result
|
411
421
|
end
|
412
422
|
|
@@ -185,9 +185,9 @@ module Google
|
|
185
185
|
# 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).
|
186
186
|
# @param route [::String]
|
187
187
|
# Name of the Route resource to delete.
|
188
|
-
# @yield [result,
|
188
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
189
189
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
190
|
-
# @yieldparam
|
190
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
191
191
|
#
|
192
192
|
# @return [::Gapic::GenericLRO::Operation]
|
193
193
|
#
|
@@ -257,9 +257,9 @@ module Google
|
|
257
257
|
# Project ID for this request.
|
258
258
|
# @param route [::String]
|
259
259
|
# Name of the Route resource to return.
|
260
|
-
# @yield [result,
|
260
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
261
261
|
# @yieldparam result [::Google::Cloud::Compute::V1::Route]
|
262
|
-
# @yieldparam
|
262
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
263
263
|
#
|
264
264
|
# @return [::Google::Cloud::Compute::V1::Route]
|
265
265
|
#
|
@@ -291,8 +291,8 @@ module Google
|
|
291
291
|
metadata: @config.metadata,
|
292
292
|
retry_policy: @config.retry_policy
|
293
293
|
|
294
|
-
@routes_stub.get request, options do |result,
|
295
|
-
yield result,
|
294
|
+
@routes_stub.get request, options do |result, operation|
|
295
|
+
yield result, operation if block_given?
|
296
296
|
return result
|
297
297
|
end
|
298
298
|
rescue ::Gapic::Rest::Error => e
|
@@ -323,9 +323,9 @@ module Google
|
|
323
323
|
# 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).
|
324
324
|
# @param route_resource [::Google::Cloud::Compute::V1::Route, ::Hash]
|
325
325
|
# The body resource for this request
|
326
|
-
# @yield [result,
|
326
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
327
327
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
328
|
-
# @yieldparam
|
328
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
329
329
|
#
|
330
330
|
# @return [::Gapic::GenericLRO::Operation]
|
331
331
|
#
|
@@ -403,9 +403,9 @@ module Google
|
|
403
403
|
# Project ID for this request.
|
404
404
|
# @param return_partial_success [::Boolean]
|
405
405
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
406
|
-
# @yield [result,
|
406
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
407
407
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Route>]
|
408
|
-
# @yieldparam
|
408
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
409
409
|
#
|
410
410
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Route>]
|
411
411
|
#
|
@@ -437,9 +437,9 @@ module Google
|
|
437
437
|
metadata: @config.metadata,
|
438
438
|
retry_policy: @config.retry_policy
|
439
439
|
|
440
|
-
@routes_stub.list request, options do |result,
|
440
|
+
@routes_stub.list request, options do |result, operation|
|
441
441
|
result = ::Gapic::Rest::PagedEnumerable.new @routes_stub, :list, "items", request, result, options
|
442
|
-
yield result,
|
442
|
+
yield result, operation if block_given?
|
443
443
|
return result
|
444
444
|
end
|
445
445
|
rescue ::Gapic::Rest::Error => e
|
@@ -48,9 +48,9 @@ module Google
|
|
48
48
|
# @param options [::Gapic::CallOptions]
|
49
49
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
50
50
|
#
|
51
|
-
# @yield [result,
|
51
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
52
52
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
53
|
-
# @yieldparam
|
53
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
54
54
|
#
|
55
55
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
56
56
|
# A result object deserialized from the server's reply
|
@@ -71,9 +71,10 @@ module Google
|
|
71
71
|
params: query_string_params,
|
72
72
|
options: options
|
73
73
|
)
|
74
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
74
75
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
75
76
|
|
76
|
-
yield result,
|
77
|
+
yield result, operation if block_given?
|
77
78
|
result
|
78
79
|
end
|
79
80
|
|
@@ -85,9 +86,9 @@ module Google
|
|
85
86
|
# @param options [::Gapic::CallOptions]
|
86
87
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
87
88
|
#
|
88
|
-
# @yield [result,
|
89
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
89
90
|
# @yieldparam result [::Google::Cloud::Compute::V1::Route]
|
90
|
-
# @yieldparam
|
91
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
91
92
|
#
|
92
93
|
# @return [::Google::Cloud::Compute::V1::Route]
|
93
94
|
# A result object deserialized from the server's reply
|
@@ -108,9 +109,10 @@ module Google
|
|
108
109
|
params: query_string_params,
|
109
110
|
options: options
|
110
111
|
)
|
112
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
111
113
|
result = ::Google::Cloud::Compute::V1::Route.decode_json response.body, ignore_unknown_fields: true
|
112
114
|
|
113
|
-
yield result,
|
115
|
+
yield result, operation if block_given?
|
114
116
|
result
|
115
117
|
end
|
116
118
|
|
@@ -122,9 +124,9 @@ module Google
|
|
122
124
|
# @param options [::Gapic::CallOptions]
|
123
125
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
124
126
|
#
|
125
|
-
# @yield [result,
|
127
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
126
128
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
127
|
-
# @yieldparam
|
129
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
128
130
|
#
|
129
131
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
130
132
|
# A result object deserialized from the server's reply
|
@@ -145,9 +147,10 @@ module Google
|
|
145
147
|
params: query_string_params,
|
146
148
|
options: options
|
147
149
|
)
|
150
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
148
151
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
149
152
|
|
150
|
-
yield result,
|
153
|
+
yield result, operation if block_given?
|
151
154
|
result
|
152
155
|
end
|
153
156
|
|
@@ -159,9 +162,9 @@ module Google
|
|
159
162
|
# @param options [::Gapic::CallOptions]
|
160
163
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
161
164
|
#
|
162
|
-
# @yield [result,
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
163
166
|
# @yieldparam result [::Google::Cloud::Compute::V1::RouteList]
|
164
|
-
# @yieldparam
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
165
168
|
#
|
166
169
|
# @return [::Google::Cloud::Compute::V1::RouteList]
|
167
170
|
# A result object deserialized from the server's reply
|
@@ -182,9 +185,10 @@ module Google
|
|
182
185
|
params: query_string_params,
|
183
186
|
options: options
|
184
187
|
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
185
189
|
result = ::Google::Cloud::Compute::V1::RouteList.decode_json response.body, ignore_unknown_fields: true
|
186
190
|
|
187
|
-
yield result,
|
191
|
+
yield result, operation if block_given?
|
188
192
|
result
|
189
193
|
end
|
190
194
|
|
@@ -212,9 +212,9 @@ module Google
|
|
212
212
|
# The body resource for this request
|
213
213
|
# @param validate_only [::Boolean]
|
214
214
|
# If true, the request will not be committed.
|
215
|
-
# @yield [result,
|
215
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
216
216
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
217
|
-
# @yieldparam
|
217
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
218
218
|
#
|
219
219
|
# @return [::Gapic::GenericLRO::Operation]
|
220
220
|
#
|
@@ -294,9 +294,9 @@ module Google
|
|
294
294
|
# Name of the project scoping this request.
|
295
295
|
# @param return_partial_success [::Boolean]
|
296
296
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
297
|
-
# @yield [result,
|
297
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
298
298
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::SecurityPoliciesScopedList>]
|
299
|
-
# @yieldparam
|
299
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
300
300
|
#
|
301
301
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::SecurityPoliciesScopedList>]
|
302
302
|
#
|
@@ -328,9 +328,9 @@ module Google
|
|
328
328
|
metadata: @config.metadata,
|
329
329
|
retry_policy: @config.retry_policy
|
330
330
|
|
331
|
-
@security_policies_stub.aggregated_list request, options do |result,
|
331
|
+
@security_policies_stub.aggregated_list request, options do |result, operation|
|
332
332
|
result = ::Gapic::Rest::PagedEnumerable.new @security_policies_stub, :aggregated_list, "items", request, result, options
|
333
|
-
yield result,
|
333
|
+
yield result, operation if block_given?
|
334
334
|
return result
|
335
335
|
end
|
336
336
|
rescue ::Gapic::Rest::Error => e
|
@@ -361,9 +361,9 @@ module Google
|
|
361
361
|
# 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).
|
362
362
|
# @param security_policy [::String]
|
363
363
|
# Name of the security policy to delete.
|
364
|
-
# @yield [result,
|
364
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
365
365
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
366
|
-
# @yieldparam
|
366
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
367
367
|
#
|
368
368
|
# @return [::Gapic::GenericLRO::Operation]
|
369
369
|
#
|
@@ -433,9 +433,9 @@ module Google
|
|
433
433
|
# Project ID for this request.
|
434
434
|
# @param security_policy [::String]
|
435
435
|
# Name of the security policy to get.
|
436
|
-
# @yield [result,
|
436
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
437
437
|
# @yieldparam result [::Google::Cloud::Compute::V1::SecurityPolicy]
|
438
|
-
# @yieldparam
|
438
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
439
439
|
#
|
440
440
|
# @return [::Google::Cloud::Compute::V1::SecurityPolicy]
|
441
441
|
#
|
@@ -467,8 +467,8 @@ module Google
|
|
467
467
|
metadata: @config.metadata,
|
468
468
|
retry_policy: @config.retry_policy
|
469
469
|
|
470
|
-
@security_policies_stub.get request, options do |result,
|
471
|
-
yield result,
|
470
|
+
@security_policies_stub.get request, options do |result, operation|
|
471
|
+
yield result, operation if block_given?
|
472
472
|
return result
|
473
473
|
end
|
474
474
|
rescue ::Gapic::Rest::Error => e
|
@@ -499,9 +499,9 @@ module Google
|
|
499
499
|
# Project ID for this request.
|
500
500
|
# @param security_policy [::String]
|
501
501
|
# Name of the security policy to which the queried rule belongs.
|
502
|
-
# @yield [result,
|
502
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
503
503
|
# @yieldparam result [::Google::Cloud::Compute::V1::SecurityPolicyRule]
|
504
|
-
# @yieldparam
|
504
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
505
505
|
#
|
506
506
|
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRule]
|
507
507
|
#
|
@@ -533,8 +533,8 @@ module Google
|
|
533
533
|
metadata: @config.metadata,
|
534
534
|
retry_policy: @config.retry_policy
|
535
535
|
|
536
|
-
@security_policies_stub.get_rule request, options do |result,
|
537
|
-
yield result,
|
536
|
+
@security_policies_stub.get_rule request, options do |result, operation|
|
537
|
+
yield result, operation if block_given?
|
538
538
|
return result
|
539
539
|
end
|
540
540
|
rescue ::Gapic::Rest::Error => e
|
@@ -567,9 +567,9 @@ module Google
|
|
567
567
|
# The body resource for this request
|
568
568
|
# @param validate_only [::Boolean]
|
569
569
|
# If true, the request will not be committed.
|
570
|
-
# @yield [result,
|
570
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
571
571
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
572
|
-
# @yieldparam
|
572
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
573
573
|
#
|
574
574
|
# @return [::Gapic::GenericLRO::Operation]
|
575
575
|
#
|
@@ -647,9 +647,9 @@ module Google
|
|
647
647
|
# Project ID for this request.
|
648
648
|
# @param return_partial_success [::Boolean]
|
649
649
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
650
|
-
# @yield [result,
|
650
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
651
651
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
|
652
|
-
# @yieldparam
|
652
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
653
653
|
#
|
654
654
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
|
655
655
|
#
|
@@ -681,9 +681,9 @@ module Google
|
|
681
681
|
metadata: @config.metadata,
|
682
682
|
retry_policy: @config.retry_policy
|
683
683
|
|
684
|
-
@security_policies_stub.list request, options do |result,
|
684
|
+
@security_policies_stub.list request, options do |result, operation|
|
685
685
|
result = ::Gapic::Rest::PagedEnumerable.new @security_policies_stub, :list, "items", request, result, options
|
686
|
-
yield result,
|
686
|
+
yield result, operation if block_given?
|
687
687
|
return result
|
688
688
|
end
|
689
689
|
rescue ::Gapic::Rest::Error => e
|
@@ -720,9 +720,9 @@ module Google
|
|
720
720
|
# Project ID for this request.
|
721
721
|
# @param return_partial_success [::Boolean]
|
722
722
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
723
|
-
# @yield [result,
|
723
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
724
724
|
# @yieldparam result [::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
|
725
|
-
# @yieldparam
|
725
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
726
726
|
#
|
727
727
|
# @return [::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
|
728
728
|
#
|
@@ -754,8 +754,8 @@ module Google
|
|
754
754
|
metadata: @config.metadata,
|
755
755
|
retry_policy: @config.retry_policy
|
756
756
|
|
757
|
-
@security_policies_stub.list_preconfigured_expression_sets request, options do |result,
|
758
|
-
yield result,
|
757
|
+
@security_policies_stub.list_preconfigured_expression_sets request, options do |result, operation|
|
758
|
+
yield result, operation if block_given?
|
759
759
|
return result
|
760
760
|
end
|
761
761
|
rescue ::Gapic::Rest::Error => e
|
@@ -788,9 +788,9 @@ module Google
|
|
788
788
|
# Name of the security policy to update.
|
789
789
|
# @param security_policy_resource [::Google::Cloud::Compute::V1::SecurityPolicy, ::Hash]
|
790
790
|
# The body resource for this request
|
791
|
-
# @yield [result,
|
791
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
792
792
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
793
|
-
# @yieldparam
|
793
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
794
794
|
#
|
795
795
|
# @return [::Gapic::GenericLRO::Operation]
|
796
796
|
#
|
@@ -866,9 +866,9 @@ module Google
|
|
866
866
|
# The body resource for this request
|
867
867
|
# @param validate_only [::Boolean]
|
868
868
|
# If true, the request will not be committed.
|
869
|
-
# @yield [result,
|
869
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
870
870
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
871
|
-
# @yieldparam
|
871
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
872
872
|
#
|
873
873
|
# @return [::Gapic::GenericLRO::Operation]
|
874
874
|
#
|
@@ -940,9 +940,9 @@ module Google
|
|
940
940
|
# Project ID for this request.
|
941
941
|
# @param security_policy [::String]
|
942
942
|
# Name of the security policy to update.
|
943
|
-
# @yield [result,
|
943
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
944
944
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
945
|
-
# @yieldparam
|
945
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
946
946
|
#
|
947
947
|
# @return [::Gapic::GenericLRO::Operation]
|
948
948
|
#
|
@@ -1014,9 +1014,9 @@ module Google
|
|
1014
1014
|
# Project ID for this request.
|
1015
1015
|
# @param resource [::String]
|
1016
1016
|
# Name or id of the resource for this request.
|
1017
|
-
# @yield [result,
|
1017
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1018
1018
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1019
|
-
# @yieldparam
|
1019
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1020
1020
|
#
|
1021
1021
|
# @return [::Gapic::GenericLRO::Operation]
|
1022
1022
|
#
|