google-cloud-compute-v1 3.12.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/accelerator_types.rb +2 -0
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/addresses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/addresses.rb +2 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/advice/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/advice.rb +2 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/autoscalers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/autoscalers.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_buckets.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/backend_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_services.rb +2 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +19 -1
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +2 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/disk_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/disk_types.rb +2 -0
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/disks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/disks.rb +2 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/firewalls/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/firewalls.rb +2 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/forwarding_rules.rb +2 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_addresses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_addresses.rb +2 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +2 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/client.rb +524 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/global_frontend_settings_service.rb +49 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/hosts/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/hosts/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/hosts.rb +2 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/image_family_views.rb +2 -0
- data/lib/google/cloud/compute/v1/image_views/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/image_views/rest/client.rb +612 -0
- data/lib/google/cloud/compute/v1/image_views/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/image_views/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/image_views.rb +49 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/images/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/images.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +8 -41
- data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_managers.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/instance_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_settings_service.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/instance_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instances.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_locations.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +118 -9
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/interconnects/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnects.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/license_codes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes.rb +2 -0
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/licenses/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/licenses.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/machine_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_types.rb +2 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest/client.rb +606 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest/service_stub.rb +204 -0
- data/lib/google/cloud/compute/v1/managed_rulesets/rest.rb +53 -0
- data/lib/google/cloud/compute/v1/managed_rulesets.rb +49 -0
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/network_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services.rb +2 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/network_profiles/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/network_profiles.rb +2 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/networks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/networks.rb +2 -0
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/node_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/node_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/node_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/node_types.rb +2 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings.rb +2 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +2 -0
- data/lib/google/cloud/compute/v1/project_views/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/project_views/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/project_views.rb +2 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/projects/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/projects.rb +2 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +2 -0
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_autoscalers.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_services.rb +2 -0
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_commitments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_commitments.rb +2 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disk_types.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_disks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_check_services.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +7 -33
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_templates.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/region_instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instances.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +2 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_url_maps.rb +2 -0
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/region_zones/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/region_zones.rb +2 -0
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/regions/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/regions.rb +2 -0
- data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reliability_risks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_blocks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +2 -0
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/reservations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/reservations.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/resource_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/rest.rb +3 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/rollout_plans.rb +2 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/rollouts/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/rollouts.rb +2 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +9 -49
- data/lib/google/cloud/compute/v1/routers/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/routers.rb +2 -0
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/routes/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/routes.rb +2 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/security_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/security_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/service_attachments.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/snapshots/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshots.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_certificates.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pool_types.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/storage_pools/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pools.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +6 -25
- data/lib/google/cloud/compute/v1/subnetworks/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks.rb +2 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_https_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_instances/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_instances.rb +2 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_pools/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_pools.rb +2 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +2 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/url_maps/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/url_maps.rb +2 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_gateways.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +5 -17
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels.rb +2 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +2 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +4 -9
- data/lib/google/cloud/compute/v1/zones/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/zones.rb +2 -0
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +566 -1614
- metadata +16 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "google/cloud/compute/v1/compute_pb"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Compute
|
|
24
|
+
module V1
|
|
25
|
+
module ManagedRulesets
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the ManagedRulesets 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::GetManagedRulesetRequest]
|
|
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::ManagedRuleset]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Cloud::Compute::V1::ManagedRuleset]
|
|
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::ManagedRuleset.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::ListManagedRulesetsRequest]
|
|
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::ManagedRulesetList]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::Compute::V1::ManagedRulesetList]
|
|
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::ManagedRulesetList.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::GetManagedRulesetRequest]
|
|
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/managedRulesets/{managed_ruleset}",
|
|
170
|
+
matches: [
|
|
171
|
+
["project", %r{^[^/]+/?$}, false],
|
|
172
|
+
["managed_ruleset", %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::ListManagedRulesetsRequest]
|
|
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/managedRulesets",
|
|
192
|
+
matches: [
|
|
193
|
+
["project", %r{^[^/]+/?$}, false]
|
|
194
|
+
]
|
|
195
|
+
)
|
|
196
|
+
transcoder.transcode request_pb
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/compute/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/compute/v1/managed_rulesets/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/managed_rulesets/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The ManagedRulesets API.
|
|
34
|
+
#
|
|
35
|
+
# This client uses ManagedRulesets version 2026-09-01.
|
|
36
|
+
#
|
|
37
|
+
# To load this service and instantiate a REST client:
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/compute/v1/managed_rulesets/rest"
|
|
40
|
+
# client = ::Google::Cloud::Compute::V1::ManagedRulesets::Rest::Client.new
|
|
41
|
+
#
|
|
42
|
+
module ManagedRulesets
|
|
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/managed_rulesets/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/managed_rulesets/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/managed_rulesets/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The ManagedRulesets API.
|
|
33
|
+
#
|
|
34
|
+
# This client uses ManagedRulesets version 2026-09-01.
|
|
35
|
+
#
|
|
36
|
+
# @example Load this service and instantiate a REST client
|
|
37
|
+
#
|
|
38
|
+
# require "google/cloud/compute/v1/managed_rulesets/rest"
|
|
39
|
+
# client = ::Google::Cloud::Compute::V1::ManagedRulesets::Rest::Client.new
|
|
40
|
+
#
|
|
41
|
+
module ManagedRulesets
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
helper_path = ::File.join __dir__, "managed_rulesets", "helpers.rb"
|
|
49
|
+
require "google/cloud/compute/v1/managed_rulesets/helpers" if ::File.file? helper_path
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The NetworkAttachments API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkAttachments 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$"
|
|
@@ -236,7 +238,7 @@ module Google
|
|
|
236
238
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
237
239
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
238
240
|
#
|
|
239
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
241
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
240
242
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
241
243
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
242
244
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -332,13 +334,6 @@ module Google
|
|
|
332
334
|
# the next page of results.
|
|
333
335
|
# @param project [::String]
|
|
334
336
|
# Project ID for this request.
|
|
335
|
-
# @param return_partial_success [::Boolean]
|
|
336
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
337
|
-
# of failure. The default value is false.
|
|
338
|
-
#
|
|
339
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
340
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
341
|
-
# with an error code.
|
|
342
337
|
# @param service_project_number [::Integer]
|
|
343
338
|
# The Shared VPC service project id or service project number for which
|
|
344
339
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -797,7 +792,7 @@ module Google
|
|
|
797
792
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
798
793
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
799
794
|
#
|
|
800
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil
|
|
795
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil)
|
|
801
796
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
802
797
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
803
798
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -887,13 +882,6 @@ module Google
|
|
|
887
882
|
# Project ID for this request.
|
|
888
883
|
# @param region [::String]
|
|
889
884
|
# Name of the region of this request.
|
|
890
|
-
# @param return_partial_success [::Boolean]
|
|
891
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
892
|
-
# of failure. The default value is false.
|
|
893
|
-
#
|
|
894
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
895
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
896
|
-
# with an error code.
|
|
897
885
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
898
886
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkAttachment>]
|
|
899
887
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The NetworkEdgeSecurityServices API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkEdgeSecurityServices 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$"
|
|
@@ -222,7 +224,7 @@ module Google
|
|
|
222
224
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
223
225
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
224
226
|
#
|
|
225
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
227
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
226
228
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
227
229
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
228
230
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -318,13 +320,6 @@ module Google
|
|
|
318
320
|
# the next page of results.
|
|
319
321
|
# @param project [::String]
|
|
320
322
|
# Name of the project scoping this request.
|
|
321
|
-
# @param return_partial_success [::Boolean]
|
|
322
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
323
|
-
# of failure. The default value is false.
|
|
324
|
-
#
|
|
325
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
326
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
327
|
-
# with an error code.
|
|
328
323
|
# @param service_project_number [::Integer]
|
|
329
324
|
# The Shared VPC service project id or service project number for which
|
|
330
325
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The NetworkEdgeSecurityServices API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkEdgeSecurityServices 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/network_edge_security_services/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The NetworkEdgeSecurityServices API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses NetworkEdgeSecurityServices 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/network_edge_security_services/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The NetworkEndpointGroups API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkEndpointGroups 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$"
|
|
@@ -232,7 +234,7 @@ module Google
|
|
|
232
234
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
233
235
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
234
236
|
#
|
|
235
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
237
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
236
238
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
237
239
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
238
240
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -328,13 +330,6 @@ module Google
|
|
|
328
330
|
# the next page of results.
|
|
329
331
|
# @param project [::String]
|
|
330
332
|
# Project ID for this request.
|
|
331
|
-
# @param return_partial_success [::Boolean]
|
|
332
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
333
|
-
# of failure. The default value is false.
|
|
334
|
-
#
|
|
335
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
336
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
337
|
-
# with an error code.
|
|
338
333
|
# @param service_project_number [::Integer]
|
|
339
334
|
# The Shared VPC service project id or service project number for which
|
|
340
335
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -950,7 +945,7 @@ module Google
|
|
|
950
945
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
951
946
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
952
947
|
#
|
|
953
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
948
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
954
949
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
955
950
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
956
951
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1038,13 +1033,6 @@ module Google
|
|
|
1038
1033
|
# the next page of results.
|
|
1039
1034
|
# @param project [::String]
|
|
1040
1035
|
# Project ID for this request.
|
|
1041
|
-
# @param return_partial_success [::Boolean]
|
|
1042
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1043
|
-
# of failure. The default value is false.
|
|
1044
|
-
#
|
|
1045
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1046
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1047
|
-
# with an error code.
|
|
1048
1036
|
# @param zone [::String]
|
|
1049
1037
|
# The name of thezone
|
|
1050
1038
|
# where the network endpoint group is located. It should comply with RFC1035.
|
|
@@ -1121,7 +1109,7 @@ module Google
|
|
|
1121
1109
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1122
1110
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1123
1111
|
#
|
|
1124
|
-
# @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, network_endpoint_groups_list_endpoints_request_resource: nil, order_by: nil, page_token: nil, project: nil,
|
|
1112
|
+
# @overload list_network_endpoints(filter: nil, max_results: nil, network_endpoint_group: nil, network_endpoint_groups_list_endpoints_request_resource: nil, order_by: nil, page_token: nil, project: nil, zone: nil)
|
|
1125
1113
|
# Pass arguments to `list_network_endpoints` via keyword arguments. Note that at
|
|
1126
1114
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1127
1115
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1214,13 +1202,6 @@ module Google
|
|
|
1214
1202
|
# the next page of results.
|
|
1215
1203
|
# @param project [::String]
|
|
1216
1204
|
# Project ID for this request.
|
|
1217
|
-
# @param return_partial_success [::Boolean]
|
|
1218
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1219
|
-
# of failure. The default value is false.
|
|
1220
|
-
#
|
|
1221
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1222
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1223
|
-
# with an error code.
|
|
1224
1205
|
# @param zone [::String]
|
|
1225
1206
|
# The name of the zone where
|
|
1226
1207
|
# the network endpoint group is located. It should comply with RFC1035.
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The NetworkEndpointGroups API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses NetworkEndpointGroups 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/network_endpoint_groups/rest"
|
|
@@ -32,9 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The NetworkFirewallPolicies API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkFirewallPolicies 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$"
|
|
@@ -601,7 +603,7 @@ module Google
|
|
|
601
603
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
602
604
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
603
605
|
#
|
|
604
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil,
|
|
606
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, service_project_number: nil)
|
|
605
607
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
606
608
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
607
609
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -697,13 +699,6 @@ module Google
|
|
|
697
699
|
# the next page of results.
|
|
698
700
|
# @param project [::String]
|
|
699
701
|
# Project ID for this request.
|
|
700
|
-
# @param return_partial_success [::Boolean]
|
|
701
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
702
|
-
# of failure. The default value is false.
|
|
703
|
-
#
|
|
704
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
705
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
706
|
-
# with an error code.
|
|
707
702
|
# @param service_project_number [::Integer]
|
|
708
703
|
# The Shared VPC service project id or service project number for which
|
|
709
704
|
# aggregated list request is invoked for subnetworks list-usable api.
|
|
@@ -1501,7 +1496,7 @@ module Google
|
|
|
1501
1496
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1502
1497
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1503
1498
|
#
|
|
1504
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
1499
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
1505
1500
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
1506
1501
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1507
1502
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1589,13 +1584,6 @@ module Google
|
|
|
1589
1584
|
# the next page of results.
|
|
1590
1585
|
# @param project [::String]
|
|
1591
1586
|
# Project ID for this request.
|
|
1592
|
-
# @param return_partial_success [::Boolean]
|
|
1593
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1594
|
-
# of failure. The default value is false.
|
|
1595
|
-
#
|
|
1596
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1597
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
1598
|
-
# with an error code.
|
|
1599
1587
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1600
1588
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::FirewallPolicy>]
|
|
1601
1589
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The NetworkFirewallPolicies API.
|
|
34
34
|
#
|
|
35
|
+
# This client uses NetworkFirewallPolicies 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/network_firewall_policies/rest"
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The NetworkFirewallPolicies API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses NetworkFirewallPolicies 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/network_firewall_policies/rest"
|
|
@@ -31,9 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The NetworkProfiles API.
|
|
33
33
|
#
|
|
34
|
+
# This client uses NetworkProfiles version 2026-09-01.
|
|
35
|
+
#
|
|
34
36
|
class Client
|
|
35
37
|
# @private
|
|
36
|
-
API_VERSION = ""
|
|
38
|
+
API_VERSION = "2026-09-01"
|
|
37
39
|
|
|
38
40
|
# @private
|
|
39
41
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -278,7 +280,7 @@ module Google
|
|
|
278
280
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
279
281
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
280
282
|
#
|
|
281
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil
|
|
283
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil)
|
|
282
284
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
283
285
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
284
286
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -366,13 +368,6 @@ module Google
|
|
|
366
368
|
# the next page of results.
|
|
367
369
|
# @param project [::String]
|
|
368
370
|
# Project ID for this request.
|
|
369
|
-
# @param return_partial_success [::Boolean]
|
|
370
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
371
|
-
# of failure. The default value is false.
|
|
372
|
-
#
|
|
373
|
-
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
374
|
-
# single zone scope either returns all resources in the zone or no resources,
|
|
375
|
-
# with an error code.
|
|
376
371
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
377
372
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkProfile>]
|
|
378
373
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|