google-cloud-compute-v1 4.2.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/README.md +4 -6
- 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 +848 -15
- metadata +1 -1
|
@@ -32,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The SslCertificates API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses SslCertificates version 2026-
|
|
35
|
+
# This client uses SslCertificates 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,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The SslPolicies API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses SslPolicies version 2026-
|
|
35
|
+
# This client uses SslPolicies 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$"
|
|
@@ -85,6 +85,11 @@ module Google
|
|
|
85
85
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
default_config.rpcs.get_iam_policy.timeout = 600.0
|
|
89
|
+
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
90
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
|
|
91
|
+
}
|
|
92
|
+
|
|
88
93
|
default_config.rpcs.insert.timeout = 600.0
|
|
89
94
|
|
|
90
95
|
default_config.rpcs.list.timeout = 600.0
|
|
@@ -99,6 +104,10 @@ module Google
|
|
|
99
104
|
|
|
100
105
|
default_config.rpcs.patch.timeout = 600.0
|
|
101
106
|
|
|
107
|
+
default_config.rpcs.set_iam_policy.timeout = 600.0
|
|
108
|
+
|
|
109
|
+
default_config.rpcs.test_iam_permissions.timeout = 600.0
|
|
110
|
+
|
|
102
111
|
default_config
|
|
103
112
|
end
|
|
104
113
|
yield @configure if block_given?
|
|
@@ -580,6 +589,89 @@ module Google
|
|
|
580
589
|
raise ::Google::Cloud::Error.from_error(e)
|
|
581
590
|
end
|
|
582
591
|
|
|
592
|
+
##
|
|
593
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
594
|
+
# policy or resource exists.
|
|
595
|
+
#
|
|
596
|
+
# @overload get_iam_policy(request, options = nil)
|
|
597
|
+
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
598
|
+
# {::Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest} or an equivalent Hash.
|
|
599
|
+
#
|
|
600
|
+
# @param request [::Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest, ::Hash]
|
|
601
|
+
# A request object representing the call parameters. Required. To specify no
|
|
602
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
603
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
604
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
605
|
+
#
|
|
606
|
+
# @overload get_iam_policy(options_requested_policy_version: nil, project: nil, resource: nil)
|
|
607
|
+
# Pass arguments to `get_iam_policy` via keyword arguments. Note that at
|
|
608
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
609
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
610
|
+
#
|
|
611
|
+
# @param options_requested_policy_version [::Integer]
|
|
612
|
+
# Requested IAM Policy version.
|
|
613
|
+
# @param project [::String]
|
|
614
|
+
# Project ID for this request.
|
|
615
|
+
# @param resource [::String]
|
|
616
|
+
# Name or id of the resource for this request.
|
|
617
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
618
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
619
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
620
|
+
#
|
|
621
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
622
|
+
#
|
|
623
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
624
|
+
#
|
|
625
|
+
# @example Basic example
|
|
626
|
+
# require "google/cloud/compute/v1"
|
|
627
|
+
#
|
|
628
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
629
|
+
# client = Google::Cloud::Compute::V1::SslPolicies::Rest::Client.new
|
|
630
|
+
#
|
|
631
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
632
|
+
# request = Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest.new
|
|
633
|
+
#
|
|
634
|
+
# # Call the get_iam_policy method.
|
|
635
|
+
# result = client.get_iam_policy request
|
|
636
|
+
#
|
|
637
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Policy.
|
|
638
|
+
# p result
|
|
639
|
+
#
|
|
640
|
+
def get_iam_policy request, options = nil
|
|
641
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
642
|
+
|
|
643
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest
|
|
644
|
+
|
|
645
|
+
# Converts hash and nil to an options object
|
|
646
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
647
|
+
|
|
648
|
+
# Customize the options with defaults
|
|
649
|
+
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
650
|
+
|
|
651
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
652
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
653
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
654
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
655
|
+
transports_version_send: [:rest]
|
|
656
|
+
|
|
657
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
658
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
659
|
+
|
|
660
|
+
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
|
661
|
+
metadata: call_metadata,
|
|
662
|
+
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
|
663
|
+
|
|
664
|
+
options.apply_defaults timeout: @config.timeout,
|
|
665
|
+
metadata: @config.metadata,
|
|
666
|
+
retry_policy: @config.retry_policy
|
|
667
|
+
|
|
668
|
+
@ssl_policies_stub.get_iam_policy request, options do |result, operation|
|
|
669
|
+
yield result, operation if block_given?
|
|
670
|
+
end
|
|
671
|
+
rescue ::Gapic::Rest::Error => e
|
|
672
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
673
|
+
end
|
|
674
|
+
|
|
583
675
|
##
|
|
584
676
|
# Returns the specified SSL policy resource.
|
|
585
677
|
#
|
|
@@ -1111,6 +1203,171 @@ module Google
|
|
|
1111
1203
|
raise ::Google::Cloud::Error.from_error(e)
|
|
1112
1204
|
end
|
|
1113
1205
|
|
|
1206
|
+
##
|
|
1207
|
+
# Sets the access control policy on the specified resource.
|
|
1208
|
+
# Replaces any existing policy.
|
|
1209
|
+
#
|
|
1210
|
+
# @overload set_iam_policy(request, options = nil)
|
|
1211
|
+
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
1212
|
+
# {::Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest} or an equivalent Hash.
|
|
1213
|
+
#
|
|
1214
|
+
# @param request [::Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest, ::Hash]
|
|
1215
|
+
# A request object representing the call parameters. Required. To specify no
|
|
1216
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
1217
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1218
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1219
|
+
#
|
|
1220
|
+
# @overload set_iam_policy(global_set_policy_request_resource: nil, project: nil, resource: nil)
|
|
1221
|
+
# Pass arguments to `set_iam_policy` via keyword arguments. Note that at
|
|
1222
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1223
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1224
|
+
#
|
|
1225
|
+
# @param global_set_policy_request_resource [::Google::Cloud::Compute::V1::GlobalSetPolicyRequest, ::Hash]
|
|
1226
|
+
# The body resource for this request
|
|
1227
|
+
# @param project [::String]
|
|
1228
|
+
# Project ID for this request.
|
|
1229
|
+
# @param resource [::String]
|
|
1230
|
+
# Name or id of the resource for this request.
|
|
1231
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1232
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
1233
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1234
|
+
#
|
|
1235
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
1236
|
+
#
|
|
1237
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
1238
|
+
#
|
|
1239
|
+
# @example Basic example
|
|
1240
|
+
# require "google/cloud/compute/v1"
|
|
1241
|
+
#
|
|
1242
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
1243
|
+
# client = Google::Cloud::Compute::V1::SslPolicies::Rest::Client.new
|
|
1244
|
+
#
|
|
1245
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
1246
|
+
# request = Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest.new
|
|
1247
|
+
#
|
|
1248
|
+
# # Call the set_iam_policy method.
|
|
1249
|
+
# result = client.set_iam_policy request
|
|
1250
|
+
#
|
|
1251
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Policy.
|
|
1252
|
+
# p result
|
|
1253
|
+
#
|
|
1254
|
+
def set_iam_policy request, options = nil
|
|
1255
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
1256
|
+
|
|
1257
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest
|
|
1258
|
+
|
|
1259
|
+
# Converts hash and nil to an options object
|
|
1260
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
1261
|
+
|
|
1262
|
+
# Customize the options with defaults
|
|
1263
|
+
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1264
|
+
|
|
1265
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1266
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1267
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1268
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
1269
|
+
transports_version_send: [:rest]
|
|
1270
|
+
|
|
1271
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1272
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1273
|
+
|
|
1274
|
+
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
|
1275
|
+
metadata: call_metadata,
|
|
1276
|
+
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
|
1277
|
+
|
|
1278
|
+
options.apply_defaults timeout: @config.timeout,
|
|
1279
|
+
metadata: @config.metadata,
|
|
1280
|
+
retry_policy: @config.retry_policy
|
|
1281
|
+
|
|
1282
|
+
@ssl_policies_stub.set_iam_policy request, options do |result, operation|
|
|
1283
|
+
yield result, operation if block_given?
|
|
1284
|
+
end
|
|
1285
|
+
rescue ::Gapic::Rest::Error => e
|
|
1286
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
##
|
|
1290
|
+
# Returns permissions that a caller has on the specified resource.
|
|
1291
|
+
#
|
|
1292
|
+
# @overload test_iam_permissions(request, options = nil)
|
|
1293
|
+
# Pass arguments to `test_iam_permissions` via a request object, either of type
|
|
1294
|
+
# {::Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest} or an equivalent Hash.
|
|
1295
|
+
#
|
|
1296
|
+
# @param request [::Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest, ::Hash]
|
|
1297
|
+
# A request object representing the call parameters. Required. To specify no
|
|
1298
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
1299
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1300
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1301
|
+
#
|
|
1302
|
+
# @overload test_iam_permissions(project: nil, resource: nil, test_permissions_request_resource: nil)
|
|
1303
|
+
# Pass arguments to `test_iam_permissions` via keyword arguments. Note that at
|
|
1304
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1305
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1306
|
+
#
|
|
1307
|
+
# @param project [::String]
|
|
1308
|
+
# Project ID for this request.
|
|
1309
|
+
# @param resource [::String]
|
|
1310
|
+
# Name or id of the resource for this request.
|
|
1311
|
+
# @param test_permissions_request_resource [::Google::Cloud::Compute::V1::TestPermissionsRequest, ::Hash]
|
|
1312
|
+
# The body resource for this request
|
|
1313
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1314
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
1315
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1316
|
+
#
|
|
1317
|
+
# @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
1318
|
+
#
|
|
1319
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
1320
|
+
#
|
|
1321
|
+
# @example Basic example
|
|
1322
|
+
# require "google/cloud/compute/v1"
|
|
1323
|
+
#
|
|
1324
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
1325
|
+
# client = Google::Cloud::Compute::V1::SslPolicies::Rest::Client.new
|
|
1326
|
+
#
|
|
1327
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
1328
|
+
# request = Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest.new
|
|
1329
|
+
#
|
|
1330
|
+
# # Call the test_iam_permissions method.
|
|
1331
|
+
# result = client.test_iam_permissions request
|
|
1332
|
+
#
|
|
1333
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TestPermissionsResponse.
|
|
1334
|
+
# p result
|
|
1335
|
+
#
|
|
1336
|
+
def test_iam_permissions request, options = nil
|
|
1337
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
1338
|
+
|
|
1339
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest
|
|
1340
|
+
|
|
1341
|
+
# Converts hash and nil to an options object
|
|
1342
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
1343
|
+
|
|
1344
|
+
# Customize the options with defaults
|
|
1345
|
+
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1346
|
+
|
|
1347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1348
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1349
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1350
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
|
1351
|
+
transports_version_send: [:rest]
|
|
1352
|
+
|
|
1353
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1354
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1355
|
+
|
|
1356
|
+
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
|
1357
|
+
metadata: call_metadata,
|
|
1358
|
+
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
|
1359
|
+
|
|
1360
|
+
options.apply_defaults timeout: @config.timeout,
|
|
1361
|
+
metadata: @config.metadata,
|
|
1362
|
+
retry_policy: @config.retry_policy
|
|
1363
|
+
|
|
1364
|
+
@ssl_policies_stub.test_iam_permissions request, options do |result, operation|
|
|
1365
|
+
yield result, operation if block_given?
|
|
1366
|
+
end
|
|
1367
|
+
rescue ::Gapic::Rest::Error => e
|
|
1368
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1114
1371
|
##
|
|
1115
1372
|
# Configuration class for the SslPolicies REST API.
|
|
1116
1373
|
#
|
|
@@ -1275,6 +1532,11 @@ module Google
|
|
|
1275
1532
|
#
|
|
1276
1533
|
attr_reader :get
|
|
1277
1534
|
##
|
|
1535
|
+
# RPC-specific configuration for `get_iam_policy`
|
|
1536
|
+
# @return [::Gapic::Config::Method]
|
|
1537
|
+
#
|
|
1538
|
+
attr_reader :get_iam_policy
|
|
1539
|
+
##
|
|
1278
1540
|
# RPC-specific configuration for `insert`
|
|
1279
1541
|
# @return [::Gapic::Config::Method]
|
|
1280
1542
|
#
|
|
@@ -1294,6 +1556,16 @@ module Google
|
|
|
1294
1556
|
# @return [::Gapic::Config::Method]
|
|
1295
1557
|
#
|
|
1296
1558
|
attr_reader :patch
|
|
1559
|
+
##
|
|
1560
|
+
# RPC-specific configuration for `set_iam_policy`
|
|
1561
|
+
# @return [::Gapic::Config::Method]
|
|
1562
|
+
#
|
|
1563
|
+
attr_reader :set_iam_policy
|
|
1564
|
+
##
|
|
1565
|
+
# RPC-specific configuration for `test_iam_permissions`
|
|
1566
|
+
# @return [::Gapic::Config::Method]
|
|
1567
|
+
#
|
|
1568
|
+
attr_reader :test_iam_permissions
|
|
1297
1569
|
|
|
1298
1570
|
# @private
|
|
1299
1571
|
def initialize parent_rpcs = nil
|
|
@@ -1303,6 +1575,8 @@ module Google
|
|
|
1303
1575
|
@delete = ::Gapic::Config::Method.new delete_config
|
|
1304
1576
|
get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
|
|
1305
1577
|
@get = ::Gapic::Config::Method.new get_config
|
|
1578
|
+
get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
|
|
1579
|
+
@get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
|
|
1306
1580
|
insert_config = parent_rpcs.insert if parent_rpcs.respond_to? :insert
|
|
1307
1581
|
@insert = ::Gapic::Config::Method.new insert_config
|
|
1308
1582
|
list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
|
|
@@ -1311,6 +1585,10 @@ module Google
|
|
|
1311
1585
|
@list_available_features = ::Gapic::Config::Method.new list_available_features_config
|
|
1312
1586
|
patch_config = parent_rpcs.patch if parent_rpcs.respond_to? :patch
|
|
1313
1587
|
@patch = ::Gapic::Config::Method.new patch_config
|
|
1588
|
+
set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
|
|
1589
|
+
@set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
|
|
1590
|
+
test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
|
|
1591
|
+
@test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
|
|
1314
1592
|
|
|
1315
1593
|
yield self if block_given?
|
|
1316
1594
|
end
|
|
@@ -193,6 +193,46 @@ module Google
|
|
|
193
193
|
end
|
|
194
194
|
end
|
|
195
195
|
|
|
196
|
+
##
|
|
197
|
+
# Baseline implementation for the get_iam_policy REST call
|
|
198
|
+
#
|
|
199
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest]
|
|
200
|
+
# A request object representing the call parameters. Required.
|
|
201
|
+
# @param options [::Gapic::CallOptions]
|
|
202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
203
|
+
#
|
|
204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
205
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
|
206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
207
|
+
#
|
|
208
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
209
|
+
# A result object deserialized from the server's reply
|
|
210
|
+
def get_iam_policy request_pb, options = nil
|
|
211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
212
|
+
|
|
213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
|
|
214
|
+
query_string_params = if query_string_params.any?
|
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
216
|
+
else
|
|
217
|
+
{}
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
response = @client_stub.make_http_request(
|
|
221
|
+
verb,
|
|
222
|
+
uri: uri,
|
|
223
|
+
body: body || "",
|
|
224
|
+
params: query_string_params,
|
|
225
|
+
method_name: "get_iam_policy",
|
|
226
|
+
options: options
|
|
227
|
+
)
|
|
228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
229
|
+
result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
|
|
230
|
+
catch :response do
|
|
231
|
+
yield result, operation if block_given?
|
|
232
|
+
result
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
196
236
|
##
|
|
197
237
|
# Baseline implementation for the insert REST call
|
|
198
238
|
#
|
|
@@ -353,6 +393,86 @@ module Google
|
|
|
353
393
|
end
|
|
354
394
|
end
|
|
355
395
|
|
|
396
|
+
##
|
|
397
|
+
# Baseline implementation for the set_iam_policy REST call
|
|
398
|
+
#
|
|
399
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest]
|
|
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::Policy]
|
|
406
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
407
|
+
#
|
|
408
|
+
# @return [::Google::Cloud::Compute::V1::Policy]
|
|
409
|
+
# A result object deserialized from the server's reply
|
|
410
|
+
def set_iam_policy 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_set_iam_policy_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: "set_iam_policy",
|
|
426
|
+
options: options
|
|
427
|
+
)
|
|
428
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
429
|
+
result = ::Google::Cloud::Compute::V1::Policy.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
|
+
|
|
436
|
+
##
|
|
437
|
+
# Baseline implementation for the test_iam_permissions REST call
|
|
438
|
+
#
|
|
439
|
+
# @param request_pb [::Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest]
|
|
440
|
+
# A request object representing the call parameters. Required.
|
|
441
|
+
# @param options [::Gapic::CallOptions]
|
|
442
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
443
|
+
#
|
|
444
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
445
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
446
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
447
|
+
#
|
|
448
|
+
# @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
|
|
449
|
+
# A result object deserialized from the server's reply
|
|
450
|
+
def test_iam_permissions request_pb, options = nil
|
|
451
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
452
|
+
|
|
453
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
|
|
454
|
+
query_string_params = if query_string_params.any?
|
|
455
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
456
|
+
else
|
|
457
|
+
{}
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
response = @client_stub.make_http_request(
|
|
461
|
+
verb,
|
|
462
|
+
uri: uri,
|
|
463
|
+
body: body || "",
|
|
464
|
+
params: query_string_params,
|
|
465
|
+
method_name: "test_iam_permissions",
|
|
466
|
+
options: options
|
|
467
|
+
)
|
|
468
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
469
|
+
result = ::Google::Cloud::Compute::V1::TestPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
470
|
+
catch :response do
|
|
471
|
+
yield result, operation if block_given?
|
|
472
|
+
result
|
|
473
|
+
end
|
|
474
|
+
end
|
|
475
|
+
|
|
356
476
|
##
|
|
357
477
|
# @private
|
|
358
478
|
#
|
|
@@ -418,6 +538,28 @@ module Google
|
|
|
418
538
|
transcoder.transcode request_pb
|
|
419
539
|
end
|
|
420
540
|
|
|
541
|
+
##
|
|
542
|
+
# @private
|
|
543
|
+
#
|
|
544
|
+
# GRPC transcoding helper method for the get_iam_policy REST call
|
|
545
|
+
#
|
|
546
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicySslPolicyRequest]
|
|
547
|
+
# A request object representing the call parameters. Required.
|
|
548
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
549
|
+
# Uri, Body, Query string parameters
|
|
550
|
+
def self.transcode_get_iam_policy_request request_pb
|
|
551
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
552
|
+
.with_bindings(
|
|
553
|
+
uri_method: :get,
|
|
554
|
+
uri_template: "/compute/v1/projects/{project}/global/sslPolicies/{resource}/getIamPolicy",
|
|
555
|
+
matches: [
|
|
556
|
+
["project", %r{^[^/]+/?$}, false],
|
|
557
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
558
|
+
]
|
|
559
|
+
)
|
|
560
|
+
transcoder.transcode request_pb
|
|
561
|
+
end
|
|
562
|
+
|
|
421
563
|
##
|
|
422
564
|
# @private
|
|
423
565
|
#
|
|
@@ -504,6 +646,52 @@ module Google
|
|
|
504
646
|
)
|
|
505
647
|
transcoder.transcode request_pb
|
|
506
648
|
end
|
|
649
|
+
|
|
650
|
+
##
|
|
651
|
+
# @private
|
|
652
|
+
#
|
|
653
|
+
# GRPC transcoding helper method for the set_iam_policy REST call
|
|
654
|
+
#
|
|
655
|
+
# @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicySslPolicyRequest]
|
|
656
|
+
# A request object representing the call parameters. Required.
|
|
657
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
658
|
+
# Uri, Body, Query string parameters
|
|
659
|
+
def self.transcode_set_iam_policy_request request_pb
|
|
660
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
661
|
+
.with_bindings(
|
|
662
|
+
uri_method: :post,
|
|
663
|
+
uri_template: "/compute/v1/projects/{project}/global/sslPolicies/{resource}/setIamPolicy",
|
|
664
|
+
body: "global_set_policy_request_resource",
|
|
665
|
+
matches: [
|
|
666
|
+
["project", %r{^[^/]+/?$}, false],
|
|
667
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
668
|
+
]
|
|
669
|
+
)
|
|
670
|
+
transcoder.transcode request_pb
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
##
|
|
674
|
+
# @private
|
|
675
|
+
#
|
|
676
|
+
# GRPC transcoding helper method for the test_iam_permissions REST call
|
|
677
|
+
#
|
|
678
|
+
# @param request_pb [::Google::Cloud::Compute::V1::TestIamPermissionsSslPolicyRequest]
|
|
679
|
+
# A request object representing the call parameters. Required.
|
|
680
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
681
|
+
# Uri, Body, Query string parameters
|
|
682
|
+
def self.transcode_test_iam_permissions_request request_pb
|
|
683
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
684
|
+
.with_bindings(
|
|
685
|
+
uri_method: :post,
|
|
686
|
+
uri_template: "/compute/v1/projects/{project}/global/sslPolicies/{resource}/testIamPermissions",
|
|
687
|
+
body: "test_permissions_request_resource",
|
|
688
|
+
matches: [
|
|
689
|
+
["project", %r{^[^/]+/?$}, false],
|
|
690
|
+
["resource", %r{^[^/]+/?$}, false]
|
|
691
|
+
]
|
|
692
|
+
)
|
|
693
|
+
transcoder.transcode request_pb
|
|
694
|
+
end
|
|
507
695
|
end
|
|
508
696
|
end
|
|
509
697
|
end
|
|
@@ -31,11 +31,11 @@ module Google
|
|
|
31
31
|
#
|
|
32
32
|
# The StoragePoolTypes API.
|
|
33
33
|
#
|
|
34
|
-
# This client uses StoragePoolTypes version 2026-
|
|
34
|
+
# This client uses StoragePoolTypes version 2026-11-01.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
37
|
# @private
|
|
38
|
-
API_VERSION = "2026-
|
|
38
|
+
API_VERSION = "2026-11-01"
|
|
39
39
|
|
|
40
40
|
# @private
|
|
41
41
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
|
@@ -32,11 +32,11 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# The StoragePools API.
|
|
34
34
|
#
|
|
35
|
-
# This client uses StoragePools version 2026-
|
|
35
|
+
# This client uses StoragePools 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$"
|