google-cloud-compute-v1 3.12.0 → 4.0.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 +5 -17
- data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/accelerator_types.rb +2 -0
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/addresses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/addresses.rb +2 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/advice/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/advice.rb +2 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/autoscalers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/autoscalers.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_buckets.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/backend_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_services.rb +2 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +19 -1
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +2 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/disk_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/disk_types.rb +2 -0
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/disks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/disks.rb +2 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/firewalls/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/firewalls.rb +2 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/forwarding_rules.rb +2 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_addresses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_addresses.rb +2 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +2 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/client.rb +524 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service.rb +49 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/hosts/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/hosts/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/hosts.rb +2 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/image_family_views.rb +2 -0
- data/lib/google/cloud/compute/v1/image_views/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/image_views/rest/client.rb +612 -0
- data/lib/google/cloud/compute/v1/image_views/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/image_views/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/image_views.rb +49 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/images/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/images.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +8 -41
- data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_managers.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/instance_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_settings_service.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/instance_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instances.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_locations.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +118 -9
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/interconnects/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnects.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/license_codes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes.rb +2 -0
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/licenses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/licenses.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/machine_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_types.rb +2 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest/client.rb +606 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest/service_stub.rb +204 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/managed_rulesets.rb +49 -0
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/network_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services.rb +2 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/network_profiles/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_profiles.rb +2 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/networks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/networks.rb +2 -0
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/node_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/node_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/node_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_types.rb +2 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings.rb +2 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +2 -0
- data/lib/google/cloud/compute/v1/project_views/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/project_views/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/project_views.rb +2 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/projects/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/projects.rb +2 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_autoscalers.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_services.rb +2 -0
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_commitments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_commitments.rb +2 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disk_types.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_disks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_check_services.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +7 -33
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/region_instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instances.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +2 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_url_maps.rb +2 -0
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_zones/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_zones.rb +2 -0
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/regions/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/regions.rb +2 -0
- data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reliability_risks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_blocks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/reservations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservations.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/resource_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/rest.rb +3 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/rollout_plans.rb +2 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/rollouts/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/rollouts.rb +2 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +9 -49
- data/lib/google/cloud/compute/v1/routers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/routers.rb +2 -0
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/routes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/routes.rb +2 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/service_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_certificates.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pool_types.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/storage_pools/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pools.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/subnetworks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks.rb +2 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_https_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_instances.rb +2 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_pools/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_pools.rb +2 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/url_maps/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/url_maps.rb +2 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels.rb +2 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zones/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zones.rb +2 -0
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +566 -1614
- metadata +16 -1
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The InterconnectRemoteLocations API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses InterconnectRemoteLocations version 2026-09-01.
|
|
35
|
+
#
|
|
34
36
|
class Client
|
|
35
37
|
# @private
|
|
36
|
-
API_VERSION = ""
|
|
38
|
+
API_VERSION = "2026-09-01"
|
|
37
39
|
|
|
38
40
|
# @private
|
|
39
41
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -279,7 +281,7 @@ module Google
|
|
|
279
281
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
280
282
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
281
283
|
#
|
|
282
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
284
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
283
285
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
284
286
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
285
287
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -367,13 +369,6 @@ module Google
|
|
|
367
369
|
# the next page of results.
|
|
368
370
|
# @param project [::String]
|
|
369
371
|
# Project ID for this request.
|
|
370
|
-
# @param return_partial_success [::Boolean]
|
|
371
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
372
|
-
# of failure. The default value is false.
|
|
373
|
-
#
|
|
374
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
375
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
376
|
-
# with an error code.
|
|
377
372
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
378
373
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InterconnectRemoteLocation>]
|
|
379
374
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The InterconnectRemoteLocations API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses InterconnectRemoteLocations version 2026-09-01.
|
|
36
|
+
#
|
|
35
37
|
# To load this service and instantiate a REST client:
|
|
36
38
|
#
|
|
37
39
|
# require "google/cloud/compute/v1/interconnect_remote_locations/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The InterconnectRemoteLocations API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses InterconnectRemoteLocations version 2026-09-01.
|
|
35
|
+
#
|
|
34
36
|
# @example Load this service and instantiate a REST client
|
|
35
37
|
#
|
|
36
38
|
# require "google/cloud/compute/v1/interconnect_remote_locations/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The Interconnects API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses Interconnects version 2026-09-01.
|
|
36
|
+
#
|
|
35
37
|
class Client
|
|
36
38
|
# @private
|
|
37
|
-
API_VERSION = ""
|
|
39
|
+
API_VERSION = "2026-09-01"
|
|
38
40
|
|
|
39
41
|
# @private
|
|
40
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -99,6 +101,8 @@ module Google
|
|
|
99
101
|
|
|
100
102
|
default_config.rpcs.set_labels.timeout = 600.0
|
|
101
103
|
|
|
104
|
+
default_config.rpcs.set_name.timeout = 600.0
|
|
105
|
+
|
|
102
106
|
default_config
|
|
103
107
|
end
|
|
104
108
|
yield @configure if block_given?
|
|
@@ -688,7 +692,7 @@ module Google
|
|
|
688
692
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
689
693
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
690
694
|
#
|
|
691
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
695
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
692
696
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
693
697
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
694
698
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -776,13 +780,6 @@ module Google
|
|
|
776
780
|
# the next page of results.
|
|
777
781
|
# @param project [::String]
|
|
778
782
|
# Project ID for this request.
|
|
779
|
-
# @param return_partial_success [::Boolean]
|
|
780
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
781
|
-
# of failure. The default value is false.
|
|
782
|
-
#
|
|
783
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
784
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
785
|
-
# with an error code.
|
|
786
783
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
787
784
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Interconnect>]
|
|
788
785
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1044,6 +1041,111 @@ module Google
|
|
|
1044
1041
|
raise ::Google::Cloud::Error.from_error(e)
|
|
1045
1042
|
end
|
|
1046
1043
|
|
|
1044
|
+
##
|
|
1045
|
+
# Sets name of an interconnect.
|
|
1046
|
+
#
|
|
1047
|
+
# @overload set_name(request, options = nil)
|
|
1048
|
+
# Pass arguments to `set_name` via a request object, either of type
|
|
1049
|
+
# {::Google::Cloud::Compute::V1::SetNameInterconnectRequest} or an equivalent Hash.
|
|
1050
|
+
#
|
|
1051
|
+
# @param request [::Google::Cloud::Compute::V1::SetNameInterconnectRequest, ::Hash]
|
|
1052
|
+
# A request object representing the call parameters. Required. To specify no
|
|
1053
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
1054
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1055
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1056
|
+
#
|
|
1057
|
+
# @overload set_name(interconnect: nil, interconnects_set_name_request_resource: nil, project: nil, request_id: nil)
|
|
1058
|
+
# Pass arguments to `set_name` via keyword arguments. Note that at
|
|
1059
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1060
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1061
|
+
#
|
|
1062
|
+
# @param interconnect [::String]
|
|
1063
|
+
# Name of the interconnect to update.
|
|
1064
|
+
# @param interconnects_set_name_request_resource [::Google::Cloud::Compute::V1::InterconnectsSetNameRequest, ::Hash]
|
|
1065
|
+
# The body resource for this request
|
|
1066
|
+
# @param project [::String]
|
|
1067
|
+
# Project ID for this request.
|
|
1068
|
+
# @param request_id [::String]
|
|
1069
|
+
# An optional request ID to identify requests. Specify a unique request ID
|
|
1070
|
+
# so that if you must retry your request, the server will know to ignore
|
|
1071
|
+
# the request if it has already been completed.
|
|
1072
|
+
#
|
|
1073
|
+
# For example, consider a situation where you make an initial request and
|
|
1074
|
+
# the request times out. If you make the request again with the same
|
|
1075
|
+
# request ID, the server can check if original operation with the same
|
|
1076
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1077
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1078
|
+
#
|
|
1079
|
+
# The request ID must be
|
|
1080
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1081
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1082
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1083
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1084
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1085
|
+
#
|
|
1086
|
+
# @return [::Gapic::GenericLRO::Operation]
|
|
1087
|
+
#
|
|
1088
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
1089
|
+
#
|
|
1090
|
+
# @example Basic example
|
|
1091
|
+
# require "google/cloud/compute/v1"
|
|
1092
|
+
#
|
|
1093
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
1094
|
+
# client = Google::Cloud::Compute::V1::Interconnects::Rest::Client.new
|
|
1095
|
+
#
|
|
1096
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
1097
|
+
# request = Google::Cloud::Compute::V1::SetNameInterconnectRequest.new
|
|
1098
|
+
#
|
|
1099
|
+
# # Call the set_name method.
|
|
1100
|
+
# result = client.set_name request
|
|
1101
|
+
#
|
|
1102
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
|
1103
|
+
# p result
|
|
1104
|
+
#
|
|
1105
|
+
def set_name request, options = nil
|
|
1106
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
1107
|
+
|
|
1108
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::SetNameInterconnectRequest
|
|
1109
|
+
|
|
1110
|
+
# Converts hash and nil to an options object
|
|
1111
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
1112
|
+
|
|
1113
|
+
# Customize the options with defaults
|
|
1114
|
+
call_metadata = @config.rpcs.set_name.metadata.to_h
|
|
1115
|
+
|
|
1116
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1117
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1118
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1119
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
1120
|
+
transports_version_send: [:rest]
|
|
1121
|
+
|
|
1122
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1123
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1124
|
+
|
|
1125
|
+
options.apply_defaults timeout: @config.rpcs.set_name.timeout,
|
|
1126
|
+
metadata: call_metadata,
|
|
1127
|
+
retry_policy: @config.rpcs.set_name.retry_policy
|
|
1128
|
+
|
|
1129
|
+
options.apply_defaults timeout: @config.timeout,
|
|
1130
|
+
metadata: @config.metadata,
|
|
1131
|
+
retry_policy: @config.retry_policy
|
|
1132
|
+
|
|
1133
|
+
@interconnects_stub.set_name request, options do |result, response|
|
|
1134
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
|
1135
|
+
operation: result,
|
|
1136
|
+
client: global_operations,
|
|
1137
|
+
request_values: {
|
|
1138
|
+
"project" => request.project
|
|
1139
|
+
},
|
|
1140
|
+
options: options
|
|
1141
|
+
)
|
|
1142
|
+
yield result, response if block_given?
|
|
1143
|
+
throw :response, result
|
|
1144
|
+
end
|
|
1145
|
+
rescue ::Gapic::Rest::Error => e
|
|
1146
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1047
1149
|
##
|
|
1048
1150
|
# Configuration class for the Interconnects REST API.
|
|
1049
1151
|
#
|
|
@@ -1232,6 +1334,11 @@ module Google
|
|
|
1232
1334
|
# @return [::Gapic::Config::Method]
|
|
1233
1335
|
#
|
|
1234
1336
|
attr_reader :set_labels
|
|
1337
|
+
##
|
|
1338
|
+
# RPC-specific configuration for `set_name`
|
|
1339
|
+
# @return [::Gapic::Config::Method]
|
|
1340
|
+
#
|
|
1341
|
+
attr_reader :set_name
|
|
1235
1342
|
|
|
1236
1343
|
# @private
|
|
1237
1344
|
def initialize parent_rpcs = nil
|
|
@@ -1251,6 +1358,8 @@ module Google
|
|
|
1251
1358
|
@patch = ::Gapic::Config::Method.new patch_config
|
|
1252
1359
|
set_labels_config = parent_rpcs.set_labels if parent_rpcs.respond_to? :set_labels
|
|
1253
1360
|
@set_labels = ::Gapic::Config::Method.new set_labels_config
|
|
1361
|
+
set_name_config = parent_rpcs.set_name if parent_rpcs.respond_to? :set_name
|
|
1362
|
+
@set_name = ::Gapic::Config::Method.new set_name_config
|
|
1254
1363
|
|
|
1255
1364
|
yield self if block_given?
|
|
1256
1365
|
end
|
|
@@ -393,6 +393,46 @@ module Google
|
|
|
393
393
|
end
|
|
394
394
|
end
|
|
395
395
|
|
|
396
|
+
##
|
|
397
|
+
# Baseline implementation for the set_name REST call
|
|
398
|
+
#
|
|
399
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetNameInterconnectRequest]
|
|
400
|
+
# A request object representing the call parameters. Required.
|
|
401
|
+
# @param options [::Gapic::CallOptions]
|
|
402
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
403
|
+
#
|
|
404
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
405
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
|
406
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
407
|
+
#
|
|
408
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
|
409
|
+
# A result object deserialized from the server's reply
|
|
410
|
+
def set_name request_pb, options = nil
|
|
411
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
412
|
+
|
|
413
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_set_name_request request_pb
|
|
414
|
+
query_string_params = if query_string_params.any?
|
|
415
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
416
|
+
else
|
|
417
|
+
{}
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
response = @client_stub.make_http_request(
|
|
421
|
+
verb,
|
|
422
|
+
uri: uri,
|
|
423
|
+
body: body || "",
|
|
424
|
+
params: query_string_params,
|
|
425
|
+
method_name: "set_name",
|
|
426
|
+
options: options
|
|
427
|
+
)
|
|
428
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
429
|
+
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
430
|
+
catch :response do
|
|
431
|
+
yield result, operation if block_given?
|
|
432
|
+
result
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
396
436
|
##
|
|
397
437
|
# @private
|
|
398
438
|
#
|
|
@@ -569,6 +609,29 @@ module Google
|
|
|
569
609
|
)
|
|
570
610
|
transcoder.transcode request_pb
|
|
571
611
|
end
|
|
612
|
+
|
|
613
|
+
##
|
|
614
|
+
# @private
|
|
615
|
+
#
|
|
616
|
+
# GRPC transcoding helper method for the set_name REST call
|
|
617
|
+
#
|
|
618
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetNameInterconnectRequest]
|
|
619
|
+
# A request object representing the call parameters. Required.
|
|
620
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
621
|
+
# Uri, Body, Query string parameters
|
|
622
|
+
def self.transcode_set_name_request request_pb
|
|
623
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
624
|
+
.with_bindings(
|
|
625
|
+
uri_method: :post,
|
|
626
|
+
uri_template: "/compute/v1/projects/{project}/global/interconnects/{interconnect}/setName",
|
|
627
|
+
body: "interconnects_set_name_request_resource",
|
|
628
|
+
matches: [
|
|
629
|
+
["project", %r{^[^/]+/?$}, false],
|
|
630
|
+
["interconnect", %r{^[^/]+/?$}, false]
|
|
631
|
+
]
|
|
632
|
+
)
|
|
633
|
+
transcoder.transcode request_pb
|
|
634
|
+
end
|
|
572
635
|
end
|
|
573
636
|
end
|
|
574
637
|
end
|
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The LicenseCodes API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses LicenseCodes version 2026-09-01.
|
|
35
|
+
#
|
|
34
36
|
class Client
|
|
35
37
|
# @private
|
|
36
|
-
API_VERSION = ""
|
|
38
|
+
API_VERSION = "2026-09-01"
|
|
37
39
|
|
|
38
40
|
# @private
|
|
39
41
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The Licenses API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses Licenses version 2026-09-01.
|
|
36
|
+
#
|
|
35
37
|
class Client
|
|
36
38
|
# @private
|
|
37
|
-
API_VERSION = ""
|
|
39
|
+
API_VERSION = "2026-09-01"
|
|
38
40
|
|
|
39
41
|
# @private
|
|
40
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -616,7 +618,7 @@ module Google
|
|
|
616
618
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
617
619
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
618
620
|
#
|
|
619
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
621
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
620
622
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
621
623
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
622
624
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -704,13 +706,6 @@ module Google
|
|
|
704
706
|
# the next page of results.
|
|
705
707
|
# @param project [::String]
|
|
706
708
|
# Project ID for this request.
|
|
707
|
-
# @param return_partial_success [::Boolean]
|
|
708
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
709
|
-
# of failure. The default value is false.
|
|
710
|
-
#
|
|
711
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
712
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
713
|
-
# with an error code.
|
|
714
709
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
715
710
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::License>]
|
|
716
711
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The MachineImages API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses MachineImages version 2026-09-01.
|
|
36
|
+
#
|
|
35
37
|
class Client
|
|
36
38
|
# @private
|
|
37
|
-
API_VERSION = ""
|
|
39
|
+
API_VERSION = "2026-09-01"
|
|
38
40
|
|
|
39
41
|
# @private
|
|
40
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -604,7 +606,7 @@ module Google
|
|
|
604
606
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
605
607
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
606
608
|
#
|
|
607
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
609
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
608
610
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
609
611
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
610
612
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -692,13 +694,6 @@ module Google
|
|
|
692
694
|
# the next page of results.
|
|
693
695
|
# @param project [::String]
|
|
694
696
|
# Project ID for this request.
|
|
695
|
-
# @param return_partial_success [::Boolean]
|
|
696
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
697
|
-
# of failure. The default value is false.
|
|
698
|
-
#
|
|
699
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
700
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
701
|
-
# with an error code.
|
|
702
697
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
703
698
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::MachineImage>]
|
|
704
699
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The MachineTypes API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses MachineTypes version 2026-09-01.
|
|
35
|
+
#
|
|
34
36
|
class Client
|
|
35
37
|
# @private
|
|
36
|
-
API_VERSION = ""
|
|
38
|
+
API_VERSION = "2026-09-01"
|
|
37
39
|
|
|
38
40
|
# @private
|
|
39
41
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -205,7 +207,7 @@ module Google
|
|
|
205
207
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
206
208
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
207
209
|
#
|
|
208
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
210
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
209
211
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
210
212
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
211
213
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -301,13 +303,6 @@ module Google
|
|
|
301
303
|
# the next page of results.
|
|
302
304
|
# @param project [::String]
|
|
303
305
|
# Project ID for this request.
|
|
304
|
-
# @param return_partial_success [::Boolean]
|
|
305
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
306
|
-
# of failure. The default value is false.
|
|
307
|
-
#
|
|
308
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
309
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
310
|
-
# with an error code.
|
|
311
306
|
# @param service_project_number [::Integer]
|
|
312
307
|
# The Shared VPC service project id or service project number for which
|
|
313
308
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -467,7 +462,7 @@ module Google
|
|
|
467
462
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
468
463
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
469
464
|
#
|
|
470
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
465
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
471
466
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
472
467
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
473
468
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -555,13 +550,6 @@ module Google
|
|
|
555
550
|
# the next page of results.
|
|
556
551
|
# @param project [::String]
|
|
557
552
|
# Project ID for this request.
|
|
558
|
-
# @param return_partial_success [::Boolean]
|
|
559
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
560
|
-
# of failure. The default value is false.
|
|
561
|
-
#
|
|
562
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
563
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
564
|
-
# with an error code.
|
|
565
553
|
# @param zone [::String]
|
|
566
554
|
# The name of the zone for this request.
|
|
567
555
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "googleauth"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Compute
|
|
24
|
+
module V1
|
|
25
|
+
module ManagedRulesets
|
|
26
|
+
# Credentials for the ManagedRulesets API.
|
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
|
28
|
+
self.scope = [
|
|
29
|
+
"https://www.googleapis.com/auth/compute.readonly",
|
|
30
|
+
"https://www.googleapis.com/auth/compute",
|
|
31
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
32
|
+
]
|
|
33
|
+
self.env_vars = [
|
|
34
|
+
"COMPUTE_CREDENTIALS",
|
|
35
|
+
"COMPUTE_KEYFILE",
|
|
36
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
|
37
|
+
"GOOGLE_CLOUD_KEYFILE",
|
|
38
|
+
"GCLOUD_KEYFILE",
|
|
39
|
+
"COMPUTE_CREDENTIALS_JSON",
|
|
40
|
+
"COMPUTE_KEYFILE_JSON",
|
|
41
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
|
42
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
|
43
|
+
"GCLOUD_KEYFILE_JSON"
|
|
44
|
+
]
|
|
45
|
+
self.paths = [
|
|
46
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
|
47
|
+
]
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|