google-cloud-compute-v1 3.9.0 → 3.12.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/.yardopts +1 -1
- data/README.md +66 -3
- data/lib/google/cloud/compute/v1/accelerator_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses.rb +1 -1
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +184 -0
- data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +126 -0
- data/lib/google/cloud/compute/v1/autoscalers/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services.rb +1 -1
- data/lib/google/cloud/compute/v1/compute_pb.rb +69 -1
- data/lib/google/cloud/compute/v1/disk_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/disks.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest/nonstandard_lro.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/nonstandard_lro.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks.rb +1 -1
- data/lib/google/cloud/compute/v1/hosts/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/hosts/rest/client.rb +755 -0
- data/lib/google/cloud/compute/v1/hosts/rest/service_stub.rb +273 -0
- data/lib/google/cloud/compute/v1/hosts/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/hosts.rb +47 -0
- data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views.rb +1 -1
- data/lib/google/cloud/compute/v1/images/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/images/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/images.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +7 -3
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instances.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/networks.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings.rb +1 -1
- data/lib/google/cloud/compute/v1/project_views/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/project_views/rest/client.rb +438 -0
- data/lib/google/cloud/compute/v1/project_views/rest/service_stub.rb +143 -0
- data/lib/google/cloud/compute/v1/project_views/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/project_views.rb +47 -0
- data/lib/google/cloud/compute/v1/projects/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/projects/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/projects.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/nonstandard_lro.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/regions.rb +1 -1
- data/lib/google/cloud/compute/v1/reliability_risks/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +611 -0
- data/lib/google/cloud/compute/v1/reliability_risks/rest/service_stub.rb +204 -0
- data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/reliability_risks.rb +47 -0
- data/lib/google/cloud/compute/v1/reservation_blocks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +108 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/rest.rb +4 -1
- data/lib/google/cloud/compute/v1/routers/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/routers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/routers.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/routes.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps.rb +1 -1
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/credentials.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/zones.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +4 -1
- data/lib/google-cloud-compute-v1.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/compute/v1/compute.rb +2269 -480
- data/proto_docs/google/cloud/extended_operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- metadata +23 -4
|
@@ -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 ReliabilityRisks
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the ReliabilityRisks 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::GetReliabilityRiskRequest]
|
|
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::ReliabilityRisk]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Cloud::Compute::V1::ReliabilityRisk]
|
|
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::ReliabilityRisk.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 list REST call
|
|
118
|
+
#
|
|
119
|
+
# @param request_pb [::Google::Cloud::Compute::V1::ListReliabilityRisksRequest]
|
|
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::ReliabilityRisksListResponse]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Compute::V1::ReliabilityRisksListResponse]
|
|
129
|
+
# A result object deserialized from the server's reply
|
|
130
|
+
def list 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_list_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: "list",
|
|
146
|
+
options: options
|
|
147
|
+
)
|
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
149
|
+
result = ::Google::Cloud::Compute::V1::ReliabilityRisksListResponse.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::GetReliabilityRiskRequest]
|
|
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/reliabilityRisks/{reliability_risk}",
|
|
170
|
+
matches: [
|
|
171
|
+
["project", %r{^[^/]+/?$}, false],
|
|
172
|
+
["reliability_risk", %r{^[^/]+/?$}, false]
|
|
173
|
+
]
|
|
174
|
+
)
|
|
175
|
+
transcoder.transcode request_pb
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
##
|
|
179
|
+
# @private
|
|
180
|
+
#
|
|
181
|
+
# GRPC transcoding helper method for the list REST call
|
|
182
|
+
#
|
|
183
|
+
# @param request_pb [::Google::Cloud::Compute::V1::ListReliabilityRisksRequest]
|
|
184
|
+
# A request object representing the call parameters. Required.
|
|
185
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
186
|
+
# Uri, Body, Query string parameters
|
|
187
|
+
def self.transcode_list_request request_pb
|
|
188
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
189
|
+
.with_bindings(
|
|
190
|
+
uri_method: :get,
|
|
191
|
+
uri_template: "/compute/v1/projects/{project}/global/reliabilityRisks",
|
|
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,51 @@
|
|
|
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/reliability_risks/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/reliability_risks/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The ReliabilityRisks API.
|
|
34
|
+
#
|
|
35
|
+
# To load this service and instantiate a REST client:
|
|
36
|
+
#
|
|
37
|
+
# require "google/cloud/compute/v1/reliability_risks/rest"
|
|
38
|
+
# client = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new
|
|
39
|
+
#
|
|
40
|
+
module ReliabilityRisks
|
|
41
|
+
# Client for the REST transport
|
|
42
|
+
module Rest
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
51
|
+
require "google/cloud/compute/v1/reliability_risks/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,47 @@
|
|
|
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/reliability_risks/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/reliability_risks/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The ReliabilityRisks API.
|
|
33
|
+
#
|
|
34
|
+
# @example Load this service and instantiate a REST client
|
|
35
|
+
#
|
|
36
|
+
# require "google/cloud/compute/v1/reliability_risks/rest"
|
|
37
|
+
# client = ::Google::Cloud::Compute::V1::ReliabilityRisks::Rest::Client.new
|
|
38
|
+
#
|
|
39
|
+
module ReliabilityRisks
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
helper_path = ::File.join __dir__, "reliability_risks", "helpers.rb"
|
|
47
|
+
require "google/cloud/compute/v1/reliability_risks/helpers" if ::File.file? helper_path
|
|
@@ -76,6 +76,8 @@ module Google
|
|
|
76
76
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
default_config.rpcs.get_health.timeout = 600.0
|
|
80
|
+
|
|
79
81
|
default_config.rpcs.get_version.timeout = 600.0
|
|
80
82
|
|
|
81
83
|
default_config.rpcs.list.timeout = 600.0
|
|
@@ -289,6 +291,105 @@ module Google
|
|
|
289
291
|
raise ::Google::Cloud::Error.from_error(e)
|
|
290
292
|
end
|
|
291
293
|
|
|
294
|
+
##
|
|
295
|
+
# Get health info on a reservation slot.
|
|
296
|
+
#
|
|
297
|
+
# @overload get_health(request, options = nil)
|
|
298
|
+
# Pass arguments to `get_health` via a request object, either of type
|
|
299
|
+
# {::Google::Cloud::Compute::V1::GetHealthReservationSlotRequest} or an equivalent Hash.
|
|
300
|
+
#
|
|
301
|
+
# @param request [::Google::Cloud::Compute::V1::GetHealthReservationSlotRequest, ::Hash]
|
|
302
|
+
# A request object representing the call parameters. Required. To specify no
|
|
303
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
304
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
305
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
306
|
+
#
|
|
307
|
+
# @overload get_health(parent_name: nil, project: nil, request_id: nil, reservation_slot: nil, zone: nil)
|
|
308
|
+
# Pass arguments to `get_health` via keyword arguments. Note that at
|
|
309
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
310
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
311
|
+
#
|
|
312
|
+
# @param parent_name [::String]
|
|
313
|
+
# The name of the parent reservation, parent block and parent sub-block. In
|
|
314
|
+
# the format of
|
|
315
|
+
# reservations/\\{reservation_name}/reservationBlocks/\\{reservation_block_name}/reservationSubBlocks/\\{reservation_sub_block_name}
|
|
316
|
+
# @param project [::String]
|
|
317
|
+
# Project ID for this request.
|
|
318
|
+
# @param request_id [::String]
|
|
319
|
+
# An optional request ID to identify requests.
|
|
320
|
+
# @param reservation_slot [::String]
|
|
321
|
+
# The name of the reservation slot.
|
|
322
|
+
# Name should conform to RFC1035 or be a resource ID.
|
|
323
|
+
# @param zone [::String]
|
|
324
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
|
325
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
326
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
327
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
328
|
+
#
|
|
329
|
+
# @return [::Gapic::GenericLRO::Operation]
|
|
330
|
+
#
|
|
331
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
332
|
+
#
|
|
333
|
+
# @example Basic example
|
|
334
|
+
# require "google/cloud/compute/v1"
|
|
335
|
+
#
|
|
336
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
337
|
+
# client = Google::Cloud::Compute::V1::ReservationSlots::Rest::Client.new
|
|
338
|
+
#
|
|
339
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
340
|
+
# request = Google::Cloud::Compute::V1::GetHealthReservationSlotRequest.new
|
|
341
|
+
#
|
|
342
|
+
# # Call the get_health method.
|
|
343
|
+
# result = client.get_health request
|
|
344
|
+
#
|
|
345
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
|
346
|
+
# p result
|
|
347
|
+
#
|
|
348
|
+
def get_health request, options = nil
|
|
349
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
350
|
+
|
|
351
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::GetHealthReservationSlotRequest
|
|
352
|
+
|
|
353
|
+
# Converts hash and nil to an options object
|
|
354
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
355
|
+
|
|
356
|
+
# Customize the options with defaults
|
|
357
|
+
call_metadata = @config.rpcs.get_health.metadata.to_h
|
|
358
|
+
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
360
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
361
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
362
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
363
|
+
transports_version_send: [:rest]
|
|
364
|
+
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
366
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
367
|
+
|
|
368
|
+
options.apply_defaults timeout: @config.rpcs.get_health.timeout,
|
|
369
|
+
metadata: call_metadata,
|
|
370
|
+
retry_policy: @config.rpcs.get_health.retry_policy
|
|
371
|
+
|
|
372
|
+
options.apply_defaults timeout: @config.timeout,
|
|
373
|
+
metadata: @config.metadata,
|
|
374
|
+
retry_policy: @config.retry_policy
|
|
375
|
+
|
|
376
|
+
@reservation_slots_stub.get_health request, options do |result, response|
|
|
377
|
+
result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
|
|
378
|
+
operation: result,
|
|
379
|
+
client: zone_operations,
|
|
380
|
+
request_values: {
|
|
381
|
+
"project" => request.project,
|
|
382
|
+
"zone" => request.zone
|
|
383
|
+
},
|
|
384
|
+
options: options
|
|
385
|
+
)
|
|
386
|
+
yield result, response if block_given?
|
|
387
|
+
throw :response, result
|
|
388
|
+
end
|
|
389
|
+
rescue ::Gapic::Rest::Error => e
|
|
390
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
391
|
+
end
|
|
392
|
+
|
|
292
393
|
##
|
|
293
394
|
# Allows customers to get SBOM versions of a reservation slot.
|
|
294
395
|
#
|
|
@@ -826,6 +927,11 @@ module Google
|
|
|
826
927
|
#
|
|
827
928
|
attr_reader :get
|
|
828
929
|
##
|
|
930
|
+
# RPC-specific configuration for `get_health`
|
|
931
|
+
# @return [::Gapic::Config::Method]
|
|
932
|
+
#
|
|
933
|
+
attr_reader :get_health
|
|
934
|
+
##
|
|
829
935
|
# RPC-specific configuration for `get_version`
|
|
830
936
|
# @return [::Gapic::Config::Method]
|
|
831
937
|
#
|
|
@@ -845,6 +951,8 @@ module Google
|
|
|
845
951
|
def initialize parent_rpcs = nil
|
|
846
952
|
get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
|
|
847
953
|
@get = ::Gapic::Config::Method.new get_config
|
|
954
|
+
get_health_config = parent_rpcs.get_health if parent_rpcs.respond_to? :get_health
|
|
955
|
+
@get_health = ::Gapic::Config::Method.new get_health_config
|
|
848
956
|
get_version_config = parent_rpcs.get_version if parent_rpcs.respond_to? :get_version
|
|
849
957
|
@get_version = ::Gapic::Config::Method.new get_version_config
|
|
850
958
|
list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
|
|
@@ -113,6 +113,46 @@ module Google
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
##
|
|
117
|
+
# Baseline implementation for the get_health REST call
|
|
118
|
+
#
|
|
119
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetHealthReservationSlotRequest]
|
|
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::Operation]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
|
129
|
+
# A result object deserialized from the server's reply
|
|
130
|
+
def get_health 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_get_health_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: "get_health",
|
|
146
|
+
options: options
|
|
147
|
+
)
|
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
149
|
+
result = ::Google::Cloud::Compute::V1::Operation.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
|
+
|
|
116
156
|
##
|
|
117
157
|
# Baseline implementation for the get_version REST call
|
|
118
158
|
#
|
|
@@ -257,6 +297,30 @@ module Google
|
|
|
257
297
|
transcoder.transcode request_pb
|
|
258
298
|
end
|
|
259
299
|
|
|
300
|
+
##
|
|
301
|
+
# @private
|
|
302
|
+
#
|
|
303
|
+
# GRPC transcoding helper method for the get_health REST call
|
|
304
|
+
#
|
|
305
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetHealthReservationSlotRequest]
|
|
306
|
+
# A request object representing the call parameters. Required.
|
|
307
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
308
|
+
# Uri, Body, Query string parameters
|
|
309
|
+
def self.transcode_get_health_request request_pb
|
|
310
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
311
|
+
.with_bindings(
|
|
312
|
+
uri_method: :post,
|
|
313
|
+
uri_template: "/compute/v1/projects/{project}/zones/{zone}/{parent_name}/reservationSlots/{reservation_slot}/getHealth",
|
|
314
|
+
matches: [
|
|
315
|
+
["project", %r{^[^/]+/?$}, false],
|
|
316
|
+
["zone", %r{^[^/]+/?$}, false],
|
|
317
|
+
["parent_name", %r{^reservations/[^/]+/reservationBlocks/[^/]+/reservationSubBlocks/[^/]+/?$}, false],
|
|
318
|
+
["reservation_slot", %r{^[^/]+/?$}, false]
|
|
319
|
+
]
|
|
320
|
+
)
|
|
321
|
+
transcoder.transcode request_pb
|
|
322
|
+
end
|
|
323
|
+
|
|
260
324
|
##
|
|
261
325
|
# @private
|
|
262
326
|
#
|