Class: Google::Apis::ComputeAlpha::ComputeService
- Inherits:
-
Google::Apis::Core::BaseService
- Object
- Google::Apis::Core::BaseService
- Google::Apis::ComputeAlpha::ComputeService
- Defined in:
- generated/google/apis/compute_alpha/service.rb
Overview
Compute Engine API
Creates and runs virtual machines on Google Cloud Platform.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Google::Apis::Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to remove the specified instances from the managed instance group.
-
#abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to remove the specified instances from the managed instance group.
-
#add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds the given Signed URL Key to the backend bucket.
-
#add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds the given Signed URL Key to the specified backend service.
-
#add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an access config to an instance's network interface.
-
#add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a list of instances to the specified instance group.
-
#add_instance_maintenance_policies(project, zone, instance, instances_add_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds existing maintenance policies to an instance.
-
#add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a peering to the specified network.
-
#add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
-
#add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds health check URLs to a target pool.
-
#add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an instance to a target pool.
-
#aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
-
#aggregated_address_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressAggregatedList
Retrieves an aggregated list of addresses.
-
#aggregated_autoscaler_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
-
#aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
-
#aggregated_disk_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
-
#aggregated_disk_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
-
#aggregated_forwarding_rule_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
-
#aggregated_global_operation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationAggregatedList
Retrieves an aggregated list of all operations.
-
#aggregated_host_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostAggregatedList
Retrieves an aggregated list of hosts.
-
#aggregated_host_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostTypeAggregatedList
Retrieves an aggregated list of host types.
-
#aggregated_instance_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
-
#aggregated_instance_group_manager_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
-
#aggregated_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceAggregatedList
Retrieves aggregated list of instances.
-
#aggregated_interconnect_attachment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
-
#aggregated_machine_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
-
#aggregated_maintenance_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList
Retrieves an aggregated list of maintenance policies.
-
#aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
-
#aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentAggregatedList
Retrieves an aggregated list of commitments.
-
#aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterAggregatedList
Retrieves an aggregated list of routers.
-
#aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
-
#aggregated_target_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
-
#aggregated_target_pool_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
-
#aggregated_target_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
-
#aggregated_vpn_tunnel_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
-
#apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply changes to selected instances on the managed instance group.
-
#apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply updates to selected instances the managed instance group.
-
#attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attaches an existing Disk resource to an instance.
-
#attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a list of network endpoints to the specified network endpoint group.
-
#create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk.
-
#create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of this regional disk.
-
#delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
-
#delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
-
#delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendBucket resource.
-
#delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the given Signed URL Key from the backend bucket.
-
#delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendService resource.
-
#delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the given Signed URL Key from the specified backend service.
-
#delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified persistent disk.
-
#delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified firewall.
-
#delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ForwardingRule resource.
-
#delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
-
#delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified GlobalForwardingRule resource.
-
#delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified Operations resource.
-
#delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
-
#delete_host(project, zone, host, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Host resource.
-
#delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpHealthCheck resource.
-
#delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpsHealthCheck resource.
-
#delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified image.
-
#delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Instance resource.
-
#delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes an access config from an instance's network interface.
-
#delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance group.
-
#delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
-
#delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to delete the specified instances in the managed instance group.
-
#delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Delete selected per-instance configs for the managed instance group.
-
#delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance template.
-
#delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect.
-
#delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect attachment.
-
#delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified license.
-
#delete_maintenance_policy(project, region, maintenance_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified maintenance policy.
-
#delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
-
#delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group.
-
#delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
-
#delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional BackendService resource.
-
#delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional persistent disk.
-
#delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
-
#delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to delete the specified instances in the managed instance group.
-
#delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Delete selected per-instance configs for the managed instance group.
-
#delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified region-specific Operations resource.
-
#delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Route resource.
-
#delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Router resource.
-
#delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Snapshot resource.
-
#delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource.
-
#delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy.
-
#delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified subnetwork.
-
#delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
-
#delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
-
#delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetInstance resource.
-
#delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target pool.
-
#delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetSslProxy resource.
-
#delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetTcpProxy resource.
-
#delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target VPN gateway.
-
#delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
-
#delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VpnTunnel resource.
-
#delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified zone-specific Operations resource.
-
#deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the deprecation status of an image.
-
#detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detaches a disk from an instance.
-
#detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach a list of network endpoints from the specified network endpoint group.
-
#disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable this project as a shared VPC host project.
-
#disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable a serivce resource (a.k.a service project) associated with this host project.
-
#enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable this project as a shared VPC host project.
-
#enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
-
#expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Expands the IP CIDR range of the subnetwork to a specified value.
-
#get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorType
Returns the specified accelerator type.
-
#get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
-
#get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler resource.
-
#get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucket
Returns the specified BackendBucket resource.
-
#get_backend_bucket_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified BackendService resource.
-
#get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this BackendService.
-
#get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified persistent disk.
-
#get_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified disk type.
-
#get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Firewall
Returns the specified firewall.
-
#get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified ForwardingRule resource.
-
#get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
-
#get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified GlobalForwardingRule resource.
-
#get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource.
-
#get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource.
-
#get_host(project, zone, host, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Host
Returns the specified host.
-
#get_host_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_host_type(project, zone, host_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostType
Returns the specified host type.
-
#get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheck
Returns the specified HttpHealthCheck resource.
-
#get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource.
-
#get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the specified image.
-
#get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the latest image that is part of an image family and is not deprecated.
-
#get_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Instance
Returns the specified Instance resource.
-
#get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group.
-
#get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
-
#get_instance_guest_attributes(project, zone, instance, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GuestAttributes
Returns the specified guest attributes entry.
-
#get_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SerialPortOutput
Returns the specified instance's serial port output.
-
#get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplate
Returns the specified instance template.
-
#get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Interconnect
Returns the specified interconnect.
-
#get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachment
Returns the specified interconnect attachment.
-
#get_interconnect_attachment_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_interconnect_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocation
Returns the details for the specified interconnect location.
-
#get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::License
Returns the specified License resource.
-
#get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicenseCode
Return a specified license code.
-
#get_license_code_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineType
Returns the specified machine type.
-
#get_maintenance_policy(project, region, maintenance_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePolicy
Retrieves all information of the specified maintenance policy.
-
#get_maintenance_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network.
-
#get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group.
-
#get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Returns the specified Project resource.
-
#get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Get the shared VPC host project that this project links to.
-
#get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ProjectsGetXpnResources
Get service resources (a.k.a service project) associated with this host project.
-
#get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Region
Returns the specified Region resource.
-
#get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler.
-
#get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified regional BackendService resource.
-
#get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
-
#get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Commitment
Returns the specified commitment resource.
-
#get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified regional persistent disk.
-
#get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified regional disk type.
-
#get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group resource.
-
#get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
-
#get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified region-specific Operations resource.
-
#get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Route
Returns the specified Route resource.
-
#get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Router
Returns the specified Router resource.
-
#get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterStatusResponse
Retrieves runtime information of the specified router.
-
#get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
-
#get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
-
#get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Snapshot
Returns the specified Snapshot resource.
-
#get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource.
-
#get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
List all of the ordered rules present in a single specified policy.
-
#get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Subnetwork
Returns the specified subnetwork.
-
#get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource.
-
#get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource.
-
#get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstance
Returns the specified TargetInstance resource.
-
#get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPool
Returns the specified target pool.
-
#get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
-
#get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxy
Returns the specified TargetSslProxy resource.
-
#get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxy
Returns the specified TargetTcpProxy resource.
-
#get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGateway
Returns the specified target VPN gateway.
-
#get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource.
-
#get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnel
Returns the specified VpnTunnel resource.
-
#get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Zone
Returns the specified Zone resource.
-
#get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified zone-specific Operations resource.
-
#initialize ⇒ ComputeService
constructor
A new instance of ComputeService.
-
#insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project using the data included in the request.
-
#insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
-
#insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
-
#insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendService resource in the specified project using the data included in the request.
-
#insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent disk in the specified project using the data in the request.
-
#insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a firewall rule in the specified project using the data included in the request.
-
#insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
-
#insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project using the data included in the request.
-
#insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
-
#insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
-
#insert_host(project, zone, host_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a host resource in the specified project using the data included in the request.
-
#insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an image in the specified project using the data included in the request.
-
#insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance resource in the specified project using the data included in the request.
-
#insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance group in the specified project using the parameters that are included in the request.
-
#insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request.
-
#insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance template in the specified project using the data that is included in the request.
-
#insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Interconnect in the specified project using the data included in the request.
-
#insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
-
#insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a License resource in the specified project.
-
#insert_maintenance_policy(project, region, maintenance_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new maintenance policy.
-
#insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project using the data included in the request.
-
#insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
-
#insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
-
#insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional BackendService resource in the specified project using the data included in the request.
-
#insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a commitment in the specified project using the data included in the request.
-
#insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent regional disk in the specified project using the data included in the request.
-
#insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request.
-
#insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Route resource in the specified project using the data included in the request.
-
#insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Router resource in the specified project and region using the data included in the request.
-
#insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
-
#insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
-
#insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Returns the specified SSL policy resource.
-
#insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a subnetwork in the specified project using the data included in the request.
-
#insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
-
#insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
-
#insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
-
#insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target pool in the specified project and region using the data included in the request.
-
#insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
-
#insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
-
#insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
-
#insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
-
#insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
-
#invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
-
#list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeList
Retrieves a list of accelerator types available to the specified project.
-
#list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of addresses contained within the specified region.
-
#list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerList
Retrieves a list of autoscalers contained within the specified zone.
-
#list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucketList
Retrieves the list of BackendBucket resources available to the specified project.
-
#list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of BackendService resources available to the specified project.
-
#list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeList
Retrieves a list of disk types available to the specified project.
-
#list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves a list of persistent disks contained within the specified zone.
-
#list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallList
Retrieves the list of firewall rules available to the specified project.
-
#list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of ForwardingRule resources available to the specified project and region.
-
#list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of global addresses.
-
#list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of GlobalForwardingRule resources available to the specified project.
-
#list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified project.
-
#list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
-
#list_host_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostTypeList
Retrieves a list of host types available to the specified project.
-
#list_hosts(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostList
Retrieves a list of hosts available to the specified project.
-
#list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheckList
Retrieves the list of HttpHealthCheck resources available to the specified project.
-
#list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheckList
Retrieves the list of HttpsHealthCheck resources available to the specified project.
-
#list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageList
Retrieves the list of custom images available to the specified project.
-
#list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupsListInstances
Lists the instances in the specified instance group.
-
#list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
Lists all of the instances in the managed instance group.
-
#list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
-
#list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerList
Retrieves a list of managed instance groups that are contained within the specified project and zone.
-
#list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupList
Retrieves the list of instance groups that are located in the specified project and zone.
-
#list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceListReferrers
Retrieves the list of referrers to instances contained within the specified zone.
-
#list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project and zone.
-
#list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceList
Retrieves the list of instances contained within the specified zone.
-
#list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentList
Retrieves the list of interconnect attachments contained within the specified region.
-
#list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocationList
Retrieves the list of interconnect locations available to the specified project.
-
#list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectList
Retrieves the list of interconnect available to the specified project.
-
#list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicensesListResponse
Retrieves the list of licenses available in the specified project.
-
#list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeList
Retrieves a list of machine types available to the specified project.
-
#list_maintenance_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePoliciesList
List all the maintenance policies that have been configured for the specified project in specified region.
-
#list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
List the network endpoints in the specified network endpoint group.
-
#list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
-
#list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpOwnerList
List the internal IP owners in the specified network.
-
#list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project.
-
#list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::XpnHostList
List all shared VPC host projects visible to the user in an organization.
-
#list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionAutoscalerList
Retrieves a list of autoscalers contained within the specified region.
-
#list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of regional BackendService resources available to the specified project in the given region.
-
#list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentList
Retrieves a list of commitments contained within the specified region.
-
#list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionDiskTypeList
Retrieves a list of regional disk types available to the specified project.
-
#list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves the list of persistent disks contained within the specified region.
-
#list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
Lists the instances in the specified instance group and displays information about the named ports.
-
#list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
Lists the instances in the managed instance group and instances that are scheduled to be created.
-
#list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
-
#list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
Retrieves the list of managed instance groups that are contained within the specified region.
-
#list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupList
Retrieves the list of instance group resources contained within the specified region.
-
#list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified region.
-
#list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionList
Retrieves the list of region resources available to the specified project.
-
#list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterList
Retrieves a list of Router resources available to the specified project.
-
#list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouteList
Retrieves the list of Route resources available to the specified project.
-
#list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
-
#list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SnapshotList
Retrieves the list of Snapshot resources contained within the specified project.
-
#list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project.
-
#list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesList
List all the SSL policies that have been configured for the specified project.
-
#list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
-
#list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList
Retrieves an aggregated list of usable subnetworks.
-
#list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkList
Retrieves a list of subnetworks available to the specified project.
-
#list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project.
-
#list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project.
-
#list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceList
Retrieves a list of TargetInstance resources available to the specified project and zone.
-
#list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolList
Retrieves a list of target pools available to the specified project and region.
-
#list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxyList
Retrieves the list of TargetSslProxy resources available to the specified project.
-
#list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxyList
Retrieves the list of TargetTcpProxy resources available to the specified project.
-
#list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayList
Retrieves a list of target VPN gateways available to the specified project and region.
-
#list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project.
-
#list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelList
Retrieves a list of VpnTunnel resources contained in the specified project and region.
-
#list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified zone.
-
#list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ZoneList
Retrieves the list of Zone resources available to the specified project.
-
#move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves a persistent disk from one zone to another.
-
#move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves an instance and its attached persistent disks from one zone to another.
-
#patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
-
#patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified BackendService resource with the data included in the request.
-
#patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request.
-
#patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request.
-
#patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request.
-
#patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect with the data included in the request.
-
#patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect attachment with the data included in the request.
-
#patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network with the data included in the request.
-
#patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request.
-
#patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request.
-
#patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
-
#patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
-
#patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified subnetwork with the data included in the request.
-
#patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request.
-
#preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RoutersPreviewResponse
Preview fields auto-generated during router create and update operations.
-
#recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to recreate the specified instances in the managed instance group.
-
#recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to recreate the specified instances in the managed instance group.
-
#remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes one or more instances from the specified instance group, but does not delete those instances.
-
#remove_instance_maintenance_policies(project, zone, instance, instances_remove_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes maintenance policies from an instance.
-
#remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes a peering from the specified network.
-
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
-
#remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes health check URL from a target pool.
-
#remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes instance URL from a target pool.
-
#reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Performs a reset on the instance.
-
#resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified persistent disk.
-
#resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group.
-
#resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group with advanced configuration options like disabling creation retries.
-
#resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified regional persistent disk.
-
#resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the intended size for the managed instance group.
-
#resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resumes an instance that was suspended using the instances().suspend method.
-
#set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Address.
-
#set_backend_bucket_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the security policy for the specified backend service.
-
#set_disk_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a disk.
-
#set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource.
-
#set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for forwarding rule.
-
#set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a GlobalAddress.
-
#set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource.
-
#set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for the GlobalForwardingRule resource.
-
#set_host_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_image_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an image.
-
#set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets deletion protection on the instance.
-
#set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the auto-delete flag for a disk attached to an instance.
-
#set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policies.
-
#set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Specifies the instance template to use when creating new instances in this group.
-
#set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all instances in this managed instance group are assigned.
-
#set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified instance group.
-
#set_instance_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets labels on an instance.
-
#set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
-
#set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
-
#set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata for the specified instance to the data included in the request.
-
#set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the minimum CPU platform that this instance should use.
-
#set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets an instance's scheduling options.
-
#set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the service account on the instance.
-
#set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets tags for the specified instance to the data included in the request.
-
#set_interconnect_attachment_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an InterconnectAttachment.
-
#set_interconnect_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Interconnect.
-
#set_license_code_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_license_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_maintenance_policy_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_node_group_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_project_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
-
#set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default network tier of the project.
-
#set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default service account of the project.
-
#set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enables the usage export feature and sets the usage export bucket where reports are stored.
-
#set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the target regional disk.
-
#set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policy for the instances in this managed instance group.
-
#set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the instance template to use when creating new instances or recreating instances in this group.
-
#set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all new instances in this group are assigned.
-
#set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified regional instance group.
-
#set_snapshot_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a snapshot.
-
#set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
-
#set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
-
#set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the QUIC override policy for TargetHttpsProxy.
-
#set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
-
#set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetHttpsProxy.
-
#set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
-
#set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes a backup target pool's configurations.
-
#set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetSslProxy.
-
#set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetSslProxy.
-
#set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes SslCertificates for TargetSslProxy.
-
#set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetSslProxy.
-
#set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetTcpProxy.
-
#set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetTcpProxy.
-
#set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a TargetVpnGateway.
-
#set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnTunnel.
-
#simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Simulates a maintenance event on the instance.
-
#start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the using the instances().stop method.
-
#start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the using the instances().stop method.
-
#stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
-
#suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time.
-
#switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Switches the network mode from auto subnet mode to custom subnet mode.
-
#test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_client_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_host_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_maintenance_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_commitment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
-
#update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendService resource with the data included in the request.
-
#update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request.
-
#update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified access config from an instance's network interface with the data included in the request.
-
#update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Insert or patch (for the ones that already exist) per-instance configs for the managed instance group.
-
#update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance's network interface.
-
#update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded VM config for an instance.
-
#update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request.
-
#update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Insert or patch (for the ones that already exist) per-instance configs for the managed instance group.
-
#update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified Router resource with the data included in the request.
-
#update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
-
#validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap.
Methods inherited from Google::Apis::Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Google::Apis::Core::Logging
Constructor Details
#initialize ⇒ ComputeService
Returns a new instance of ComputeService
51 52 53 54 |
# File 'generated/google/apis/compute_alpha/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'compute/alpha/projects/') @batch_path = 'batch/compute/alpha' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/compute_alpha/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/compute_alpha/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/compute_alpha/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7180 def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17344 def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds the given Signed URL Key to the backend bucket.
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1141 def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', ) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds the given Signed URL Key to the specified backend service.
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1694 def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', ) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an access config to an instance's network interface.
9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9293 def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', ) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.
8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8432 def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_instance_maintenance_policies(project, zone, instance, instances_add_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds existing maintenance policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations.
9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9352 def add_instance_maintenance_policies(project, zone, instance, instances_add_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addMaintenancePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest::Representation command.request_object = instances_add_maintenance_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a peering to the specified network.
14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14183 def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', ) command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19782 def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds health check URLs to a target pool.
23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23043 def add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddHealthCheckRequest::Representation command.request_object = target_pools_add_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an instance to a target pool.
23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23099 def add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddInstanceRequest::Representation command.request_object = target_pools_add_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'generated/google/apis/compute_alpha/service.rb', line 114 def aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_address_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressAggregatedList
Retrieves an aggregated list of addresses.
305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'generated/google/apis/compute_alpha/service.rb', line 305 def aggregated_address_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_autoscaler_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
703 704 705 706 707 708 709 710 711 712 713 714 715 716 |
# File 'generated/google/apis/compute_alpha/service.rb', line 703 def aggregated_autoscaler_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1768 def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_disk_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2591 def aggregated_disk_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_disk_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2400 def aggregated_disk_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_forwarding_rule_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3562 def aggregated_forwarding_rule_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_global_operation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationAggregatedList
Retrieves an aggregated list of all operations.
4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4778 def aggregated_global_operation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_host_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostAggregatedList
Retrieves an aggregated list of hosts.
5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5553 def aggregated_host_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/hosts', ) command.response_representation = Google::Apis::ComputeAlpha::HostAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HostAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_host_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostTypeAggregatedList
Retrieves an aggregated list of host types.
5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5362 def aggregated_host_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/hostTypes', ) command.response_representation = Google::Apis::ComputeAlpha::HostTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HostTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8506 def aggregated_instance_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_group_manager_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7254 def aggregated_instance_group_manager_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceAggregatedList
Retrieves aggregated list of instances.
9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9426 def aggregated_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_interconnect_attachment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11405 def (project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_machine_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13033 def aggregated_machine_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/machineTypes', ) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_maintenance_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList
Retrieves an aggregated list of maintenance policies.
13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13224 def aggregated_maintenance_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/maintenancePolicies', ) command.response_representation = Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13652 def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentAggregatedList
Retrieves an aggregated list of commitments.
16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16500 def aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/commitments', ) command.response_representation = Google::Apis::ComputeAlpha::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterAggregatedList
Retrieves an aggregated list of routers.
19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19015 def aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/routers', ) command.response_representation = Google::Apis::ComputeAlpha::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21263 def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/subnetworks', ) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22718 def aggregated_target_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetInstances', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_pool_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23173 def aggregated_target_pool_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetPools', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24563 def aggregated_target_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_vpn_tunnel_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 25431 25432 25433 25434 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25421 def aggregated_vpn_tunnel_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions.
7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7300 def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply updates to selected instances the managed instance group.
17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17389 def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = region_instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance.
9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9487 def attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', ) command.request_representation = Google::Apis::ComputeAlpha::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['forceAttach'] = force_attach unless force_attach.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a list of network endpoints to the specified network endpoint group.
13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13709 def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2647 def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', ) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of this regional disk.
16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16890 def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', ) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
359 360 361 362 363 364 365 366 367 368 369 370 371 |
# File 'generated/google/apis/compute_alpha/service.rb', line 359 def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
757 758 759 760 761 762 763 764 765 766 767 768 769 |
# File 'generated/google/apis/compute_alpha/service.rb', line 757 def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendBucket resource.
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1193 def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the given Signed URL Key from the backend bucket.
1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1246 def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['keyName'] = key_name unless key_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendService resource.
1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1820 def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the given Signed URL Key from the specified backend service.
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1873 def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['keyName'] = key_name unless key_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2705 def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified firewall.
3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3178 def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ForwardingRule resource.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3616 def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4055 def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified GlobalForwardingRule resource.
4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4351 def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified Operations resource.
4819 4820 4821 4822 4823 4824 4825 4826 4827 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4819 def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/operations/{operation}', ) command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4978 def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_host(project, zone, host, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Host resource.
5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5607 def delete_host(project, zone, host, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/hosts/{host}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['host'] = host unless host.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpHealthCheck resource.
5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5961 def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpsHealthCheck resource.
6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6325 def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified image.
6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6689 def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/images/{image}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance.
9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9544 def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes an access config from an instance's network interface.
9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9601 def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['accessConfig'] = access_config unless access_config.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information.
8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8562 def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information.
7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7356 def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7420 def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Delete selected per-instance configs for the managed instance group.
7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7466 def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_delete_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It's not possible to delete templates which are in use by an instance group.
9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9031 def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect.
12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12082 def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect attachment.
11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11459 def (project, region, , request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified license.
12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12675 def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/licenses/{license}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_maintenance_policy(project, region, maintenance_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified maintenance policy.
13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13278 def delete_maintenance_policy(project, region, maintenance_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/maintenancePolicies/{maintenancePolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['maintenancePolicy'] = maintenance_policy unless maintenance_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14235 def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13769 def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15665 def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional BackendService resource.
16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16048 def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16949 def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17444 def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17508 def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Delete selected per-instance configs for the managed instance group.
17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17553 def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation command.request_object = region_instance_group_manager_delete_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified region-specific Operations resource.
18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18717 def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', ) command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Route resource.
19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19536 def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/routes/{route}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Router resource.
19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19069 def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19834 def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snaphots.
20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20276 def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource.
20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20603 def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20860 def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified subnetwork.
21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21317 def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21917 def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22225 def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetInstance resource.
22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22772 def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target pool.
23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23227 def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetSslProxy resource.
23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23710 def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetTcpProxy resource.
24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24181 def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target VPN gateway.
24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24617 def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24942 def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VpnTunnel resource.
25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25475 def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified zone-specific Operations resource.
25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25791 def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', ) command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6741 def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', ) command.request_representation = Google::Apis::ComputeAlpha::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detaches a disk from an instance.
9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9658 def detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['deviceName'] = device_name unless device_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach a list of network endpoints from the specified network endpoint group.
13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13825 def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable this project as a shared VPC host project.
14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14997 def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/disableXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable a serivce resource (a.k.a service project) associated with this host project.
15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15046 def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/disableXpnResource', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable this project as a shared VPC host project.
15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15095 def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/enableXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15144 def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/enableXpnResource', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Expands the IP CIDR range of the subnetwork to a specified value.
21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21371 def (project, region, subnetwork, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', ) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorType
Returns the specified accelerator type. Get a list of available accelerator types by making a list() request.
158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'generated/google/apis/compute_alpha/service.rb', line 158 def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorType::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['acceleratorType'] = accelerator_type unless accelerator_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'generated/google/apis/compute_alpha/service.rb', line 401 def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler resource. Get a list of available autoscalers by making a list() request.
800 801 802 803 804 805 806 807 808 809 810 811 |
# File 'generated/google/apis/compute_alpha/service.rb', line 800 def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucket
Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request.
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1287 def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucket command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_bucket_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1326 def get_backend_bucket_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendBuckets/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified BackendService resource. Get a list of available backend services by making a list() request.
1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1914 def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this BackendService.
1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1952 def get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceGroupHealth command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified persistent disk. Get a list of available persistent disks by making a list() request.
2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2748 def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2790 def get_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified disk type. Get a list of available disk types by making a list() request.
2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2444 def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes/{diskType}', ) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['diskType'] = disk_type unless disk_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Firewall
Returns the specified firewall.
3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3217 def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/firewalls/{firewall}', ) command.response_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.response_class = Google::Apis::ComputeAlpha::Firewall command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified ForwardingRule resource.
3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3658 def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource. Get a list of available addresses by making a list() request.
4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4095 def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified GlobalForwardingRule resource. Get a list of available forwarding rules by making a list() request.
4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4391 def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource. Get a list of operations by making a list() request.
4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4856 def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request.
5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5018 def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheck command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_host(project, zone, host, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Host
Returns the specified host. Get a list of available hosts by making a list() request.
5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5650 def get_host(project, zone, host, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/hosts/{host}', ) command.response_representation = Google::Apis::ComputeAlpha::Host::Representation command.response_class = Google::Apis::ComputeAlpha::Host command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['host'] = host unless host.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_host_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5692 def get_host_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/hosts/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_host_type(project, zone, host_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostType
Returns the specified host type. Get a list of available host types by making a list() request.
5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5406 def get_host_type(project, zone, host_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/hostTypes/{hostType}', ) command.response_representation = Google::Apis::ComputeAlpha::HostType::Representation command.response_class = Google::Apis::ComputeAlpha::HostType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['hostType'] = host_type unless host_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheck
Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request.
6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6001 def get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheck command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource. Get a list of available HTTPS health checks by making a list() request.
6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6365 def get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheck command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the specified image. Get a list of available images by making a list() request.
6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6783 def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/images/{image}', ) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the latest image that is part of an image family and is not deprecated.
6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6821 def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/images/family/{family}', ) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? command.params['family'] = family unless family.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6860 def get_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Instance
Returns the specified Instance resource. Get a list of available instances by making a list() request.
9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9702 def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}', ) command.response_representation = Google::Apis::ComputeAlpha::Instance::Representation command.response_class = Google::Apis::ComputeAlpha::Instance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group. Get a list of available instance groups by making a list() request.
8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8605 def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group. Get a list of available managed instance groups by making a list() request.
7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7510 def get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_guest_attributes(project, zone, instance, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GuestAttributes
Returns the specified guest attributes entry.
9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9745 def get_instance_guest_attributes(project, zone, instance, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', ) command.response_representation = Google::Apis::ComputeAlpha::GuestAttributes::Representation command.response_class = Google::Apis::ComputeAlpha::GuestAttributes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['variableKey'] = variable_key unless variable_key.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9788 def get_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SerialPortOutput
Returns the specified instance's serial port output.
9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9836 def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', ) command.response_representation = Google::Apis::ComputeAlpha::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeAlpha::SerialPortOutput command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['port'] = port unless port.nil? command.query['start'] = start unless start.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplate
Returns the specified instance template. Get a list of available instance templates by making a list() request.
9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9071 def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/instanceTemplates/{instanceTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplate command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Interconnect
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12122 def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', ) command.response_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.response_class = Google::Apis::ComputeAlpha::Interconnect command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachment
Returns the specified interconnect attachment.
11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11501 def (project, region, , fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_attachment_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11543 def (project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12161 def get_interconnect_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnects/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocation
Returns the details for the specified interconnect location. Get a list of available interconnect locations by making a list() request.
11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11918 def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocation command.params['project'] = project unless project.nil? command.params['interconnectLocation'] = interconnect_location unless interconnect_location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::License
Returns the specified License resource.
12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12714 def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/licenses/{license}', ) command.response_representation = Google::Apis::ComputeAlpha::License::Representation command.response_class = Google::Apis::ComputeAlpha::License command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicenseCode
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code.
12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12504 def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', ) command.response_representation = Google::Apis::ComputeAlpha::LicenseCode::Representation command.response_class = Google::Apis::ComputeAlpha::LicenseCode command.params['project'] = project unless project.nil? command.params['licenseCode'] = license_code unless license_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license_code_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12543 def get_license_code_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/licenseCodes/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12753 def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineType
Returns the specified machine type. Get a list of available machine types by making a list() request.
13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13077 def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', ) command.response_representation = Google::Apis::ComputeAlpha::MachineType::Representation command.response_class = Google::Apis::ComputeAlpha::MachineType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['machineType'] = machine_type unless machine_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_maintenance_policy(project, region, maintenance_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePolicy
Retrieves all information of the specified maintenance policy.
13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13320 def get_maintenance_policy(project, region, maintenance_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies/{maintenancePolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::MaintenancePolicy::Representation command.response_class = Google::Apis::ComputeAlpha::MaintenancePolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['maintenancePolicy'] = maintenance_policy unless maintenance_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_maintenance_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13362 def get_maintenance_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network. Get a list of available networks by making a list() request.
14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14275 def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Network::Representation command.response_class = Google::Apis::ComputeAlpha::Network command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group. Get a list of available network endpoint groups by making a list() request.
13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13871 def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14729 def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14860 def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Returns the specified Project resource.
15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15182 def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}', ) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Get the shared VPC host project that this project links to. May be empty if no link exists.
15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15218 def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/getXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ProjectsGetXpnResources
Get service resources (a.k.a service project) associated with this host project.
15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15258 def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/getXpnResources', ) command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['order_by'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Region
Returns the specified Region resource. Get a list of available regions by making a list() request.
18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18872 def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}', ) command.response_representation = Google::Apis::ComputeAlpha::Region::Representation command.response_class = Google::Apis::ComputeAlpha::Region command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler.
15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15707 def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified regional BackendService resource.
16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16090 def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16131 def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceGroupHealth command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Commitment
Returns the specified commitment resource. Get a list of available commitments by making a list() request.
16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16544 def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', ) command.response_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.response_class = Google::Apis::ComputeAlpha::Commitment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['commitment'] = commitment unless commitment.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified regional persistent disk.
16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16991 def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified regional disk type. Get a list of available disk types by making a list() request.
16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16760 def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', ) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['diskType'] = disk_type unless disk_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group resource.
18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18415 def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17596 def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified region-specific Operations resource.
18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18756 def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Route
Returns the specified Route resource. Get a list of available routes by making a list() request.
19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19576 def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/routes/{route}', ) command.response_representation = Google::Apis::ComputeAlpha::Route::Representation command.response_class = Google::Apis::ComputeAlpha::Route command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Router
Returns the specified Router resource. Get a list of available routers by making a list() request.
19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19112 def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', ) command.response_representation = Google::Apis::ComputeAlpha::Router::Representation command.response_class = Google::Apis::ComputeAlpha::Router command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterStatusResponse
Retrieves runtime information of the specified router.
19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19153 def get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', ) command.response_representation = Google::Apis::ComputeAlpha::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RouterStatusResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19873 def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19913 def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Snapshot
Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request.
20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20316 def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.response_class = Google::Apis::ComputeAlpha::Snapshot command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20355 def get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request.
20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20643 def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificate command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
List all of the ordered rules present in a single specified policy.
20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20900 def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SslPolicy command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Subnetwork
Returns the specified subnetwork. Get a list of available subnetworks list() request.
21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21416 def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', ) command.response_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.response_class = Google::Apis::ComputeAlpha::Subnetwork command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21458 def get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource. Get a list of available target HTTP proxies by making a list() request.
21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21957 def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource. Get a list of available target HTTPS proxies by making a list() request.
22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22265 def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstance
Returns the specified TargetInstance resource. Get a list of available target instances by making a list() request.
22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22815 def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPool
Returns the specified target pool. Get a list of available target pools by making a list() request.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23270 def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPool command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 23325 23326 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23313 def get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeAlpha::TargetPoolInstanceHealth::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolInstanceHealth command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxy
Returns the specified TargetSslProxy resource. Get a list of available target SSL proxies by making a list() request.
23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23750 def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxy command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxy
Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request.
24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24221 def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxy command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGateway
Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request.
24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24660 def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGateway command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource. Get a list of available URL maps by making a list() request.
24982 24983 24984 24985 24986 24987 24988 24989 24990 24991 24992 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24982 def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMap command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnel
Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request.
25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25518 def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnel command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Zone
Returns the specified Zone resource. Get a list of available zones by making a list() request.
25946 25947 25948 25949 25950 25951 25952 25953 25954 25955 25956 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25946 def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}', ) command.response_representation = Google::Apis::ComputeAlpha::Zone::Representation command.response_class = Google::Apis::ComputeAlpha::Zone command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified zone-specific Operations resource.
25830 25831 25832 25833 25834 25835 25836 25837 25838 25839 25840 25841 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25830 def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project using the data included in the request.
453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'generated/google/apis/compute_alpha/service.rb', line 453 def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/addresses', ) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
852 853 854 855 856 857 858 859 860 861 862 863 864 865 |
# File 'generated/google/apis/compute_alpha/service.rb', line 852 def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1375 def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Restrictions and Guidelines for more information.
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2005 def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.
2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2846 def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceImage'] = source_image unless source_image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a firewall rule in the specified project using the data included in the request.
3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3266 def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/firewalls', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3710 def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project using the data included in the request.
4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4144 def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/addresses', ) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4440 def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5067 def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/healthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_host(project, zone, host_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a host resource in the specified project using the data included in the request.
5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5744 def insert_host(project, zone, host_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/hosts', ) command.request_representation = Google::Apis::ComputeAlpha::Host::Representation command.request_object = host_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6050 def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpHealthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6414 def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpsHealthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an image in the specified project using the data included in the request.
6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6911 def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images', ) command.request_representation = Google::Apis::ComputeAlpha::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['forceCreate'] = force_create unless force_create.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance resource in the specified project using the data included in the request.
9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9898 def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances', ) command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceInstanceTemplate'] = source_instance_template unless source_instance_template.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance group in the specified project using the parameters that are included in the request.
8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8657 def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.
7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7568 def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template.
9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9122 def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/instanceTemplates', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Interconnect in the specified project using the data included in the request.
12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12210 def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/interconnects', ) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11595 def (project, region, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', ) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a License resource in the specified project.
12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12801 def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/licenses', ) command.request_representation = Google::Apis::ComputeAlpha::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_maintenance_policy(project, region, maintenance_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new maintenance policy.
13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13413 def insert_maintenance_policy(project, region, maintenance_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::MaintenancePolicy::Representation command.request_object = maintenance_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project using the data included in the request.
14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14324 def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks', ) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13924 def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15759 def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Restrictions and Guidelines for more information.
16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16187 def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/backendServices', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a commitment in the specified project using the data included in the request.
16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16596 def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/commitments', ) command.request_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent regional disk in the specified project using the data included in the request.
17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17045 def insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceImage'] = source_image unless source_image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances.
17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17653 def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Route resource in the specified project using the data included in the request.
19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19625 def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/routes', ) command.request_representation = Google::Apis::ComputeAlpha::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Router resource in the specified project and region using the data included in the request.
19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19205 def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/routers', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19965 def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/securityPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20692 def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/sslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Returns the specified SSL policy resource. Get a list of available SSL policies by making a list() request.
20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20949 def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/sslPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a subnetwork in the specified project using the data included in the request.
21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21510 def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', ) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22006 def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22314 def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpsProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22867 def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', ) command.request_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target pool in the specified project and region using the data included in the request.
23367 23368 23369 23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23367 def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23799 def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24270 def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
24712 24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 24724 24725 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24712 def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', ) command.request_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
25031 25032 25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25031 def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25570 def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', ) command.request_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25084 def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', ) command.request_representation = Google::Apis::ComputeAlpha::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeList
Retrieves a list of accelerator types available to the specified project.
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'generated/google/apis/compute_alpha/service.rb', line 231 def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of addresses contained within the specified region.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 |
# File 'generated/google/apis/compute_alpha/service.rb', line 528 def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerList
Retrieves a list of autoscalers contained within the specified zone.
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'generated/google/apis/compute_alpha/service.rb', line 927 def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucketList
Retrieves the list of BackendBucket resources available to the specified project.
1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1448 def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendBuckets', ) command.response_representation = Google::Apis::ComputeAlpha::BackendBucketList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucketList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of BackendService resources available to the specified project.
2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2078 def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeList
Retrieves a list of disk types available to the specified project.
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2517 def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves a list of persistent disks contained within the specified zone.
2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2922 def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallList
Retrieves the list of firewall rules available to the specified project.
3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3338 def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/firewalls', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of ForwardingRule resources available to the specified project and region.
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3786 def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of global addresses.
4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4216 def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of GlobalForwardingRule resources available to the specified project.
4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4513 def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified project.
4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4926 def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5139 def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/healthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_host_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostTypeList
Retrieves a list of host types available to the specified project.
5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5479 def list_host_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/hostTypes', ) command.response_representation = Google::Apis::ComputeAlpha::HostTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::HostTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_hosts(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HostList
Retrieves a list of hosts available to the specified project.
5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5819 def list_hosts(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/hosts', ) command.response_representation = Google::Apis::ComputeAlpha::HostList::Representation command.response_class = Google::Apis::ComputeAlpha::HostList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheckList
Retrieves the list of HttpHealthCheck resources available to the specified project.
6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6123 def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpHealthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheckList
Retrieves the list of HttpsHealthCheck resources available to the specified project.
6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6487 def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpsHealthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageList
Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6989 def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/images', ) command.response_representation = Google::Apis::ComputeAlpha::ImageList::Representation command.response_class = Google::Apis::ComputeAlpha::ImageList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupsListInstances
Lists the instances in the specified instance group.
8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8813 def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupsListInstances command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.
7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7696 def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['order_by'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7776 def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerList
Retrieves a list of managed instance groups that are contained within the specified project and zone.
7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7644 def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupList
Retrieves the list of instance groups that are located in the specified project and zone.
8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8733 def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceListReferrers
Retrieves the list of referrers to instances contained within the specified zone.
10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10054 def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceListReferrers command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project and zone.
9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9195 def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/instanceTemplates', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceList
Retrieves the list of instances contained within the specified zone.
9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9974 def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentList
Retrieves the list of interconnect attachments contained within the specified region.
11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11671 def (project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocationList
Retrieves the list of interconnect locations available to the specified project.
11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11989 def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnectLocations', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectList
Retrieves the list of interconnect available to the specified project.
12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12282 def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnects', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicensesListResponse
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 8. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12877 def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/licenses', ) command.response_representation = Google::Apis::ComputeAlpha::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeAlpha::LicensesListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeList
Retrieves a list of machine types available to the specified project.
13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13150 def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', ) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_maintenance_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MaintenancePoliciesList
List all the maintenance policies that have been configured for the specified project in specified region.
13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13489 def list_maintenance_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies', ) command.response_representation = Google::Apis::ComputeAlpha::MaintenancePoliciesList::Representation command.response_class = Google::Apis::ComputeAlpha::MaintenancePoliciesList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
List the network endpoints in the specified network endpoint group.
14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14082 def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14001 def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpOwnerList
List the internal IP owners in the specified network.
14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14481 def list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/networks/{network}/listIpOwners', ) command.response_representation = Google::Apis::ComputeAlpha::IpOwnerList::Representation command.response_class = Google::Apis::ComputeAlpha::IpOwnerList command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['filter'] = filter unless filter.nil? command.query['ipCidrRange'] = ip_cidr_range unless ip_cidr_range.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['ownerProjects'] = owner_projects unless owner_projects.nil? command.query['ownerTypes'] = owner_types unless owner_types.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['subnetName'] = subnet_name unless subnet_name.nil? command.query['subnetRegion'] = subnet_region unless subnet_region.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project.
14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14396 def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/networks', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::XpnHostList
List all shared VPC host projects visible to the user in an organization.
15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15302 def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/listXpnHosts', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeAlpha::XpnHostList::Representation command.response_class = Google::Apis::ComputeAlpha::XpnHostList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['order_by'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionAutoscalerList
Retrieves a list of autoscalers contained within the specified region.
15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15834 def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionAutoscalerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of regional BackendService resources available to the specified project in the given region.
16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16263 def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentList
Retrieves a list of commitments contained within the specified region.
16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16671 def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/commitments', ) command.response_representation = Google::Apis::ComputeAlpha::CommitmentList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionDiskTypeList
Retrieves a list of regional disk types available to the specified project.
16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16833 def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionDiskTypeList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves the list of persistent disks contained within the specified region.
17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17121 def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running.
18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18570 def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.
17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17779 def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['order_by'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17858 def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
Retrieves the list of managed instance groups that are contained within the specified region.
17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17729 def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupList
Retrieves the list of instance group resources contained within the specified region.
18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18489 def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified region.
18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18829 def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionList
Retrieves the list of region resources available to the specified project.
18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18942 def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions', ) command.response_representation = Google::Apis::ComputeAlpha::RegionList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterList
Retrieves a list of Router resources available to the specified project.
19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19280 def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/routers', ) command.response_representation = Google::Apis::ComputeAlpha::RouterList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouteList
Retrieves the list of Route resources available to the specified project.
19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19697 def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/routes', ) command.response_representation = Google::Apis::ComputeAlpha::RouteList::Representation command.response_class = Google::Apis::ComputeAlpha::RouteList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20038 def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/securityPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SnapshotList
Retrieves the list of Snapshot resources contained within the specified project.
20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20426 def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/snapshots', ) command.response_representation = Google::Apis::ComputeAlpha::SnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::SnapshotList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project.
20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20765 def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslCertificates', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesList
List all the SSL policies that have been configured for the specified project.
21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21021 def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21095 def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList
Retrieves an aggregated list of usable subnetworks.
21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21659 def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', ) command.response_representation = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkList
Retrieves a list of subnetworks available to the specified project.
21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21585 def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', ) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project.
22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22079 def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project.
22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22387 def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpsProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceList
Retrieves a list of TargetInstance resources available to the specified project and zone.
22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22943 def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolList
Retrieves a list of target pools available to the specified project and region.
23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23442 def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetPools', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxyList
Retrieves the list of TargetSslProxy resources available to the specified project.
23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23872 def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetSslProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxyList
Retrieves the list of TargetTcpProxy resources available to the specified project.
24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24343 def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetTcpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayList
Retrieves a list of target VPN gateways available to the specified project and region.
24788 24789 24790 24791 24792 24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24788 def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project.
25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25157 def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/urlMaps', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelList
Retrieves a list of VpnTunnel resources contained in the specified project and region.
25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25646 def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified zone.
25903 25904 25905 25906 25907 25908 25909 25910 25911 25912 25913 25914 25915 25916 25917 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25903 def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ZoneList
Retrieves the list of Zone resources available to the specified project.
26016 26017 26018 26019 26020 26021 26022 26023 26024 26025 26026 26027 26028 26029 |
# File 'generated/google/apis/compute_alpha/service.rb', line 26016 def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones', ) command.response_representation = Google::Apis::ComputeAlpha::ZoneList::Representation command.response_class = Google::Apis::ComputeAlpha::ZoneList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves a persistent disk from one zone to another.
15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15355 def move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/moveDisk', ) command.request_representation = Google::Apis::ComputeAlpha::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves an instance and its attached persistent disks from one zone to another.
15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15405 def move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/moveInstance', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceMoveRequest::Representation command.request_object = instance_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 |
# File 'generated/google/apis/compute_alpha/service.rb', line 985 def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1503 def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2135 def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3393 def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3844 def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4568 def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5194 def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6178 def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6542 def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7838 def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12337 def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', ) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11729 def (project, region, , = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14541 def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/networks/{network}', ) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15892 def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16323 def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17920 def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19338 def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20091 def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20137 def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21149 def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified subnetwork with the data included in the request. Only the following fields within the subnetwork resource can be specified in the request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also mandatory to specify the current fingeprint of the subnetwork resource being patched.
21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21718 def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', ) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
25212 25213 25214 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25212 def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RoutersPreviewResponse
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19384 def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::RoutersPreviewResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RoutersPreviewResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7903 def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17985 def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.
8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8876 def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_instance_maintenance_policies(project, zone, instance, instances_remove_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes maintenance policies from an instance.
10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10111 def remove_instance_maintenance_policies(project, zone, instance, instances_remove_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/removeMaintenancePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesRemoveMaintenancePoliciesRequest::Representation command.request_object = instances_remove_maintenance_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes a peering from the specified network.
14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14594 def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', ) command.request_representation = Google::Apis::ComputeAlpha::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20181 def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes health check URL from a target pool.
23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23498 def remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveHealthCheckRequest::Representation command.request_object = target_pools_remove_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes instance URL from a target pool.
23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23554 def remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveInstanceRequest::Representation command.request_object = target_pools_remove_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Performs a reset on the instance. For more information, see Resetting an instance.
10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10167 def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified persistent disk. You can only increase the size of the disk.
2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2979 def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', ) command.request_representation = Google::Apis::ComputeAlpha::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7970 def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. If you increase the size of the instance group, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating, creatingWithoutRetries, or deleting actions with the get or listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8036 def resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified regional persistent disk.
17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17177 def resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the intended size for the managed instance group. If you increase the size, the group schedules actions to create new instances using the current instance template. If you decrease the size, the group schedules delete actions on one or more instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18051 def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resumes an instance that was suspended using the instances().suspend method.
10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10221 def resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/resume', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 |
# File 'generated/google/apis/compute_alpha/service.rb', line 585 def set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_bucket_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1546 def set_backend_bucket_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the security policy for the specified backend service.
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2189 def set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_disk_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3025 def set_disk_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.
3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3081 def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3901 def set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for forwarding rule. The new target should be of the same type as the old target.
3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3958 def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4259 def set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/addresses/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4611 def set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4664 def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_host_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5865 def set_host_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/hosts/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_image_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7032 def set_image_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.
7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7074 def set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets deletion protection on the instance.
10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10278 def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['deletionProtection'] = deletion_protection unless deletion_protection.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the auto-delete flag for a disk attached to an instance.
10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10336 def set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['autoDelete'] = auto_delete unless auto_delete.nil? command.query['deviceName'] = device_name unless device_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policies.
8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8092 def set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.
8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8150 def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.
8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8211 def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified instance group.
8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8932 def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10382 def set_instance_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.
10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10438 def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10495 def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10552 def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata for the specified instance to the data included in the request.
10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10608 def (project, zone, instance, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', ) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform.
10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10666 def set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets an instance's scheduling options.
10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10722 def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', ) command.request_representation = Google::Apis::ComputeAlpha::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance.
10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10779 def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets tags for the specified instance to the data included in the request.
10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10835 def (project, zone, instance, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', ) command.request_representation = Google::Apis::ComputeAlpha::Tags::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_attachment_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11775 def (project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11831 def (project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12380 def set_interconnect_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12422 def set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_license_code_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12583 def set_license_code_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_license_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12920 def set_license_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_maintenance_policy_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13535 def set_maintenance_policy_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_node_group_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14772 def set_node_group_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14903 def set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15456 def (project, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', ) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field.
15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15508 def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setDefaultNetworkTier', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default service account of the project. The default service account is used when a VM instance is created with the service account email address set to "default".
15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15560 def set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setDefaultServiceAccount', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultServiceAccountRequest::Representation command.request_object = projects_set_default_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.
15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15612 def set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setUsageExportBucket', ) command.request_representation = Google::Apis::ComputeAlpha::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the target regional disk.
17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17233 def set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policy for the instances in this managed instance group.
18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18107 def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.
18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18164 def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18221 def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified regional instance group.
18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18629 def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_snapshot_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20469 def set_snapshot_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation.
20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20511 def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21764 def set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21820 def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', ) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 22144 22145 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22132 def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the QUIC override policy for TargetHttpsProxy.
22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22441 def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22494 def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.
22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22551 def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22604 def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes a backup target pool's configurations.
23612 23613 23614 23615 23616 23617 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23612 def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['failoverRatio'] = failover_ratio unless failover_ratio.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetSslProxy.
23925 23926 23927 23928 23929 23930 23931 23932 23933 23934 23935 23936 23937 23938 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23925 def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetSslProxy.
23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23978 def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes SslCertificates for TargetSslProxy.
24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24031 def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.
24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24088 def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetTcpProxy.
24396 24397 24398 24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 24409 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24396 def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetTcpProxy.
24449 24450 24451 24452 24453 24454 24455 24456 24457 24458 24459 24460 24461 24462 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24449 def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.
24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24845 def set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.
25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25703 def set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Simulates a maintenance event on the instance.
10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10879 def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.
10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10932 def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.
10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 |
# File 'generated/google/apis/compute_alpha/service.rb', line 10987 def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.
11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11049 def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances incur reduced per-minute, virtual machine usage charges while they are suspended. Any resources the virtual machine is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted.
11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11111 def suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/suspend', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Switches the network mode from auto subnet mode to custom subnet mode.
14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14646 def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
630 631 632 633 634 635 636 637 638 639 640 641 642 643 |
# File 'generated/google/apis/compute_alpha/service.rb', line 630 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1030 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1587 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2231 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_client_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2328 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/clientSslPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3126 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3435 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/firewalls/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4003 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4300 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/addresses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 |
# File 'generated/google/apis/compute_alpha/service.rb', line 4706 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5236 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/healthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_host_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5909 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/hosts/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6220 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpHealthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6584 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpsHealthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 |
# File 'generated/google/apis/compute_alpha/service.rb', line 7115 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8977 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8256 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11155 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 |
# File 'generated/google/apis/compute_alpha/service.rb', line 9237 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11876 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12463 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/interconnects/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12031 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/interconnectLocations/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12624 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'generated/google/apis/compute_alpha/service.rb', line 12961 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/licenses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_maintenance_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 |
# File 'generated/google/apis/compute_alpha/service.rb', line 13579 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14130 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14686 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14816 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 |
# File 'generated/google/apis/compute_alpha/service.rb', line 14947 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15937 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16368 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_commitment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16716 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/commitments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 |
# File 'generated/google/apis/compute_alpha/service.rb', line 17278 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18674 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18266 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19739 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/routes/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19428 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/routers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20221 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20552 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 |
# File 'generated/google/apis/compute_alpha/service.rb', line 20807 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21191 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 |
# File 'generated/google/apis/compute_alpha/service.rb', line 21865 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22174 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22646 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 |
# File 'generated/google/apis/compute_alpha/service.rb', line 22988 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 |
# File 'generated/google/apis/compute_alpha/service.rb', line 23658 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24130 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24491 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 |
# File 'generated/google/apis/compute_alpha/service.rb', line 24890 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25254 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25748 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1086 def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'generated/google/apis/compute_alpha/service.rb', line 1640 def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information.
2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 |
# File 'generated/google/apis/compute_alpha/service.rb', line 2286 def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request. The PUT method can only update the following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags.
3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 |
# File 'generated/google/apis/compute_alpha/service.rb', line 3489 def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 |
# File 'generated/google/apis/compute_alpha/service.rb', line 5289 def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6273 def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 |
# File 'generated/google/apis/compute_alpha/service.rb', line 6637 def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11214 def update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', ) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listManagedInstances method.
8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8315 def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.
8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 |
# File 'generated/google/apis/compute_alpha/service.rb', line 8374 def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_update_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance's network interface. This method follows PATCH semantics.
11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11273 def update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded VM config for an instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 |
# File 'generated/google/apis/compute_alpha/service.rb', line 11331 def update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', ) command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 |
# File 'generated/google/apis/compute_alpha/service.rb', line 15993 def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information.
16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 |
# File 'generated/google/apis/compute_alpha/service.rb', line 16426 def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listmanagedinstances method.
18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18325 def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.
18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 |
# File 'generated/google/apis/compute_alpha/service.rb', line 18372 def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation command.request_object = region_instance_group_manager_update_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified Router resource with the data included in the request.
19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 |
# File 'generated/google/apis/compute_alpha/service.rb', line 19483 def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25306 def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
25349 25350 25351 25352 25353 25354 25355 25356 25357 25358 25359 25360 25361 |
# File 'generated/google/apis/compute_alpha/service.rb', line 25349 def validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapsValidateRequest::Representation command.request_object = url_maps_validate_request_object command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsValidateResponse command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |