google-cloud-compute-v1 3.4.0 → 3.6.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/compute/v1/accelerator_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
- data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
- data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
- data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/advice.rb +47 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +573 -23
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +357 -25
- data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +508 -42
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
- data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
- data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
- data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1363 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +387 -29
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1363 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
- data/lib/google/cloud/compute/v1/region_snapshot_settings/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
- data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
- data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/rest.rb +17 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +245 -13
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +17 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
- metadata +87 -2
|
@@ -230,11 +230,24 @@ module Google
|
|
|
230
230
|
# @param global_network_endpoint_groups_attach_endpoints_request_resource [::Google::Cloud::Compute::V1::GlobalNetworkEndpointGroupsAttachEndpointsRequest, ::Hash]
|
|
231
231
|
# The body resource for this request
|
|
232
232
|
# @param network_endpoint_group [::String]
|
|
233
|
-
# The name of the network endpoint group where you are attaching network
|
|
233
|
+
# The name of the network endpoint group where you are attaching network
|
|
234
|
+
# endpoints to. It should comply with RFC1035.
|
|
234
235
|
# @param project [::String]
|
|
235
236
|
# Project ID for this request.
|
|
236
237
|
# @param request_id [::String]
|
|
237
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
238
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
239
|
+
# that if you must retry your request, the server will know to ignore the
|
|
240
|
+
# request if it has already been completed.
|
|
241
|
+
#
|
|
242
|
+
# For example, consider a situation where you make an initial request and
|
|
243
|
+
# the request times out. If you make the request again with the same
|
|
244
|
+
# request ID, the server can check if original operation with the same
|
|
245
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
246
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
247
|
+
#
|
|
248
|
+
# The request ID must be
|
|
249
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
250
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
238
251
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
239
252
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
240
253
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -303,7 +316,8 @@ module Google
|
|
|
303
316
|
end
|
|
304
317
|
|
|
305
318
|
##
|
|
306
|
-
# Deletes the specified network endpoint group.Note that the NEG cannot be
|
|
319
|
+
# Deletes the specified network endpoint group.Note that the NEG cannot be
|
|
320
|
+
# deleted if there are backend services referencing it.
|
|
307
321
|
#
|
|
308
322
|
# @overload delete(request, options = nil)
|
|
309
323
|
# Pass arguments to `delete` via a request object, either of type
|
|
@@ -321,11 +335,24 @@ module Google
|
|
|
321
335
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
322
336
|
#
|
|
323
337
|
# @param network_endpoint_group [::String]
|
|
324
|
-
# The name of the network endpoint group to delete. It should comply with
|
|
338
|
+
# The name of the network endpoint group to delete. It should comply with
|
|
339
|
+
# RFC1035.
|
|
325
340
|
# @param project [::String]
|
|
326
341
|
# Project ID for this request.
|
|
327
342
|
# @param request_id [::String]
|
|
328
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
343
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
344
|
+
# that if you must retry your request, the server will know to ignore the
|
|
345
|
+
# request if it has already been completed.
|
|
346
|
+
#
|
|
347
|
+
# For example, consider a situation where you make an initial request and
|
|
348
|
+
# the request times out. If you make the request again with the same
|
|
349
|
+
# request ID, the server can check if original operation with the same
|
|
350
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
351
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
352
|
+
#
|
|
353
|
+
# The request ID must be
|
|
354
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
355
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
329
356
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
330
357
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
331
358
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -414,11 +441,24 @@ module Google
|
|
|
414
441
|
# @param global_network_endpoint_groups_detach_endpoints_request_resource [::Google::Cloud::Compute::V1::GlobalNetworkEndpointGroupsDetachEndpointsRequest, ::Hash]
|
|
415
442
|
# The body resource for this request
|
|
416
443
|
# @param network_endpoint_group [::String]
|
|
417
|
-
# The name of the network endpoint group where you are removing network
|
|
444
|
+
# The name of the network endpoint group where you are removing network
|
|
445
|
+
# endpoints. It should comply with RFC1035.
|
|
418
446
|
# @param project [::String]
|
|
419
447
|
# Project ID for this request.
|
|
420
448
|
# @param request_id [::String]
|
|
421
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
449
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
450
|
+
# that if you must retry your request, the server will know to ignore the
|
|
451
|
+
# request if it has already been completed.
|
|
452
|
+
#
|
|
453
|
+
# For example, consider a situation where you make an initial request and
|
|
454
|
+
# the request times out. If you make the request again with the same
|
|
455
|
+
# request ID, the server can check if original operation with the same
|
|
456
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
457
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
458
|
+
#
|
|
459
|
+
# The request ID must be
|
|
460
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
461
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
422
462
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
423
463
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
424
464
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -567,7 +607,22 @@ module Google
|
|
|
567
607
|
end
|
|
568
608
|
|
|
569
609
|
##
|
|
570
|
-
# Creates a network endpoint group in the specified project using the
|
|
610
|
+
# Creates a network endpoint group in the specified project using the
|
|
611
|
+
# parameters that are included in the request.
|
|
612
|
+
#
|
|
613
|
+
# Note: Use the following APIs to manage network endpoint groups:
|
|
614
|
+
#
|
|
615
|
+
# -
|
|
616
|
+
# To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
|
|
617
|
+
# NEGs): zonal
|
|
618
|
+
# API
|
|
619
|
+
# -
|
|
620
|
+
# To manage NEGs with regional scope (such as regional internet NEGs,
|
|
621
|
+
# serverless NEGs, Private Service Connect NEGs): regional
|
|
622
|
+
# API
|
|
623
|
+
# -
|
|
624
|
+
# To manage NEGs with global scope (such as global internet NEGs):global
|
|
625
|
+
# API
|
|
571
626
|
#
|
|
572
627
|
# @overload insert(request, options = nil)
|
|
573
628
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -589,7 +644,19 @@ module Google
|
|
|
589
644
|
# @param project [::String]
|
|
590
645
|
# Project ID for this request.
|
|
591
646
|
# @param request_id [::String]
|
|
592
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
647
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
648
|
+
# that if you must retry your request, the server will know to ignore the
|
|
649
|
+
# request if it has already been completed.
|
|
650
|
+
#
|
|
651
|
+
# For example, consider a situation where you make an initial request and
|
|
652
|
+
# the request times out. If you make the request again with the same
|
|
653
|
+
# request ID, the server can check if original operation with the same
|
|
654
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
655
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
656
|
+
#
|
|
657
|
+
# The request ID must be
|
|
658
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
659
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
593
660
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
594
661
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
595
662
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -658,7 +725,8 @@ module Google
|
|
|
658
725
|
end
|
|
659
726
|
|
|
660
727
|
##
|
|
661
|
-
# Retrieves the list of network endpoint groups that are located in the
|
|
728
|
+
# Retrieves the list of network endpoint groups that are located in the
|
|
729
|
+
# specified project.
|
|
662
730
|
#
|
|
663
731
|
# @overload list(request, options = nil)
|
|
664
732
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -676,17 +744,95 @@ module Google
|
|
|
676
744
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
677
745
|
#
|
|
678
746
|
# @param filter [::String]
|
|
679
|
-
# A filter expression that filters resources listed in the response. Most
|
|
747
|
+
# A filter expression that filters resources listed in the response. Most
|
|
748
|
+
# Compute resources support two types of filter expressions:
|
|
749
|
+
# expressions that support regular expressions and expressions that follow
|
|
750
|
+
# API improvement proposal AIP-160.
|
|
751
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
752
|
+
#
|
|
753
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
754
|
+
# operator, and the value that you want to use for filtering. The value
|
|
755
|
+
# must be a string, a number, or a boolean. The operator
|
|
756
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
757
|
+
#
|
|
758
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
759
|
+
# exclude instances named `example-instance` by specifying
|
|
760
|
+
# `name != example-instance`.
|
|
761
|
+
#
|
|
762
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
763
|
+
# For example, to find all objects with `owner` label use:
|
|
764
|
+
# ```
|
|
765
|
+
# labels.owner:*
|
|
766
|
+
# ```
|
|
767
|
+
#
|
|
768
|
+
# You can also filter nested fields. For example, you could specify
|
|
769
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
770
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
771
|
+
# on nested fields to filter based onresource labels.
|
|
772
|
+
#
|
|
773
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
774
|
+
# parentheses. For example:
|
|
775
|
+
# ```
|
|
776
|
+
# (scheduling.automaticRestart = true)
|
|
777
|
+
# (cpuPlatform = "Intel Skylake")
|
|
778
|
+
# ```
|
|
779
|
+
# By default, each expression is an `AND` expression. However, you
|
|
780
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
781
|
+
# For example:
|
|
782
|
+
# ```
|
|
783
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
784
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
785
|
+
# (scheduling.automaticRestart = true)
|
|
786
|
+
# ```
|
|
787
|
+
#
|
|
788
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
789
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
790
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
791
|
+
#
|
|
792
|
+
# `fieldname eq unquoted literal`
|
|
793
|
+
# `fieldname eq 'single quoted literal'`
|
|
794
|
+
# `fieldname eq "double quoted literal"`
|
|
795
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
796
|
+
#
|
|
797
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
798
|
+
# The literal value must match the entire field.
|
|
799
|
+
#
|
|
800
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
801
|
+
# you would use `name ne .*instance`.
|
|
802
|
+
#
|
|
803
|
+
# You cannot combine constraints on multiple fields using regular
|
|
804
|
+
# expressions.
|
|
680
805
|
# @param max_results [::Integer]
|
|
681
|
-
# The maximum number of results per page that should be returned.
|
|
806
|
+
# The maximum number of results per page that should be returned.
|
|
807
|
+
# If the number of available results is larger than `maxResults`,
|
|
808
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
809
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
810
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
682
811
|
# @param order_by [::String]
|
|
683
|
-
# Sorts list results by a certain order. By default, results
|
|
812
|
+
# Sorts list results by a certain order. By default, results
|
|
813
|
+
# are returned in alphanumerical order based on the resource name.
|
|
814
|
+
#
|
|
815
|
+
# You can also sort results in descending order based on the creation
|
|
816
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
817
|
+
# results based on the `creationTimestamp` field in
|
|
818
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
819
|
+
# resources like operations so that the newest operation is returned first.
|
|
820
|
+
#
|
|
821
|
+
# Currently, only sorting by `name` or
|
|
822
|
+
# `creationTimestamp desc` is supported.
|
|
684
823
|
# @param page_token [::String]
|
|
685
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
824
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
825
|
+
# `nextPageToken` returned by a previous list request to get
|
|
826
|
+
# the next page of results.
|
|
686
827
|
# @param project [::String]
|
|
687
828
|
# Project ID for this request.
|
|
688
829
|
# @param return_partial_success [::Boolean]
|
|
689
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
830
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
831
|
+
# of failure. The default value is false.
|
|
832
|
+
#
|
|
833
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
834
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
835
|
+
# with an error code.
|
|
690
836
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
691
837
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
|
|
692
838
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -766,19 +912,98 @@ module Google
|
|
|
766
912
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
767
913
|
#
|
|
768
914
|
# @param filter [::String]
|
|
769
|
-
# A filter expression that filters resources listed in the response. Most
|
|
915
|
+
# A filter expression that filters resources listed in the response. Most
|
|
916
|
+
# Compute resources support two types of filter expressions:
|
|
917
|
+
# expressions that support regular expressions and expressions that follow
|
|
918
|
+
# API improvement proposal AIP-160.
|
|
919
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
920
|
+
#
|
|
921
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
922
|
+
# operator, and the value that you want to use for filtering. The value
|
|
923
|
+
# must be a string, a number, or a boolean. The operator
|
|
924
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
925
|
+
#
|
|
926
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
927
|
+
# exclude instances named `example-instance` by specifying
|
|
928
|
+
# `name != example-instance`.
|
|
929
|
+
#
|
|
930
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
931
|
+
# For example, to find all objects with `owner` label use:
|
|
932
|
+
# ```
|
|
933
|
+
# labels.owner:*
|
|
934
|
+
# ```
|
|
935
|
+
#
|
|
936
|
+
# You can also filter nested fields. For example, you could specify
|
|
937
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
938
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
939
|
+
# on nested fields to filter based onresource labels.
|
|
940
|
+
#
|
|
941
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
942
|
+
# parentheses. For example:
|
|
943
|
+
# ```
|
|
944
|
+
# (scheduling.automaticRestart = true)
|
|
945
|
+
# (cpuPlatform = "Intel Skylake")
|
|
946
|
+
# ```
|
|
947
|
+
# By default, each expression is an `AND` expression. However, you
|
|
948
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
949
|
+
# For example:
|
|
950
|
+
# ```
|
|
951
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
952
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
953
|
+
# (scheduling.automaticRestart = true)
|
|
954
|
+
# ```
|
|
955
|
+
#
|
|
956
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
957
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
958
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
959
|
+
#
|
|
960
|
+
# `fieldname eq unquoted literal`
|
|
961
|
+
# `fieldname eq 'single quoted literal'`
|
|
962
|
+
# `fieldname eq "double quoted literal"`
|
|
963
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
964
|
+
#
|
|
965
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
966
|
+
# The literal value must match the entire field.
|
|
967
|
+
#
|
|
968
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
969
|
+
# you would use `name ne .*instance`.
|
|
970
|
+
#
|
|
971
|
+
# You cannot combine constraints on multiple fields using regular
|
|
972
|
+
# expressions.
|
|
770
973
|
# @param max_results [::Integer]
|
|
771
|
-
# The maximum number of results per page that should be returned.
|
|
974
|
+
# The maximum number of results per page that should be returned.
|
|
975
|
+
# If the number of available results is larger than `maxResults`,
|
|
976
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
977
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
978
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
772
979
|
# @param network_endpoint_group [::String]
|
|
773
|
-
# The name of the network endpoint group from which you want to generate a
|
|
980
|
+
# The name of the network endpoint group from which you want to generate a
|
|
981
|
+
# list of included network endpoints. It should comply with RFC1035.
|
|
774
982
|
# @param order_by [::String]
|
|
775
|
-
# Sorts list results by a certain order. By default, results
|
|
983
|
+
# Sorts list results by a certain order. By default, results
|
|
984
|
+
# are returned in alphanumerical order based on the resource name.
|
|
985
|
+
#
|
|
986
|
+
# You can also sort results in descending order based on the creation
|
|
987
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
988
|
+
# results based on the `creationTimestamp` field in
|
|
989
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
990
|
+
# resources like operations so that the newest operation is returned first.
|
|
991
|
+
#
|
|
992
|
+
# Currently, only sorting by `name` or
|
|
993
|
+
# `creationTimestamp desc` is supported.
|
|
776
994
|
# @param page_token [::String]
|
|
777
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
995
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
996
|
+
# `nextPageToken` returned by a previous list request to get
|
|
997
|
+
# the next page of results.
|
|
778
998
|
# @param project [::String]
|
|
779
999
|
# Project ID for this request.
|
|
780
1000
|
# @param return_partial_success [::Boolean]
|
|
781
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1001
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1002
|
+
# of failure. The default value is false.
|
|
1003
|
+
#
|
|
1004
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1005
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1006
|
+
# with an error code.
|
|
782
1007
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
783
1008
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
|
|
784
1009
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|