google-cloud-compute-v1 4.3.0 → 4.4.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 +2 -2
- data/lib/google/cloud/compute/v1/accelerator_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/addresses.rb +1 -1
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/advice/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/advice.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/autoscalers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/autoscalers.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/backend_buckets/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_buckets.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/backend_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services.rb +1 -1
- data/lib/google/cloud/compute/v1/compute_pb.rb +28 -1
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disk_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/disk_types.rb +1 -1
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/disks.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/external_vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/firewalls/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/forwarding_rules/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules.rb +1 -1
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/future_reservations.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_addresses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_addresses.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules.rb +1 -1
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_frontend_settings_service/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_frontend_settings_service.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/health_checks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks.rb +1 -1
- data/lib/google/cloud/compute/v1/hosts/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/hosts/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/hosts.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/image_family_views.rb +1 -1
- data/lib/google/cloud/compute/v1/image_views/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/image_views/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/image_views.rb +1 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/images/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/images.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_group_managers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_settings_service.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instances.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/instant_snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_locations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_locations.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnects/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/license_codes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/license_codes.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/licenses/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/machine_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types.rb +1 -1
- data/lib/google/cloud/compute/v1/managed_rulesets/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/managed_rulesets/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/managed_rulesets.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_profiles/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/network_profiles.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/networks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/networks.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/node_types.rb +1 -1
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/packet_mirrorings.rb +1 -1
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/preview_features.rb +1 -1
- data/lib/google/cloud/compute/v1/project_views/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/project_views/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/project_views.rb +1 -1
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/projects/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/projects.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_autoscalers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_autoscalers.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_backend_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_commitments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments.rb +1 -1
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_disk_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disk_types.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_disks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_check_services/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_checks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_sources.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_templates.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instances.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +1 -1
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +286 -2
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +191 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_url_maps/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_zones/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/regions/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/regions.rb +1 -1
- data/lib/google/cloud/compute/v1/reliability_risks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/reliability_risks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reliability_risks.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/reservation_blocks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_blocks.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_slots.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservation_sub_blocks.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/reservations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/resource_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/resource_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/rollout_plans.rb +1 -1
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/rollouts/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/rollouts.rb +1 -1
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/routers/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/routers.rb +1 -1
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/routes/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/routes.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/security_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/service_attachments.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshot_settings_service.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/snapshots/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/snapshots.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/ssl_certificates/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +280 -2
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +188 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pool_types.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/storage_pools/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/storage_pools.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/subnetworks/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/subnetworks.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_grpc_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_http_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_https_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_https_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_instances/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_instances.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_pools/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_pools.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/url_maps/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/url_maps.rb +1 -1
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/vpn_gateways/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_tunnels.rb +1 -1
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/wire_groups.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zones/rest.rb +1 -1
- data/lib/google/cloud/compute/v1/zones.rb +1 -1
- data/proto_docs/google/cloud/compute/v1/compute.rb +812 -3
- metadata +1 -1
|
@@ -32,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The RegionSslPolicies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses RegionSslPolicies version 2026-
|
|
35
|
+
# This client uses RegionSslPolicies version 2026-11-01.
|
|
36
36
|
#
|
|
37
37
|
class Client
|
|
38
38
|
# @private
|
|
39
|
-
API_VERSION = "2026-
|
|
39
|
+
API_VERSION = "2026-11-01"
|
|
40
40
|
|
|
41
41
|
# @private
|
|
42
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -80,6 +80,11 @@ module Google
|
|
|
80
80
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
default_config.rpcs.get_iam_policy.timeout = 600.0
|
|
84
|
+
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
85
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
|
86
|
+
}
|
|
87
|
+
|
|
83
88
|
default_config.rpcs.insert.timeout = 600.0
|
|
84
89
|
|
|
85
90
|
default_config.rpcs.list.timeout = 600.0
|
|
@@ -94,6 +99,10 @@ module Google
|
|
|
94
99
|
|
|
95
100
|
default_config.rpcs.patch.timeout = 600.0
|
|
96
101
|
|
|
102
|
+
default_config.rpcs.set_iam_policy.timeout = 600.0
|
|
103
|
+
|
|
104
|
+
default_config.rpcs.test_iam_permissions.timeout = 600.0
|
|
105
|
+
|
|
97
106
|
default_config
|
|
98
107
|
end
|
|
99
108
|
yield @configure if block_given?
|
|
@@ -404,6 +413,91 @@ module Google
|
|
|
404
413
|
raise ::Google::Cloud::Error.from_error(e)
|
|
405
414
|
end
|
|
406
415
|
|
|
416
|
+
##
|
|
417
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
418
|
+
# policy or resource exists.
|
|
419
|
+
#
|
|
420
|
+
# @overload get_iam_policy(request, options = nil)
|
|
421
|
+
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
422
|
+
# {::Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest} or an equivalent Hash.
|
|
423
|
+
#
|
|
424
|
+
# @param request [::Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest, ::Hash]
|
|
425
|
+
# A request object representing the call parameters. Required. To specify no
|
|
426
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
427
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
428
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
429
|
+
#
|
|
430
|
+
# @overload get_iam_policy(options_requested_policy_version: nil, project: nil, region: nil, resource: nil)
|
|
431
|
+
# Pass arguments to `get_iam_policy` via keyword arguments. Note that at
|
|
432
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
433
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
434
|
+
#
|
|
435
|
+
# @param options_requested_policy_version [::Integer]
|
|
436
|
+
# Requested IAM Policy version.
|
|
437
|
+
# @param project [::String]
|
|
438
|
+
# Project ID for this request.
|
|
439
|
+
# @param region [::String]
|
|
440
|
+
# The name of the region for this request.
|
|
441
|
+
# @param resource [::String]
|
|
442
|
+
# Name or id of the resource for this request.
|
|
443
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
444
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
445
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
446
|
+
#
|
|
447
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
448
|
+
#
|
|
449
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
450
|
+
#
|
|
451
|
+
# @example Basic example
|
|
452
|
+
# require "google/cloud/compute/v1"
|
|
453
|
+
#
|
|
454
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
455
|
+
# client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
|
|
456
|
+
#
|
|
457
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
458
|
+
# request = Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest.new
|
|
459
|
+
#
|
|
460
|
+
# # Call the get_iam_policy method.
|
|
461
|
+
# result = client.get_iam_policy request
|
|
462
|
+
#
|
|
463
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Policy.
|
|
464
|
+
# p result
|
|
465
|
+
#
|
|
466
|
+
def get_iam_policy request, options = nil
|
|
467
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
468
|
+
|
|
469
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest
|
|
470
|
+
|
|
471
|
+
# Converts hash and nil to an options object
|
|
472
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
473
|
+
|
|
474
|
+
# Customize the options with defaults
|
|
475
|
+
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
476
|
+
|
|
477
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
478
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
479
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
480
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
481
|
+
transports_version_send: [:rest]
|
|
482
|
+
|
|
483
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
484
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
485
|
+
|
|
486
|
+
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
|
487
|
+
metadata: call_metadata,
|
|
488
|
+
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
|
489
|
+
|
|
490
|
+
options.apply_defaults timeout: @config.timeout,
|
|
491
|
+
metadata: @config.metadata,
|
|
492
|
+
retry_policy: @config.retry_policy
|
|
493
|
+
|
|
494
|
+
@region_ssl_policies_stub.get_iam_policy request, options do |result, operation|
|
|
495
|
+
yield result, operation if block_given?
|
|
496
|
+
end
|
|
497
|
+
rescue ::Gapic::Rest::Error => e
|
|
498
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
499
|
+
end
|
|
500
|
+
|
|
407
501
|
##
|
|
408
502
|
# Creates a new policy in the specified project and region using the data
|
|
409
503
|
# included in the request.
|
|
@@ -946,6 +1040,175 @@ module Google
|
|
|
946
1040
|
raise ::Google::Cloud::Error.from_error(e)
|
|
947
1041
|
end
|
|
948
1042
|
|
|
1043
|
+
##
|
|
1044
|
+
# Sets the access control policy on the specified resource.
|
|
1045
|
+
# Replaces any existing policy.
|
|
1046
|
+
#
|
|
1047
|
+
# @overload set_iam_policy(request, options = nil)
|
|
1048
|
+
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
1049
|
+
# {::Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest} or an equivalent Hash.
|
|
1050
|
+
#
|
|
1051
|
+
# @param request [::Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest, ::Hash]
|
|
1052
|
+
# A request object representing the call parameters. Required. To specify no
|
|
1053
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
1054
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1055
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1056
|
+
#
|
|
1057
|
+
# @overload set_iam_policy(project: nil, region: nil, region_set_policy_request_resource: nil, resource: nil)
|
|
1058
|
+
# Pass arguments to `set_iam_policy` via keyword arguments. Note that at
|
|
1059
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1060
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1061
|
+
#
|
|
1062
|
+
# @param project [::String]
|
|
1063
|
+
# Project ID for this request.
|
|
1064
|
+
# @param region [::String]
|
|
1065
|
+
# The name of the region for this request.
|
|
1066
|
+
# @param region_set_policy_request_resource [::Google::Cloud::Compute::V1::RegionSetPolicyRequest, ::Hash]
|
|
1067
|
+
# The body resource for this request
|
|
1068
|
+
# @param resource [::String]
|
|
1069
|
+
# Name or id of the resource for this request.
|
|
1070
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1071
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
1072
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1073
|
+
#
|
|
1074
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
1075
|
+
#
|
|
1076
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
1077
|
+
#
|
|
1078
|
+
# @example Basic example
|
|
1079
|
+
# require "google/cloud/compute/v1"
|
|
1080
|
+
#
|
|
1081
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
1082
|
+
# client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
|
|
1083
|
+
#
|
|
1084
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
1085
|
+
# request = Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest.new
|
|
1086
|
+
#
|
|
1087
|
+
# # Call the set_iam_policy method.
|
|
1088
|
+
# result = client.set_iam_policy request
|
|
1089
|
+
#
|
|
1090
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Policy.
|
|
1091
|
+
# p result
|
|
1092
|
+
#
|
|
1093
|
+
def set_iam_policy request, options = nil
|
|
1094
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
1095
|
+
|
|
1096
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest
|
|
1097
|
+
|
|
1098
|
+
# Converts hash and nil to an options object
|
|
1099
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
1100
|
+
|
|
1101
|
+
# Customize the options with defaults
|
|
1102
|
+
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1103
|
+
|
|
1104
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1105
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1106
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1107
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
1108
|
+
transports_version_send: [:rest]
|
|
1109
|
+
|
|
1110
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1111
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1112
|
+
|
|
1113
|
+
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
|
1114
|
+
metadata: call_metadata,
|
|
1115
|
+
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
|
1116
|
+
|
|
1117
|
+
options.apply_defaults timeout: @config.timeout,
|
|
1118
|
+
metadata: @config.metadata,
|
|
1119
|
+
retry_policy: @config.retry_policy
|
|
1120
|
+
|
|
1121
|
+
@region_ssl_policies_stub.set_iam_policy request, options do |result, operation|
|
|
1122
|
+
yield result, operation if block_given?
|
|
1123
|
+
end
|
|
1124
|
+
rescue ::Gapic::Rest::Error => e
|
|
1125
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
##
|
|
1129
|
+
# Returns permissions that a caller has on the specified resource.
|
|
1130
|
+
#
|
|
1131
|
+
# @overload test_iam_permissions(request, options = nil)
|
|
1132
|
+
# Pass arguments to `test_iam_permissions` via a request object, either of type
|
|
1133
|
+
# {::Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest} or an equivalent Hash.
|
|
1134
|
+
#
|
|
1135
|
+
# @param request [::Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest, ::Hash]
|
|
1136
|
+
# A request object representing the call parameters. Required. To specify no
|
|
1137
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
1138
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1139
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1140
|
+
#
|
|
1141
|
+
# @overload test_iam_permissions(project: nil, region: nil, resource: nil, test_permissions_request_resource: nil)
|
|
1142
|
+
# Pass arguments to `test_iam_permissions` via keyword arguments. Note that at
|
|
1143
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1144
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1145
|
+
#
|
|
1146
|
+
# @param project [::String]
|
|
1147
|
+
# Project ID for this request.
|
|
1148
|
+
# @param region [::String]
|
|
1149
|
+
# The name of the region for this request.
|
|
1150
|
+
# @param resource [::String]
|
|
1151
|
+
# Name or id of the resource for this request.
|
|
1152
|
+
# @param test_permissions_request_resource [::Google::Cloud::Compute::V1::TestPermissionsRequest, ::Hash]
|
|
1153
|
+
# The body resource for this request
|
|
1154
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1155
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
1156
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1157
|
+
#
|
|
1158
|
+
# @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
1159
|
+
#
|
|
1160
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
1161
|
+
#
|
|
1162
|
+
# @example Basic example
|
|
1163
|
+
# require "google/cloud/compute/v1"
|
|
1164
|
+
#
|
|
1165
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
1166
|
+
# client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
|
|
1167
|
+
#
|
|
1168
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
1169
|
+
# request = Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest.new
|
|
1170
|
+
#
|
|
1171
|
+
# # Call the test_iam_permissions method.
|
|
1172
|
+
# result = client.test_iam_permissions request
|
|
1173
|
+
#
|
|
1174
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TestPermissionsResponse.
|
|
1175
|
+
# p result
|
|
1176
|
+
#
|
|
1177
|
+
def test_iam_permissions request, options = nil
|
|
1178
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
1179
|
+
|
|
1180
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest
|
|
1181
|
+
|
|
1182
|
+
# Converts hash and nil to an options object
|
|
1183
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
1184
|
+
|
|
1185
|
+
# Customize the options with defaults
|
|
1186
|
+
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1187
|
+
|
|
1188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1189
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1190
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1191
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
1192
|
+
transports_version_send: [:rest]
|
|
1193
|
+
|
|
1194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1195
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1196
|
+
|
|
1197
|
+
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
|
1198
|
+
metadata: call_metadata,
|
|
1199
|
+
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
|
1200
|
+
|
|
1201
|
+
options.apply_defaults timeout: @config.timeout,
|
|
1202
|
+
metadata: @config.metadata,
|
|
1203
|
+
retry_policy: @config.retry_policy
|
|
1204
|
+
|
|
1205
|
+
@region_ssl_policies_stub.test_iam_permissions request, options do |result, operation|
|
|
1206
|
+
yield result, operation if block_given?
|
|
1207
|
+
end
|
|
1208
|
+
rescue ::Gapic::Rest::Error => e
|
|
1209
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
1210
|
+
end
|
|
1211
|
+
|
|
949
1212
|
##
|
|
950
1213
|
# Configuration class for the RegionSslPolicies REST API.
|
|
951
1214
|
#
|
|
@@ -1105,6 +1368,11 @@ module Google
|
|
|
1105
1368
|
#
|
|
1106
1369
|
attr_reader :get
|
|
1107
1370
|
##
|
|
1371
|
+
# RPC-specific configuration for `get_iam_policy`
|
|
1372
|
+
# @return [::Gapic::Config::Method]
|
|
1373
|
+
#
|
|
1374
|
+
attr_reader :get_iam_policy
|
|
1375
|
+
##
|
|
1108
1376
|
# RPC-specific configuration for `insert`
|
|
1109
1377
|
# @return [::Gapic::Config::Method]
|
|
1110
1378
|
#
|
|
@@ -1124,6 +1392,16 @@ module Google
|
|
|
1124
1392
|
# @return [::Gapic::Config::Method]
|
|
1125
1393
|
#
|
|
1126
1394
|
attr_reader :patch
|
|
1395
|
+
##
|
|
1396
|
+
# RPC-specific configuration for `set_iam_policy`
|
|
1397
|
+
# @return [::Gapic::Config::Method]
|
|
1398
|
+
#
|
|
1399
|
+
attr_reader :set_iam_policy
|
|
1400
|
+
##
|
|
1401
|
+
# RPC-specific configuration for `test_iam_permissions`
|
|
1402
|
+
# @return [::Gapic::Config::Method]
|
|
1403
|
+
#
|
|
1404
|
+
attr_reader :test_iam_permissions
|
|
1127
1405
|
|
|
1128
1406
|
# @private
|
|
1129
1407
|
def initialize parent_rpcs = nil
|
|
@@ -1131,6 +1409,8 @@ module Google
|
|
|
1131
1409
|
@delete = ::Gapic::Config::Method.new delete_config
|
|
1132
1410
|
get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
|
|
1133
1411
|
@get = ::Gapic::Config::Method.new get_config
|
|
1412
|
+
get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
|
|
1413
|
+
@get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
|
|
1134
1414
|
insert_config = parent_rpcs.insert if parent_rpcs.respond_to? :insert
|
|
1135
1415
|
@insert = ::Gapic::Config::Method.new insert_config
|
|
1136
1416
|
list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
|
|
@@ -1139,6 +1419,10 @@ module Google
|
|
|
1139
1419
|
@list_available_features = ::Gapic::Config::Method.new list_available_features_config
|
|
1140
1420
|
patch_config = parent_rpcs.patch if parent_rpcs.respond_to? :patch
|
|
1141
1421
|
@patch = ::Gapic::Config::Method.new patch_config
|
|
1422
|
+
set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
|
|
1423
|
+
@set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
|
|
1424
|
+
test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
|
|
1425
|
+
@test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
|
|
1142
1426
|
|
|
1143
1427
|
yield self if block_given?
|
|
1144
1428
|
end
|
|
@@ -153,6 +153,46 @@ module Google
|
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
##
|
|
157
|
+
# Baseline implementation for the get_iam_policy REST call
|
|
158
|
+
#
|
|
159
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest]
|
|
160
|
+
# A request object representing the call parameters. Required.
|
|
161
|
+
# @param options [::Gapic::CallOptions]
|
|
162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
163
|
+
#
|
|
164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
165
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
167
|
+
#
|
|
168
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
169
|
+
# A result object deserialized from the server's reply
|
|
170
|
+
def get_iam_policy request_pb, options = nil
|
|
171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
172
|
+
|
|
173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
|
|
174
|
+
query_string_params = if query_string_params.any?
|
|
175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
176
|
+
else
|
|
177
|
+
{}
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
response = @client_stub.make_http_request(
|
|
181
|
+
verb,
|
|
182
|
+
uri: uri,
|
|
183
|
+
body: body || "",
|
|
184
|
+
params: query_string_params,
|
|
185
|
+
method_name: "get_iam_policy",
|
|
186
|
+
options: options
|
|
187
|
+
)
|
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
189
|
+
result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
|
|
190
|
+
catch :response do
|
|
191
|
+
yield result, operation if block_given?
|
|
192
|
+
result
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
156
196
|
##
|
|
157
197
|
# Baseline implementation for the insert REST call
|
|
158
198
|
#
|
|
@@ -313,6 +353,86 @@ module Google
|
|
|
313
353
|
end
|
|
314
354
|
end
|
|
315
355
|
|
|
356
|
+
##
|
|
357
|
+
# Baseline implementation for the set_iam_policy REST call
|
|
358
|
+
#
|
|
359
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest]
|
|
360
|
+
# A request object representing the call parameters. Required.
|
|
361
|
+
# @param options [::Gapic::CallOptions]
|
|
362
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
363
|
+
#
|
|
364
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
365
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
366
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
367
|
+
#
|
|
368
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
369
|
+
# A result object deserialized from the server's reply
|
|
370
|
+
def set_iam_policy request_pb, options = nil
|
|
371
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
372
|
+
|
|
373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
|
|
374
|
+
query_string_params = if query_string_params.any?
|
|
375
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
376
|
+
else
|
|
377
|
+
{}
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
response = @client_stub.make_http_request(
|
|
381
|
+
verb,
|
|
382
|
+
uri: uri,
|
|
383
|
+
body: body || "",
|
|
384
|
+
params: query_string_params,
|
|
385
|
+
method_name: "set_iam_policy",
|
|
386
|
+
options: options
|
|
387
|
+
)
|
|
388
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
389
|
+
result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
|
|
390
|
+
catch :response do
|
|
391
|
+
yield result, operation if block_given?
|
|
392
|
+
result
|
|
393
|
+
end
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
##
|
|
397
|
+
# Baseline implementation for the test_iam_permissions REST call
|
|
398
|
+
#
|
|
399
|
+
# @param request_pb [::Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest]
|
|
400
|
+
# A request object representing the call parameters. Required.
|
|
401
|
+
# @param options [::Gapic::CallOptions]
|
|
402
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
403
|
+
#
|
|
404
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
405
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
406
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
407
|
+
#
|
|
408
|
+
# @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
409
|
+
# A result object deserialized from the server's reply
|
|
410
|
+
def test_iam_permissions request_pb, options = nil
|
|
411
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
412
|
+
|
|
413
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
|
|
414
|
+
query_string_params = if query_string_params.any?
|
|
415
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
416
|
+
else
|
|
417
|
+
{}
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
response = @client_stub.make_http_request(
|
|
421
|
+
verb,
|
|
422
|
+
uri: uri,
|
|
423
|
+
body: body || "",
|
|
424
|
+
params: query_string_params,
|
|
425
|
+
method_name: "test_iam_permissions",
|
|
426
|
+
options: options
|
|
427
|
+
)
|
|
428
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
429
|
+
result = ::Google::Cloud::Compute::V1::TestPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
430
|
+
catch :response do
|
|
431
|
+
yield result, operation if block_given?
|
|
432
|
+
result
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
316
436
|
##
|
|
317
437
|
# @private
|
|
318
438
|
#
|
|
@@ -359,6 +479,29 @@ module Google
|
|
|
359
479
|
transcoder.transcode request_pb
|
|
360
480
|
end
|
|
361
481
|
|
|
482
|
+
##
|
|
483
|
+
# @private
|
|
484
|
+
#
|
|
485
|
+
# GRPC transcoding helper method for the get_iam_policy REST call
|
|
486
|
+
#
|
|
487
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicyRegionSslPolicyRequest]
|
|
488
|
+
# A request object representing the call parameters. Required.
|
|
489
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
490
|
+
# Uri, Body, Query string parameters
|
|
491
|
+
def self.transcode_get_iam_policy_request request_pb
|
|
492
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
493
|
+
.with_bindings(
|
|
494
|
+
uri_method: :get,
|
|
495
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy",
|
|
496
|
+
matches: [
|
|
497
|
+
["project", %r{^[^/]+/?$}, false],
|
|
498
|
+
["region", %r{^[^/]+/?$}, false],
|
|
499
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
500
|
+
]
|
|
501
|
+
)
|
|
502
|
+
transcoder.transcode request_pb
|
|
503
|
+
end
|
|
504
|
+
|
|
362
505
|
##
|
|
363
506
|
# @private
|
|
364
507
|
#
|
|
@@ -449,6 +592,54 @@ module Google
|
|
|
449
592
|
)
|
|
450
593
|
transcoder.transcode request_pb
|
|
451
594
|
end
|
|
595
|
+
|
|
596
|
+
##
|
|
597
|
+
# @private
|
|
598
|
+
#
|
|
599
|
+
# GRPC transcoding helper method for the set_iam_policy REST call
|
|
600
|
+
#
|
|
601
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicyRegionSslPolicyRequest]
|
|
602
|
+
# A request object representing the call parameters. Required.
|
|
603
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
604
|
+
# Uri, Body, Query string parameters
|
|
605
|
+
def self.transcode_set_iam_policy_request request_pb
|
|
606
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
607
|
+
.with_bindings(
|
|
608
|
+
uri_method: :post,
|
|
609
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy",
|
|
610
|
+
body: "region_set_policy_request_resource",
|
|
611
|
+
matches: [
|
|
612
|
+
["project", %r{^[^/]+/?$}, false],
|
|
613
|
+
["region", %r{^[^/]+/?$}, false],
|
|
614
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
615
|
+
]
|
|
616
|
+
)
|
|
617
|
+
transcoder.transcode request_pb
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
##
|
|
621
|
+
# @private
|
|
622
|
+
#
|
|
623
|
+
# GRPC transcoding helper method for the test_iam_permissions REST call
|
|
624
|
+
#
|
|
625
|
+
# @param request_pb [::Google::Cloud::Compute::V1::TestIamPermissionsRegionSslPolicyRequest]
|
|
626
|
+
# A request object representing the call parameters. Required.
|
|
627
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
628
|
+
# Uri, Body, Query string parameters
|
|
629
|
+
def self.transcode_test_iam_permissions_request request_pb
|
|
630
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
631
|
+
.with_bindings(
|
|
632
|
+
uri_method: :post,
|
|
633
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions",
|
|
634
|
+
body: "test_permissions_request_resource",
|
|
635
|
+
matches: [
|
|
636
|
+
["project", %r{^[^/]+/?$}, false],
|
|
637
|
+
["region", %r{^[^/]+/?$}, false],
|
|
638
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
639
|
+
]
|
|
640
|
+
)
|
|
641
|
+
transcoder.transcode request_pb
|
|
642
|
+
end
|
|
452
643
|
end
|
|
453
644
|
end
|
|
454
645
|
end
|
|
@@ -32,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The RegionTargetHttpProxies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses RegionTargetHttpProxies version 2026-
|
|
35
|
+
# This client uses RegionTargetHttpProxies version 2026-11-01.
|
|
36
36
|
#
|
|
37
37
|
class Client
|
|
38
38
|
# @private
|
|
39
|
-
API_VERSION = "2026-
|
|
39
|
+
API_VERSION = "2026-11-01"
|
|
40
40
|
|
|
41
41
|
# @private
|
|
42
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -32,7 +32,7 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The RegionTargetHttpProxies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses RegionTargetHttpProxies version 2026-
|
|
35
|
+
# This client uses RegionTargetHttpProxies version 2026-11-01.
|
|
36
36
|
#
|
|
37
37
|
# To load this service and instantiate a REST client:
|
|
38
38
|
#
|
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The RegionTargetHttpProxies API.
|
|
33
33
|
#
|
|
34
|
-
# This client uses RegionTargetHttpProxies version 2026-
|
|
34
|
+
# This client uses RegionTargetHttpProxies version 2026-11-01.
|
|
35
35
|
#
|
|
36
36
|
# @example Load this service and instantiate a REST client
|
|
37
37
|
#
|
|
@@ -32,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The RegionTargetHttpsProxies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses RegionTargetHttpsProxies version 2026-
|
|
35
|
+
# This client uses RegionTargetHttpsProxies version 2026-11-01.
|
|
36
36
|
#
|
|
37
37
|
class Client
|
|
38
38
|
# @private
|
|
39
|
-
API_VERSION = "2026-
|
|
39
|
+
API_VERSION = "2026-11-01"
|
|
40
40
|
|
|
41
41
|
# @private
|
|
42
42
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -32,7 +32,7 @@ module Google
|
|
|
32
32
|
##
|
|
33
33
|
# The RegionTargetHttpsProxies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses RegionTargetHttpsProxies version 2026-
|
|
35
|
+
# This client uses RegionTargetHttpsProxies version 2026-11-01.
|
|
36
36
|
#
|
|
37
37
|
# To load this service and instantiate a REST client:
|
|
38
38
|
#
|
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
##
|
|
32
32
|
# The RegionTargetHttpsProxies API.
|
|
33
33
|
#
|
|
34
|
-
# This client uses RegionTargetHttpsProxies version 2026-
|
|
34
|
+
# This client uses RegionTargetHttpsProxies version 2026-11-01.
|
|
35
35
|
#
|
|
36
36
|
# @example Load this service and instantiate a REST client
|
|
37
37
|
#
|