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,206 @@
|
|
|
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 ImageViews
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the ImageViews 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::GetImageViewRequest]
|
|
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::ImageView]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Cloud::Compute::V1::ImageView]
|
|
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::ImageView.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::ListImageViewsRequest]
|
|
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::ImageViewsListResponse]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Compute::V1::ImageViewsListResponse]
|
|
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::ImageViewsListResponse.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::GetImageViewRequest]
|
|
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}/regions/{region}/imageViews/{resource_id}",
|
|
170
|
+
matches: [
|
|
171
|
+
["project", %r{^[^/]+/?$}, false],
|
|
172
|
+
["region", %r{^[^/]+/?$}, false],
|
|
173
|
+
["resource_id", %r{^[^/]+/?$}, false]
|
|
174
|
+
]
|
|
175
|
+
)
|
|
176
|
+
transcoder.transcode request_pb
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
##
|
|
180
|
+
# @private
|
|
181
|
+
#
|
|
182
|
+
# GRPC transcoding helper method for the list REST call
|
|
183
|
+
#
|
|
184
|
+
# @param request_pb [::Google::Cloud::Compute::V1::ListImageViewsRequest]
|
|
185
|
+
# A request object representing the call parameters. Required.
|
|
186
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
187
|
+
# Uri, Body, Query string parameters
|
|
188
|
+
def self.transcode_list_request request_pb
|
|
189
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
190
|
+
.with_bindings(
|
|
191
|
+
uri_method: :get,
|
|
192
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/imageViews",
|
|
193
|
+
matches: [
|
|
194
|
+
["project", %r{^[^/]+/?$}, false],
|
|
195
|
+
["region", %r{^[^/]+/?$}, false]
|
|
196
|
+
]
|
|
197
|
+
)
|
|
198
|
+
transcoder.transcode request_pb
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
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/image_views/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/image_views/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The ImageViews API.
|
|
34
|
+
#
|
|
35
|
+
# This client uses ImageViews version 2026-09-01.
|
|
36
|
+
#
|
|
37
|
+
# To load this service and instantiate a REST client:
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/compute/v1/image_views/rest"
|
|
40
|
+
# client = ::Google::Cloud::Compute::V1::ImageViews::Rest::Client.new
|
|
41
|
+
#
|
|
42
|
+
module ImageViews
|
|
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/image_views/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/image_views/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/image_views/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The ImageViews API.
|
|
33
|
+
#
|
|
34
|
+
# This client uses ImageViews version 2026-09-01.
|
|
35
|
+
#
|
|
36
|
+
# @example Load this service and instantiate a REST client
|
|
37
|
+
#
|
|
38
|
+
# require "google/cloud/compute/v1/image_views/rest"
|
|
39
|
+
# client = ::Google::Cloud::Compute::V1::ImageViews::Rest::Client.new
|
|
40
|
+
#
|
|
41
|
+
module ImageViews
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
helper_path = ::File.join __dir__, "image_views", "helpers.rb"
|
|
49
|
+
require "google/cloud/compute/v1/image_views/helpers" if ::File.file? helper_path
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The Images API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses Images 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$"
|
|
@@ -804,7 +806,7 @@ module Google
|
|
|
804
806
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
805
807
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
806
808
|
#
|
|
807
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
809
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
808
810
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
809
811
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
810
812
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -892,13 +894,6 @@ module Google
|
|
|
892
894
|
# the next page of results.
|
|
893
895
|
# @param project [::String]
|
|
894
896
|
# Project ID for this request.
|
|
895
|
-
# @param return_partial_success [::Boolean]
|
|
896
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
897
|
-
# of failure. The default value is false.
|
|
898
|
-
#
|
|
899
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
900
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
901
|
-
# with an error code.
|
|
902
897
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
903
898
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Image>]
|
|
904
899
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The InstanceGroupManagerResizeRequests API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses InstanceGroupManagerResizeRequests 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$"
|
|
@@ -646,7 +648,7 @@ module Google
|
|
|
646
648
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
647
649
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
648
650
|
#
|
|
649
|
-
# @overload list(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
651
|
+
# @overload list(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
650
652
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
651
653
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
652
654
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -736,13 +738,6 @@ module Google
|
|
|
736
738
|
# the next page of results.
|
|
737
739
|
# @param project [::String]
|
|
738
740
|
# Project ID for this request.
|
|
739
|
-
# @param return_partial_success [::Boolean]
|
|
740
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
741
|
-
# of failure. The default value is false.
|
|
742
|
-
#
|
|
743
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
744
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
745
|
-
# with an error code.
|
|
746
741
|
# @param zone [::String]
|
|
747
742
|
# The name of thezone where the managed
|
|
748
743
|
# instance group is located. The name should conform to RFC1035.
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The InstanceGroupManagerResizeRequests API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses InstanceGroupManagerResizeRequests 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/instance_group_manager_resize_requests/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The InstanceGroupManagerResizeRequests API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses InstanceGroupManagerResizeRequests 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/instance_group_manager_resize_requests/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The InstanceGroupManagers API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses InstanceGroupManagers 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$"
|
|
@@ -388,7 +390,7 @@ module Google
|
|
|
388
390
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
389
391
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
390
392
|
#
|
|
391
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
393
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
392
394
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
393
395
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
394
396
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -484,13 +486,6 @@ module Google
|
|
|
484
486
|
# the next page of results.
|
|
485
487
|
# @param project [::String]
|
|
486
488
|
# Project ID for this request.
|
|
487
|
-
# @param return_partial_success [::Boolean]
|
|
488
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
489
|
-
# of failure. The default value is false.
|
|
490
|
-
#
|
|
491
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
492
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
493
|
-
# with an error code.
|
|
494
489
|
# @param service_project_number [::Integer]
|
|
495
490
|
# The Shared VPC service project id or service project number for which
|
|
496
491
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -1315,7 +1310,7 @@ module Google
|
|
|
1315
1310
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1316
1311
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1317
1312
|
#
|
|
1318
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
1313
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1319
1314
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
1320
1315
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1321
1316
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1403,13 +1398,6 @@ module Google
|
|
|
1403
1398
|
# the next page of results.
|
|
1404
1399
|
# @param project [::String]
|
|
1405
1400
|
# Project ID for this request.
|
|
1406
|
-
# @param return_partial_success [::Boolean]
|
|
1407
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1408
|
-
# of failure. The default value is false.
|
|
1409
|
-
#
|
|
1410
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1411
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1412
|
-
# with an error code.
|
|
1413
1401
|
# @param zone [::String]
|
|
1414
1402
|
# The name of thezone where the managed
|
|
1415
1403
|
# instance group is located.
|
|
@@ -1488,7 +1476,7 @@ module Google
|
|
|
1488
1476
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1489
1477
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1490
1478
|
#
|
|
1491
|
-
# @overload list_errors(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
1479
|
+
# @overload list_errors(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1492
1480
|
# Pass arguments to `list_errors` via keyword arguments. Note that at
|
|
1493
1481
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1494
1482
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1581,13 +1569,6 @@ module Google
|
|
|
1581
1569
|
# the next page of results.
|
|
1582
1570
|
# @param project [::String]
|
|
1583
1571
|
# Project ID for this request.
|
|
1584
|
-
# @param return_partial_success [::Boolean]
|
|
1585
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1586
|
-
# of failure. The default value is false.
|
|
1587
|
-
#
|
|
1588
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1589
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1590
|
-
# with an error code.
|
|
1591
1572
|
# @param zone [::String]
|
|
1592
1573
|
# The name of thezone where the managed
|
|
1593
1574
|
# instance group is located.
|
|
@@ -1673,7 +1654,7 @@ module Google
|
|
|
1673
1654
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1674
1655
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1675
1656
|
#
|
|
1676
|
-
# @overload list_managed_instances(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
1657
|
+
# @overload list_managed_instances(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1677
1658
|
# Pass arguments to `list_managed_instances` via keyword arguments. Note that at
|
|
1678
1659
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1679
1660
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1763,13 +1744,6 @@ module Google
|
|
|
1763
1744
|
# the next page of results.
|
|
1764
1745
|
# @param project [::String]
|
|
1765
1746
|
# Project ID for this request.
|
|
1766
|
-
# @param return_partial_success [::Boolean]
|
|
1767
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1768
|
-
# of failure. The default value is false.
|
|
1769
|
-
#
|
|
1770
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1771
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1772
|
-
# with an error code.
|
|
1773
1747
|
# @param zone [::String]
|
|
1774
1748
|
# The name of thezone where the managed
|
|
1775
1749
|
# instance group is located.
|
|
@@ -1847,7 +1821,7 @@ module Google
|
|
|
1847
1821
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1848
1822
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1849
1823
|
#
|
|
1850
|
-
# @overload list_per_instance_configs(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
1824
|
+
# @overload list_per_instance_configs(filter: nil, instance_group_manager: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1851
1825
|
# Pass arguments to `list_per_instance_configs` via keyword arguments. Note that at
|
|
1852
1826
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1853
1827
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1937,13 +1911,6 @@ module Google
|
|
|
1937
1911
|
# the next page of results.
|
|
1938
1912
|
# @param project [::String]
|
|
1939
1913
|
# Project ID for this request.
|
|
1940
|
-
# @param return_partial_success [::Boolean]
|
|
1941
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1942
|
-
# of failure. The default value is false.
|
|
1943
|
-
#
|
|
1944
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1945
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1946
|
-
# with an error code.
|
|
1947
1914
|
# @param zone [::String]
|
|
1948
1915
|
# The name of thezone
|
|
1949
1916
|
# where the managed instance group is located.
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The InstanceGroupManagers API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses InstanceGroupManagers 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/instance_group_managers/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The InstanceGroups API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses InstanceGroups 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$"
|
|
@@ -346,7 +348,7 @@ module Google
|
|
|
346
348
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
347
349
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
348
350
|
#
|
|
349
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
351
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
350
352
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
351
353
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
352
354
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -442,13 +444,6 @@ module Google
|
|
|
442
444
|
# the next page of results.
|
|
443
445
|
# @param project [::String]
|
|
444
446
|
# Project ID for this request.
|
|
445
|
-
# @param return_partial_success [::Boolean]
|
|
446
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
447
|
-
# of failure. The default value is false.
|
|
448
|
-
#
|
|
449
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
450
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
451
|
-
# with an error code.
|
|
452
447
|
# @param service_project_number [::Integer]
|
|
453
448
|
# The Shared VPC service project id or service project number for which
|
|
454
449
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -836,7 +831,7 @@ module Google
|
|
|
836
831
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
837
832
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
838
833
|
#
|
|
839
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
834
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
840
835
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
841
836
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
842
837
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -924,13 +919,6 @@ module Google
|
|
|
924
919
|
# the next page of results.
|
|
925
920
|
# @param project [::String]
|
|
926
921
|
# Project ID for this request.
|
|
927
|
-
# @param return_partial_success [::Boolean]
|
|
928
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
929
|
-
# of failure. The default value is false.
|
|
930
|
-
#
|
|
931
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
932
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
933
|
-
# with an error code.
|
|
934
922
|
# @param zone [::String]
|
|
935
923
|
# The name of thezone
|
|
936
924
|
# where the instance group is located.
|
|
@@ -1010,7 +998,7 @@ module Google
|
|
|
1010
998
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1011
999
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1012
1000
|
#
|
|
1013
|
-
# @overload list_instances(filter: nil, instance_group: nil, instance_groups_list_instances_request_resource: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
1001
|
+
# @overload list_instances(filter: nil, instance_group: nil, instance_groups_list_instances_request_resource: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1014
1002
|
# Pass arguments to `list_instances` via keyword arguments. Note that at
|
|
1015
1003
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1016
1004
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1103,13 +1091,6 @@ module Google
|
|
|
1103
1091
|
# the next page of results.
|
|
1104
1092
|
# @param project [::String]
|
|
1105
1093
|
# Project ID for this request.
|
|
1106
|
-
# @param return_partial_success [::Boolean]
|
|
1107
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1108
|
-
# of failure. The default value is false.
|
|
1109
|
-
#
|
|
1110
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1111
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1112
|
-
# with an error code.
|
|
1113
1094
|
# @param zone [::String]
|
|
1114
1095
|
# The name of the zone
|
|
1115
1096
|
# where the instance group is located.
|