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
|
@@ -0,0 +1,204 @@
|
|
|
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 "google/cloud/compute/v1/compute_pb"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Compute
|
|
24
|
+
module V1
|
|
25
|
+
module GlobalFrontendSettingsService
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the GlobalFrontendSettingsService service.
|
|
29
|
+
# Service stub contains baseline method implementations
|
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
|
31
|
+
#
|
|
32
|
+
class ServiceStub
|
|
33
|
+
# @private
|
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
|
35
|
+
# These require statements are intentionally placed here to initialize
|
|
36
|
+
# the REST modules only when it's required.
|
|
37
|
+
require "gapic/rest"
|
|
38
|
+
|
|
39
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
|
40
|
+
endpoint_template: endpoint_template,
|
|
41
|
+
universe_domain: universe_domain,
|
|
42
|
+
credentials: credentials,
|
|
43
|
+
numeric_enums: false,
|
|
44
|
+
service_name: self.class,
|
|
45
|
+
raise_faraday_errors: false,
|
|
46
|
+
logger: logger
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
##
|
|
50
|
+
# The effective universe domain
|
|
51
|
+
#
|
|
52
|
+
# @return [String]
|
|
53
|
+
#
|
|
54
|
+
def universe_domain
|
|
55
|
+
@client_stub.universe_domain
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
##
|
|
59
|
+
# The effective endpoint
|
|
60
|
+
#
|
|
61
|
+
# @return [String]
|
|
62
|
+
#
|
|
63
|
+
def endpoint
|
|
64
|
+
@client_stub.endpoint
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
##
|
|
68
|
+
# The logger used for request/response debug logging.
|
|
69
|
+
#
|
|
70
|
+
# @return [Logger]
|
|
71
|
+
#
|
|
72
|
+
def logger stub: false
|
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
##
|
|
77
|
+
# Baseline implementation for the get REST call
|
|
78
|
+
#
|
|
79
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetGlobalFrontendSettingRequest]
|
|
80
|
+
# A request object representing the call parameters. Required.
|
|
81
|
+
# @param options [::Gapic::CallOptions]
|
|
82
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
83
|
+
#
|
|
84
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
85
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::GlobalFrontendSettings]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Cloud::Compute::V1::GlobalFrontendSettings]
|
|
89
|
+
# A result object deserialized from the server's reply
|
|
90
|
+
def get request_pb, options = nil
|
|
91
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
92
|
+
|
|
93
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_request request_pb
|
|
94
|
+
query_string_params = if query_string_params.any?
|
|
95
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
96
|
+
else
|
|
97
|
+
{}
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
response = @client_stub.make_http_request(
|
|
101
|
+
verb,
|
|
102
|
+
uri: uri,
|
|
103
|
+
body: body || "",
|
|
104
|
+
params: query_string_params,
|
|
105
|
+
method_name: "get",
|
|
106
|
+
options: options
|
|
107
|
+
)
|
|
108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
109
|
+
result = ::Google::Cloud::Compute::V1::GlobalFrontendSettings.decode_json response.body, ignore_unknown_fields: true
|
|
110
|
+
catch :response do
|
|
111
|
+
yield result, operation if block_given?
|
|
112
|
+
result
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
##
|
|
117
|
+
# Baseline implementation for the patch REST call
|
|
118
|
+
#
|
|
119
|
+
# @param request_pb [::Google::Cloud::Compute::V1::PatchGlobalFrontendSettingRequest]
|
|
120
|
+
# A request object representing the call parameters. Required.
|
|
121
|
+
# @param options [::Gapic::CallOptions]
|
|
122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
123
|
+
#
|
|
124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
125
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::GlobalFrontendSettingsPatchResponse]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Compute::V1::GlobalFrontendSettingsPatchResponse]
|
|
129
|
+
# A result object deserialized from the server's reply
|
|
130
|
+
def patch request_pb, options = nil
|
|
131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
132
|
+
|
|
133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_patch_request request_pb
|
|
134
|
+
query_string_params = if query_string_params.any?
|
|
135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
136
|
+
else
|
|
137
|
+
{}
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
response = @client_stub.make_http_request(
|
|
141
|
+
verb,
|
|
142
|
+
uri: uri,
|
|
143
|
+
body: body || "",
|
|
144
|
+
params: query_string_params,
|
|
145
|
+
method_name: "patch",
|
|
146
|
+
options: options
|
|
147
|
+
)
|
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
149
|
+
result = ::Google::Cloud::Compute::V1::GlobalFrontendSettingsPatchResponse.decode_json response.body, ignore_unknown_fields: true
|
|
150
|
+
catch :response do
|
|
151
|
+
yield result, operation if block_given?
|
|
152
|
+
result
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
##
|
|
157
|
+
# @private
|
|
158
|
+
#
|
|
159
|
+
# GRPC transcoding helper method for the get REST call
|
|
160
|
+
#
|
|
161
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetGlobalFrontendSettingRequest]
|
|
162
|
+
# A request object representing the call parameters. Required.
|
|
163
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
164
|
+
# Uri, Body, Query string parameters
|
|
165
|
+
def self.transcode_get_request request_pb
|
|
166
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
167
|
+
.with_bindings(
|
|
168
|
+
uri_method: :get,
|
|
169
|
+
uri_template: "/compute/v1/projects/{project}/global/globalFrontendSettings",
|
|
170
|
+
matches: [
|
|
171
|
+
["project", %r{^[^/]+/?$}, false]
|
|
172
|
+
]
|
|
173
|
+
)
|
|
174
|
+
transcoder.transcode request_pb
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
##
|
|
178
|
+
# @private
|
|
179
|
+
#
|
|
180
|
+
# GRPC transcoding helper method for the patch REST call
|
|
181
|
+
#
|
|
182
|
+
# @param request_pb [::Google::Cloud::Compute::V1::PatchGlobalFrontendSettingRequest]
|
|
183
|
+
# A request object representing the call parameters. Required.
|
|
184
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
185
|
+
# Uri, Body, Query string parameters
|
|
186
|
+
def self.transcode_patch_request request_pb
|
|
187
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
188
|
+
.with_bindings(
|
|
189
|
+
uri_method: :patch,
|
|
190
|
+
uri_template: "/compute/v1/projects/{project}/global/globalFrontendSettings",
|
|
191
|
+
body: "global_frontend_settings_resource",
|
|
192
|
+
matches: [
|
|
193
|
+
["project", %r{^[^/]+/?$}, false]
|
|
194
|
+
]
|
|
195
|
+
)
|
|
196
|
+
transcoder.transcode request_pb
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
@@ -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 "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/compute/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The GlobalFrontendSettings API.
|
|
34
|
+
#
|
|
35
|
+
# This client uses GlobalFrontendSettingsService version 2026-09-01.
|
|
36
|
+
#
|
|
37
|
+
# To load this service and instantiate a REST client:
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/compute/v1/global_frontend_settings_service/rest"
|
|
40
|
+
# client = ::Google::Cloud::Compute::V1::GlobalFrontendSettingsService::Rest::Client.new
|
|
41
|
+
#
|
|
42
|
+
module GlobalFrontendSettingsService
|
|
43
|
+
# Client for the REST transport
|
|
44
|
+
module Rest
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
53
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,49 @@
|
|
|
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 "gapic/config"
|
|
20
|
+
require "gapic/config/method"
|
|
21
|
+
|
|
22
|
+
require "google/cloud/compute/v1/version"
|
|
23
|
+
|
|
24
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The GlobalFrontendSettings API.
|
|
33
|
+
#
|
|
34
|
+
# This client uses GlobalFrontendSettingsService version 2026-09-01.
|
|
35
|
+
#
|
|
36
|
+
# @example Load this service and instantiate a REST client
|
|
37
|
+
#
|
|
38
|
+
# require "google/cloud/compute/v1/global_frontend_settings_service/rest"
|
|
39
|
+
# client = ::Google::Cloud::Compute::V1::GlobalFrontendSettingsService::Rest::Client.new
|
|
40
|
+
#
|
|
41
|
+
module GlobalFrontendSettingsService
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
helper_path = ::File.join __dir__, "global_frontend_settings_service", "helpers.rb"
|
|
49
|
+
require "google/cloud/compute/v1/global_frontend_settings_service/helpers" if ::File.file? helper_path
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The GlobalNetworkEndpointGroups API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalNetworkEndpointGroups 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$"
|
|
@@ -738,7 +740,7 @@ module Google
|
|
|
738
740
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
739
741
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
740
742
|
#
|
|
741
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
743
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
742
744
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
743
745
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
744
746
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -826,13 +828,6 @@ module Google
|
|
|
826
828
|
# the next page of results.
|
|
827
829
|
# @param project [::String]
|
|
828
830
|
# Project ID for this request.
|
|
829
|
-
# @param return_partial_success [::Boolean]
|
|
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.
|
|
836
831
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
837
832
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
|
|
838
833
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -906,7 +901,7 @@ module Google
|
|
|
906
901
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
907
902
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
908
903
|
#
|
|
909
|
-
# @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, order_by: nil, page_token: nil, project: nil
|
|
904
|
+
# @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, order_by: nil, page_token: nil, project: nil)
|
|
910
905
|
# Pass arguments to `list_network_endpoints` via keyword arguments. Note that at
|
|
911
906
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
912
907
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -997,13 +992,6 @@ module Google
|
|
|
997
992
|
# the next page of results.
|
|
998
993
|
# @param project [::String]
|
|
999
994
|
# Project ID for this request.
|
|
1000
|
-
# @param return_partial_success [::Boolean]
|
|
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.
|
|
1007
995
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1008
996
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
|
|
1009
997
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The GlobalNetworkEndpointGroups API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalNetworkEndpointGroups 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/global_network_endpoint_groups/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The GlobalNetworkEndpointGroups API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalNetworkEndpointGroups 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/global_network_endpoint_groups/rest"
|
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The GlobalOperations API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalOperations 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$"
|
|
@@ -209,7 +211,7 @@ module Google
|
|
|
209
211
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
210
212
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
211
213
|
#
|
|
212
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
214
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
213
215
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
214
216
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
215
217
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -305,13 +307,6 @@ module Google
|
|
|
305
307
|
# the next page of results.
|
|
306
308
|
# @param project [::String]
|
|
307
309
|
# Project ID for this request.
|
|
308
|
-
# @param return_partial_success [::Boolean]
|
|
309
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
310
|
-
# of failure. The default value is false.
|
|
311
|
-
#
|
|
312
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
313
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
314
|
-
# with an error code.
|
|
315
310
|
# @param service_project_number [::Integer]
|
|
316
311
|
# The Shared VPC service project id or service project number for which
|
|
317
312
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -551,7 +546,7 @@ module Google
|
|
|
551
546
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
552
547
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
553
548
|
#
|
|
554
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
549
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
555
550
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
556
551
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
557
552
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -639,13 +634,6 @@ module Google
|
|
|
639
634
|
# the next page of results.
|
|
640
635
|
# @param project [::String]
|
|
641
636
|
# Project ID for this request.
|
|
642
|
-
# @param return_partial_success [::Boolean]
|
|
643
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
644
|
-
# of failure. The default value is false.
|
|
645
|
-
#
|
|
646
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
647
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
648
|
-
# with an error code.
|
|
649
637
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
650
638
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
|
|
651
639
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The GlobalOrganizationOperations API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalOrganizationOperations 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$"
|
|
@@ -363,7 +365,7 @@ module Google
|
|
|
363
365
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
364
366
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
365
367
|
#
|
|
366
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil
|
|
368
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil)
|
|
367
369
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
368
370
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
369
371
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -451,13 +453,6 @@ module Google
|
|
|
451
453
|
# the next page of results.
|
|
452
454
|
# @param parent_id [::String]
|
|
453
455
|
# Parent ID for this request.
|
|
454
|
-
# @param return_partial_success [::Boolean]
|
|
455
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
456
|
-
# of failure. The default value is false.
|
|
457
|
-
#
|
|
458
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
459
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
460
|
-
# with an error code.
|
|
461
456
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
462
457
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
|
|
463
458
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -33,6 +33,8 @@ module Google
|
|
|
33
33
|
##
|
|
34
34
|
# The GlobalOrganizationOperations API.
|
|
35
35
|
#
|
|
36
|
+
# This client uses GlobalOrganizationOperations version 2026-09-01.
|
|
37
|
+
#
|
|
36
38
|
# To load this service and instantiate a REST client:
|
|
37
39
|
#
|
|
38
40
|
# require "google/cloud/compute/v1/global_organization_operations/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The GlobalOrganizationOperations API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalOrganizationOperations 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/global_organization_operations/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The GlobalPublicDelegatedPrefixes API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalPublicDelegatedPrefixes 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$"
|
|
@@ -505,7 +507,7 @@ module Google
|
|
|
505
507
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
506
508
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
507
509
|
#
|
|
508
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
510
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
509
511
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
510
512
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
511
513
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -593,13 +595,6 @@ module Google
|
|
|
593
595
|
# the next page of results.
|
|
594
596
|
# @param project [::String]
|
|
595
597
|
# Project ID for this request.
|
|
596
|
-
# @param return_partial_success [::Boolean]
|
|
597
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
598
|
-
# of failure. The default value is false.
|
|
599
|
-
#
|
|
600
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
601
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
602
|
-
# with an error code.
|
|
603
598
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
604
599
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
|
|
605
600
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The GlobalPublicDelegatedPrefixes API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalPublicDelegatedPrefixes 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/global_public_delegated_prefixes/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The GlobalPublicDelegatedPrefixes API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalPublicDelegatedPrefixes 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/global_public_delegated_prefixes/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The GlobalVmExtensionPolicies API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalVmExtensionPolicies 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$"
|
|
@@ -227,7 +229,7 @@ module Google
|
|
|
227
229
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
228
230
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
229
231
|
#
|
|
230
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
232
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
231
233
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
232
234
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
233
235
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -323,13 +325,6 @@ module Google
|
|
|
323
325
|
# the next page of results.
|
|
324
326
|
# @param project [::String]
|
|
325
327
|
# Name of the project scoping this request.
|
|
326
|
-
# @param return_partial_success [::Boolean]
|
|
327
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
328
|
-
# of failure. The default value is false.
|
|
329
|
-
#
|
|
330
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
331
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
332
|
-
# with an error code.
|
|
333
328
|
# @param service_project_number [::Integer]
|
|
334
329
|
# The Shared VPC service project id or service project number for which
|
|
335
330
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -699,7 +694,7 @@ module Google
|
|
|
699
694
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
700
695
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
701
696
|
#
|
|
702
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
697
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
703
698
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
704
699
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
705
700
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -787,13 +782,6 @@ module Google
|
|
|
787
782
|
# the next page of results.
|
|
788
783
|
# @param project [::String]
|
|
789
784
|
# Project ID for this request.
|
|
790
|
-
# @param return_partial_success [::Boolean]
|
|
791
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
792
|
-
# of failure. The default value is false.
|
|
793
|
-
#
|
|
794
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
795
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
796
|
-
# with an error code.
|
|
797
785
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
798
786
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::GlobalVmExtensionPolicy>]
|
|
799
787
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The GlobalVmExtensionPolicies API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses GlobalVmExtensionPolicies 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/global_vm_extension_policies/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The GlobalVmExtensionPolicies API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses GlobalVmExtensionPolicies 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/global_vm_extension_policies/rest"
|