Class: Google::Apis::ComputeBeta::ComputeService
- Inherits:
-
Google::Apis::Core::BaseService
- Object
- Google::Apis::Core::BaseService
- Google::Apis::ComputeBeta::ComputeService
- Defined in:
- generated/google/apis/compute_beta/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
An opaque string that represents a user for quota purposes.
-
#user_ip ⇒ String
Deprecated.
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::ComputeBeta::Operation
Flags the specified instances to be removed 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::ComputeBeta::Operation
Flags the specified instances to be immediately removed 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::ComputeBeta::Operation
Adds a key for validating requests with signed URLs for this 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::ComputeBeta::Operation
Adds a key for validating requests with signed URLs for this backend service.
-
#add_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds existing resource policies to a disk.
-
#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::ComputeBeta::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::ComputeBeta::Operation
Adds a list of instances to the specified instance group.
-
#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::ComputeBeta::Operation
Adds a peering to the specified network.
-
#add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds specified number of nodes to the node group.
-
#add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds existing resource policies to a regional disk.
-
#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::ComputeBeta::Operation
Inserts a rule into a security policy.
-
#add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds health check URLs to a target pool.
-
#add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
-
#aggregated_allocation_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::ComputeBeta::AllocationAggregatedList
Retrieves an aggregated list of allocations.
-
#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::ComputeBeta::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
-
#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::ComputeBeta::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
-
#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::ComputeBeta::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
-
#aggregated_node_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::ComputeBeta::NodeGroupAggregatedList
Retrieves an aggregated list of node groups.
-
#aggregated_node_template_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::ComputeBeta::NodeTemplateAggregatedList
Retrieves an aggregated list of node templates.
-
#aggregated_node_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::ComputeBeta::NodeTypeAggregatedList
Retrieves an aggregated list of node types.
-
#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::ComputeBeta::CommitmentAggregatedList
Retrieves an aggregated list of commitments.
-
#aggregated_resource_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::ComputeBeta::ResourcePolicyAggregatedList
Retrieves an aggregated list of resource policies.
-
#attach_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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Creates a snapshot of a specified persistent disk.
-
#create_region_disk_snapshot(project, region, disk, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified address resource.
-
#delete_allocation(project, zone, allocation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified allocation.
-
#delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Deletes a key for validating requests with signed URLs for this 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::ComputeBeta::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::ComputeBeta::Operation
Deletes a key for validating requests with signed URLs for this backend service.
-
#delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified HealthCheck 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group for immediate deletion.
-
#delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified license.
-
#delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified network endpoint group.
-
#delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified NodeGroup resource.
-
#delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes specified nodes from the node group.
-
#delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified NodeTemplate resource.
-
#delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately deleted.
-
#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_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified resource policy.
-
#delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets the deprecation status of an image.
-
#detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Address
Returns the specified address resource.
-
#get_allocation(project, zone, allocation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Allocation
Retrieves all information of the specified allocation.
-
#get_allocation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource.
-
#get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::BackendBucket
Returns the specified BackendBucket resource.
-
#get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::DiskType
Returns the specified disk type.
-
#get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::HealthCheck
Returns the specified HealthCheck resource.
-
#get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource.
-
#get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::InstanceGroupManager
Returns all of the details about the specified managed instance group.
-
#get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::SerialPortOutput
Returns the last 1 MB of serial port output from the specified instance.
-
#get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ShieldedVmIdentity
Returns the Shielded VM Identity of an instance.
-
#get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::InstanceTemplate
Returns the specified instance template.
-
#get_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource.
-
#get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::InterconnectAttachment
Returns the specified interconnect attachment.
-
#get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse
Returns the interconnectDiagnostics for the specified interconnect.
-
#get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::LicenseCode
Return a specified license code.
-
#get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::MachineType
Returns the specified machine type.
-
#get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::NetworkEndpointGroup
Returns the specified network endpoint group.
-
#get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeGroup
Returns the specified NodeGroup.
-
#get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource.
-
#get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeTemplate
Returns the specified node template.
-
#get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource.
-
#get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeType
Returns the specified node type.
-
#get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Project
Gets 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::ComputeBeta::ProjectsGetXpnResources
Gets 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Disk
Returns a specified regional persistent disk.
-
#get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource.
-
#get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Retrieves the specified region-specific Operations resource.
-
#get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ResourcePolicy
Retrieves all information of the specified resource policy.
-
#get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Router
Returns the specified Router resource.
-
#get_router_nat_mapping_info(project, region, router, 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::ComputeBeta::VmEndpointNatMappingsList
Retrieves runtime Nat mapping information of VM endpoints.
-
#get_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::SslPolicy
Lists 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::VpnTunnel
Returns the specified VpnTunnel resource.
-
#get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Creates an address resource in the specified project using the data included in the request.
-
#insert_allocation(project, zone, allocation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a new allocation.
-
#insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Creates a HealthCheck 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Create a License resource in the specified project.
-
#insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
-
#insert_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a NodeGroup resource in the specified project using the data included in the request.
-
#insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a NodeTemplate resource in the specified project using the data 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Creates a managed instance group using the information that you specify in the request.
-
#insert_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a new resource policy.
-
#insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::AddressList
Retrieves a list of addresses contained within the specified region.
-
#list_aggregated_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::ComputeBeta::AddressAggregatedList
Retrieves an aggregated list of addresses.
-
#list_aggregated_autoscalers(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::ComputeBeta::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
-
#list_aggregated_disk(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::ComputeBeta::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
-
#list_aggregated_disk_types(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::ComputeBeta::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
-
#list_aggregated_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::ComputeBeta::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
-
#list_aggregated_global_operation(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::ComputeBeta::OperationAggregatedList
Retrieves an aggregated list of all operations.
-
#list_aggregated_instance_group_managers(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::ComputeBeta::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
-
#list_aggregated_instance_groups(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::ComputeBeta::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
-
#list_aggregated_instances(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::ComputeBeta::InstanceAggregatedList
Retrieves aggregated list of all of the instances in your project across all regions and zones.
-
#list_aggregated_machine_types(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::ComputeBeta::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
-
#list_aggregated_routers(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::ComputeBeta::RouterAggregatedList
Retrieves an aggregated list of routers.
-
#list_aggregated_subnetworks(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::ComputeBeta::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
-
#list_aggregated_target_instance(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::ComputeBeta::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
-
#list_aggregated_target_pools(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::ComputeBeta::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
-
#list_aggregated_target_vpn_gateways(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::ComputeBeta::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
-
#list_aggregated_vpn_tunnel(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::ComputeBeta::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
-
#list_allocations(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::ComputeBeta::AllocationList
A list all the allocations that have been configured for the specified project in specified zone.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::HealthCheckList
Retrieves the list of HealthCheck resources 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse
Lists all of the instances in 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::MachineTypeList
Retrieves a list of machine types available to the specified project.
-
#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::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
Lists 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::ComputeBeta::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
-
#list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ExchangedPeeringRoutesList
Lists the peering routes exchanged over peering connection.
-
#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::ComputeBeta::NetworkList
Retrieves the list of networks available to the specified project.
-
#list_node_group_nodes(project, zone, node_group, 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::ComputeBeta::NodeGroupsListNodes
Lists nodes in the node group.
-
#list_node_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::ComputeBeta::NodeGroupList
Retrieves a list of node groups available to the specified project.
-
#list_node_templates(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::ComputeBeta::NodeTemplateList
Retrieves a list of node templates available to the specified project.
-
#list_node_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::ComputeBeta::NodeTypeList
Retrieves a list of node types 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::ComputeBeta::XpnHostList
Lists 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse
Lists the instances in the managed instance group and instances that are scheduled to be created.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::RegionList
Retrieves the list of region resources available to the specified project.
-
#list_resource_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::ComputeBeta::ResourcePolicyList
A list all the resource policies that have been configured for the specified project in specified region.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::SecurityPolicyList
List all the policies that have been configured for the specified project.
-
#list_security_policy_preconfigured_expression_sets(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::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::SslPoliciesList
Lists 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::ZoneList
Retrieves the list of Zone resources available to the specified project.
-
#move_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Moves a persistent disk from one zone to another.
-
#move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Updates the specified firewall 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately recreated.
-
#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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately recreated.
-
#remove_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes resource policies from a disk.
-
#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::ComputeBeta::Operation
Removes one or more instances from the specified instance group, but does not delete those instances.
-
#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::ComputeBeta::Operation
Removes a peering from the specified network.
-
#remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes resource policies from a regional disk.
-
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes a rule at the specified priority.
-
#remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes health check URL from a target pool.
-
#remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Changes the intended size of 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::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on an Address.
-
#set_allocation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the security policy for the specified backend service.
-
#set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
-
#set_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::ComputeBeta::Operation
Sets the auto-delete flag for a disk attached to an instance.
-
#set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Changes target URL for the GlobalForwardingRule resource.
-
#set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets deletion protection on the 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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets the named ports for the specified instance group.
-
#set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets the service account on the instance.
-
#set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets the Shielded VM integrity policy for a VM 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::ComputeBeta::Operation
Sets network tags for the specified instance to the data included in the request.
-
#set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on an InterconnectAttachment.
-
#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::ComputeBeta::Operation
Sets the labels on an Interconnect.
-
#set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource.
-
#set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource.
-
#set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the node template of the node group.
-
#set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource.
-
#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::ComputeBeta::Operation
Sets the default network tier of the project.
-
#set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets the named ports for the specified regional instance group.
-
#set_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets the labels on a security policy.
-
#set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a snapshot.
-
#set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a TargetVpnGateway.
-
#set_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::ComputeBeta::Operation
Enables the usage export feature and sets the usage export bucket where reports are stored.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Starts an instance that was stopped 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::ComputeBeta::Operation
Starts an instance that was stopped using the instances().stop method.
-
#stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_allocation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_resource_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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Updates the specified access config from an instance's network interface with the data included in the request.
-
#update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the Display config for a VM instance.
-
#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::ComputeBeta::Operation
Updates a managed instance group using the information that you specify in the request.
-
#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::ComputeBeta::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::ComputeBeta::Operation
Updates the Shielded VM config for a VM instance.
-
#update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the specified network peering with the data included in the request Only the following fields can be modified: NetworkPeering.export_custom_routes, and NetworkPeering.import_custom_routes.
-
#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::ComputeBeta::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::ComputeBeta::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::ComputeBeta::Operation
Updates a managed instance group using the information that you specify in the request.
-
#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::ComputeBeta::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::ComputeBeta::Operation
Updates the specified UrlMap resource with the data included in the request.
-
#validate_url_map(project, url_map, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ValidateUrlMapsResponse
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
49 50 51 52 |
# File 'generated/google/apis/compute_beta/service.rb', line 49 def initialize super('https://www.googleapis.com/', 'compute/beta/projects/') @batch_path = 'batch/compute/beta' 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_beta/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
43 44 45 |
# File 'generated/google/apis/compute_beta/service.rb', line 43 def quota_user @quota_user end |
#user_ip ⇒ String
Returns Deprecated. Please use quotaUser instead.
47 48 49 |
# File 'generated/google/apis/compute_beta/service.rb', line 47 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::ComputeBeta::Operation
Flags the specified instances to be removed 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.
6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 |
# File 'generated/google/apis/compute_beta/service.rb', line 6571 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::ComputeBeta::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances to be immediately removed 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.
16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 |
# File 'generated/google/apis/compute_beta/service.rb', line 16783 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::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Adds a key for validating requests with signed URLs for this backend bucket.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 |
# File 'generated/google/apis/compute_beta/service.rb', line 1512 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::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Adds a key for validating requests with signed URLs for this backend service.
1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 |
# File 'generated/google/apis/compute_beta/service.rb', line 1927 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::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 |
# File 'generated/google/apis/compute_beta/service.rb', line 2737 def add_disk_resource_policies(project, zone, disk, disks_add_resource_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}/disks/{disk}/addResourcePolicies', ) command.request_representation = Google::Apis::ComputeBeta::DisksAddResourcePoliciesRequest::Representation command.request_object = disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#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::ComputeBeta::Operation
Adds an access config to an instance's network interface.
8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 |
# File 'generated/google/apis/compute_beta/service.rb', line 8505 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::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 |
# File 'generated/google/apis/compute_beta/service.rb', line 7597 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::ComputeBeta::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Adds a peering to the specified network.
12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 |
# File 'generated/google/apis/compute_beta/service.rb', line 12530 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::ComputeBeta::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds specified number of nodes to the node group.
13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 |
# File 'generated/google/apis/compute_beta/service.rb', line 13115 def add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_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}/nodeGroups/{nodeGroup}/addNodes', ) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsAddNodesRequest::Representation command.request_object = node_groups_add_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 |
# File 'generated/google/apis/compute_beta/service.rb', line 16155 def add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_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}/addResourcePolicies', ) command.request_representation = Google::Apis::ComputeBeta::RegionDisksAddResourcePoliciesRequest::Representation command.request_object = region_disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#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::ComputeBeta::Operation
Inserts a rule into a security policy.
19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 |
# File 'generated/google/apis/compute_beta/service.rb', line 19364 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::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds health check URLs to a target pool.
22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 |
# File 'generated/google/apis/compute_beta/service.rb', line 22612 def add_target_pool_health_check(project, region, target_pool, add_target_pools_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::ComputeBeta::AddTargetPoolsHealthCheckRequest::Representation command.request_object = add_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Adds an instance to a target pool.
22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 |
# File 'generated/google/apis/compute_beta/service.rb', line 22666 def add_target_pool_instance(project, region, target_pool, add_target_pools_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::ComputeBeta::AddTargetPoolsInstanceRequest::Representation command.request_object = add_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'generated/google/apis/compute_beta/service.rb', line 110 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::ComputeBeta::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation_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::ComputeBeta::AllocationAggregatedList
Retrieves an aggregated list of allocations.
678 679 680 681 682 683 684 685 686 687 688 689 690 691 |
# File 'generated/google/apis/compute_beta/service.rb', line 678 def aggregated_allocation_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/allocations', ) command.response_representation = Google::Apis::ComputeBeta::AllocationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AllocationAggregatedList 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::ComputeBeta::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 |
# File 'generated/google/apis/compute_beta/service.rb', line 1999 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::ComputeBeta::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 |
# File 'generated/google/apis/compute_beta/service.rb', line 10588 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::ComputeBeta::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 |
# File 'generated/google/apis/compute_beta/service.rb', line 12017 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::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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_node_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::ComputeBeta::NodeGroupAggregatedList
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.
13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 |
# File 'generated/google/apis/compute_beta/service.rb', line 13188 def aggregated_node_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/nodeGroups', ) command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList 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_node_template_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::ComputeBeta::NodeTemplateAggregatedList
Retrieves an aggregated list of node templates.
13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 |
# File 'generated/google/apis/compute_beta/service.rb', line 13791 def aggregated_node_template_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/nodeTemplates', ) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList 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_node_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::ComputeBeta::NodeTypeAggregatedList
Retrieves an aggregated list of node types.
14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 |
# File 'generated/google/apis/compute_beta/service.rb', line 14204 def aggregated_node_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/nodeTypes', ) command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList 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::ComputeBeta::CommitmentAggregatedList
Retrieves an aggregated list of commitments.
15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 |
# File 'generated/google/apis/compute_beta/service.rb', line 15821 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::ComputeBeta::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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_resource_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::ComputeBeta::ResourcePolicyAggregatedList
Retrieves an aggregated list of resource policies.
18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 |
# File 'generated/google/apis/compute_beta/service.rb', line 18220 def aggregated_resource_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/resourcePolicies', ) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList 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 |
#attach_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::ComputeBeta::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.
8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 |
# File 'generated/google/apis/compute_beta/service.rb', line 8638 def attach_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::ComputeBeta::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Attach a list of network endpoints to the specified network endpoint group.
12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 |
# File 'generated/google/apis/compute_beta/service.rb', line 12072 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::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a snapshot of a specified persistent disk.
2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 |
# File 'generated/google/apis/compute_beta/service.rb', line 2863 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::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a snapshot of this regional disk.
16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 |
# File 'generated/google/apis/compute_beta/service.rb', line 16209 def create_region_disk_snapshot(project, region, disk, snapshot_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}/createSnapshot', ) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified address resource.
346 347 348 349 350 351 352 353 354 355 356 357 358 |
# File 'generated/google/apis/compute_beta/service.rb', line 346 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation(project, zone, allocation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified allocation.
730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'generated/google/apis/compute_beta/service.rb', line 730 def delete_allocation(project, zone, allocation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/allocations/{allocation}', ) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['allocation'] = allocation unless allocation.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::ComputeBeta::Operation
Deletes the specified autoscaler.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'generated/google/apis/compute_beta/service.rb', line 1142 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified BackendBucket resource.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 |
# File 'generated/google/apis/compute_beta/service.rb', line 1562 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes a key for validating requests with signed URLs for this backend bucket.
1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 |
# File 'generated/google/apis/compute_beta/service.rb', line 1613 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified BackendService resource.
2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 |
# File 'generated/google/apis/compute_beta/service.rb', line 2049 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes a key for validating requests with signed URLs for this backend service.
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 |
# File 'generated/google/apis/compute_beta/service.rb', line 2101 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'generated/google/apis/compute_beta/service.rb', line 2919 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified firewall.
3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 |
# File 'generated/google/apis/compute_beta/service.rb', line 3428 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified ForwardingRule resource.
3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 |
# File 'generated/google/apis/compute_beta/service.rb', line 3850 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified address resource.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 |
# File 'generated/google/apis/compute_beta/service.rb', line 4217 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified GlobalForwardingRule resource.
4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 |
# File 'generated/google/apis/compute_beta/service.rb', line 4501 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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.
4898 4899 4900 4901 4902 4903 4904 4905 4906 |
# File 'generated/google/apis/compute_beta/service.rb', line 4898 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::ComputeBeta::Operation
Deletes the specified HealthCheck resource.
5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 |
# File 'generated/google/apis/compute_beta/service.rb', line 5051 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified HttpHealthCheck resource.
5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 |
# File 'generated/google/apis/compute_beta/service.rb', line 5400 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified HttpsHealthCheck resource.
5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 |
# File 'generated/google/apis/compute_beta/service.rb', line 5750 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified image.
6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 |
# File 'generated/google/apis/compute_beta/service.rb', line 6100 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance.
8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 |
# File 'generated/google/apis/compute_beta/service.rb', line 8693 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes an access config from an instance's network interface.
8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 |
# File 'generated/google/apis/compute_beta/service.rb', line 8748 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 |
# File 'generated/google/apis/compute_beta/service.rb', line 7723 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 |
# File 'generated/google/apis/compute_beta/service.rb', line 6697 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group for immediate deletion. 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.
6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 |
# File 'generated/google/apis/compute_beta/service.rb', line 6759 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::ComputeBeta::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group.
8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 |
# File 'generated/google/apis/compute_beta/service.rb', line 8176 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified interconnect.
11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 |
# File 'generated/google/apis/compute_beta/service.rb', line 11117 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified interconnect attachment.
10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 |
# File 'generated/google/apis/compute_beta/service.rb', line 10640 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified license.
11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 |
# File 'generated/google/apis/compute_beta/service.rb', line 11527 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified network.
12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 |
# File 'generated/google/apis/compute_beta/service.rb', line 12580 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 |
# File 'generated/google/apis/compute_beta/service.rb', line 12130 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified NodeGroup resource.
13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 |
# File 'generated/google/apis/compute_beta/service.rb', line 13240 def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', ) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes specified nodes from the node group.
13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 |
# File 'generated/google/apis/compute_beta/service.rb', line 13292 def delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_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}/nodeGroups/{nodeGroup}/deleteNodes', ) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsDeleteNodesRequest::Representation command.request_object = node_groups_delete_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified NodeTemplate resource.
13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 |
# File 'generated/google/apis/compute_beta/service.rb', line 13843 def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', ) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['nodeTemplate'] = node_template unless node_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_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified autoscaler.
15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 |
# File 'generated/google/apis/compute_beta/service.rb', line 15016 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified regional BackendService resource.
15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 |
# File 'generated/google/apis/compute_beta/service.rb', line 15385 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 |
# File 'generated/google/apis/compute_beta/service.rb', line 16265 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified managed instance group and all of the instances in that group.
16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 |
# File 'generated/google/apis/compute_beta/service.rb', line 16837 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately deleted. 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. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. 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.
16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 |
# File 'generated/google/apis/compute_beta/service.rb', line 16899 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::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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.
17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 |
# File 'generated/google/apis/compute_beta/service.rb', line 17932 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_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified resource policy.
18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 |
# File 'generated/google/apis/compute_beta/service.rb', line 18272 def delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', ) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resourcePolicy'] = resource_policy unless resource_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_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes the specified Route resource.
19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 |
# File 'generated/google/apis/compute_beta/service.rb', line 19128 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified Router resource.
18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 |
# File 'generated/google/apis/compute_beta/service.rb', line 18601 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified policy.
19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 |
# File 'generated/google/apis/compute_beta/service.rb', line 19414 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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 snapshots.
19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 |
# File 'generated/google/apis/compute_beta/service.rb', line 19950 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified SslCertificate resource.
20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 |
# File 'generated/google/apis/compute_beta/service.rb', line 20263 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 |
# File 'generated/google/apis/compute_beta/service.rb', line 20510 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified subnetwork.
20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 |
# File 'generated/google/apis/compute_beta/service.rb', line 20951 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified TargetHttpProxy resource.
21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 |
# File 'generated/google/apis/compute_beta/service.rb', line 21528 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified TargetHttpsProxy resource.
21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 |
# File 'generated/google/apis/compute_beta/service.rb', line 21824 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified TargetInstance resource.
22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 |
# File 'generated/google/apis/compute_beta/service.rb', line 22351 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified target pool.
22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 |
# File 'generated/google/apis/compute_beta/service.rb', line 22790 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified TargetSslProxy resource.
23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 |
# File 'generated/google/apis/compute_beta/service.rb', line 23255 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified TargetTcpProxy resource.
23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 |
# File 'generated/google/apis/compute_beta/service.rb', line 23708 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified target VPN gateway.
24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 |
# File 'generated/google/apis/compute_beta/service.rb', line 24089 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified UrlMap resource.
24402 24403 24404 24405 24406 24407 24408 24409 24410 24411 24412 24413 |
# File 'generated/google/apis/compute_beta/service.rb', line 24402 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Deletes the specified VpnTunnel resource.
24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 |
# File 'generated/google/apis/compute_beta/service.rb', line 24915 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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.
25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 |
# File 'generated/google/apis/compute_beta/service.rb', line 25219 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::ComputeBeta::Operation
Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.
6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 |
# File 'generated/google/apis/compute_beta/service.rb', line 6150 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::ComputeBeta::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Detaches a disk from an instance.
8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 |
# File 'generated/google/apis/compute_beta/service.rb', line 8804 def detach_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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Detach a list of network endpoints from the specified network endpoint group.
12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 |
# File 'generated/google/apis/compute_beta/service.rb', line 12184 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::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Disable this project as a shared VPC host project.
14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 |
# File 'generated/google/apis/compute_beta/service.rb', line 14366 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Disable a serivce resource (a.k.a service project) associated with this host project.
14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 |
# File 'generated/google/apis/compute_beta/service.rb', line 14413 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::ComputeBeta::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Enable this project as a shared VPC host project.
14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 |
# File 'generated/google/apis/compute_beta/service.rb', line 14460 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 |
# File 'generated/google/apis/compute_beta/service.rb', line 14507 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::ComputeBeta::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Expands the IP CIDR range of the subnetwork to a specified value.
21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 |
# File 'generated/google/apis/compute_beta/service.rb', line 21003 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::ComputeBeta::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::AcceleratorType
Returns the specified accelerator type.
151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'generated/google/apis/compute_beta/service.rb', line 151 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::ComputeBeta::AcceleratorType::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Address
Returns the specified address resource.
386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'generated/google/apis/compute_beta/service.rb', line 386 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::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation(project, zone, allocation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Allocation
Retrieves all information of the specified allocation.
770 771 772 773 774 775 776 777 778 779 780 781 |
# File 'generated/google/apis/compute_beta/service.rb', line 770 def get_allocation(project, zone, allocation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/allocations/{allocation}', ) command.response_representation = Google::Apis::ComputeBeta::Allocation::Representation command.response_class = Google::Apis::ComputeBeta::Allocation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['allocation'] = allocation unless allocation.nil? command.query['fields'] = fields unless fields.nil? command.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_allocation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
810 811 812 813 814 815 816 817 818 819 820 821 |
# File 'generated/google/apis/compute_beta/service.rb', line 810 def get_allocation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/allocations/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Autoscaler
Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'generated/google/apis/compute_beta/service.rb', line 1183 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::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendBucket
Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request.
1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'generated/google/apis/compute_beta/service.rb', line 1652 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::ComputeBeta::BackendBucket::Representation command.response_class = Google::Apis::ComputeBeta::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_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::BackendService
Returns the specified BackendService resource. Gets a list of available backend services.
2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 |
# File 'generated/google/apis/compute_beta/service.rb', line 2140 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::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendServiceGroupHealth
Gets the most recent health check results for this BackendService.
2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 |
# File 'generated/google/apis/compute_beta/service.rb', line 2176 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::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Disk
Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 |
# File 'generated/google/apis/compute_beta/service.rb', line 2960 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::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 |
# File 'generated/google/apis/compute_beta/service.rb', line 3000 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::DiskType
Returns the specified disk type. Gets a list of available disk types by making a list() request.
2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'generated/google/apis/compute_beta/service.rb', line 2611 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::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Firewall
Returns the specified firewall.
3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 |
# File 'generated/google/apis/compute_beta/service.rb', line 3465 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::ComputeBeta::Firewall::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ForwardingRule
Returns the specified ForwardingRule resource.
3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'generated/google/apis/compute_beta/service.rb', line 3890 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::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Address
Returns the specified address resource. Gets a list of available addresses by making a list() request.
4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 |
# File 'generated/google/apis/compute_beta/service.rb', line 4255 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::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ForwardingRule
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 |
# File 'generated/google/apis/compute_beta/service.rb', line 4539 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::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Retrieves the specified Operations resource. Gets a list of operations by making a list() request.
4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 |
# File 'generated/google/apis/compute_beta/service.rb', line 4933 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::HealthCheck
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 |
# File 'generated/google/apis/compute_beta/service.rb', line 5089 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::ComputeBeta::HealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::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_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::HttpHealthCheck
Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request.
5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 |
# File 'generated/google/apis/compute_beta/service.rb', line 5438 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::ComputeBeta::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request.
5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 |
# File 'generated/google/apis/compute_beta/service.rb', line 5788 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::ComputeBeta::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Image
Returns the specified image. Gets a list of available images by making a list() request.
6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 |
# File 'generated/google/apis/compute_beta/service.rb', line 6190 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::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Image
Returns the latest image that is part of an image family and is not deprecated.
6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 |
# File 'generated/google/apis/compute_beta/service.rb', line 6226 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::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 |
# File 'generated/google/apis/compute_beta/service.rb', line 6263 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Instance
Returns the specified Instance resource. Gets a list of available instances by making a list() request.
8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'generated/google/apis/compute_beta/service.rb', line 8846 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::ComputeBeta::Instance::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroup
Returns the specified instance group. Gets a list of available instance groups by making a list() request.
7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 |
# File 'generated/google/apis/compute_beta/service.rb', line 7764 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::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroupManager
Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.
6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 |
# File 'generated/google/apis/compute_beta/service.rb', line 6802 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::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::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, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::GuestAttributes
Returns the specified guest attributes entry.
8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 |
# File 'generated/google/apis/compute_beta/service.rb', line 8889 def get_instance_guest_attributes(project, zone, instance, query_path: nil, 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::ComputeBeta::GuestAttributes::Representation command.response_class = Google::Apis::ComputeBeta::GuestAttributes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['queryPath'] = query_path unless query_path.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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 |
# File 'generated/google/apis/compute_beta/service.rb', line 8931 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SerialPortOutput
Returns the last 1 MB of serial port output from the specified instance.
8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 |
# File 'generated/google/apis/compute_beta/service.rb', line 8977 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::ComputeBeta::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeBeta::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_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ShieldedVmIdentity
Returns the Shielded VM Identity of an instance
9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 |
# File 'generated/google/apis/compute_beta/service.rb', line 9018 def get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', ) command.response_representation = Google::Apis::ComputeBeta::ShieldedVmIdentity::Representation command.response_class = Google::Apis::ComputeBeta::ShieldedVmIdentity 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_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::InstanceTemplate
Returns the specified instance template. Gets a list of available instance templates by making a list() request.
8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 |
# File 'generated/google/apis/compute_beta/service.rb', line 8214 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::ComputeBeta::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeBeta::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_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 |
# File 'generated/google/apis/compute_beta/service.rb', line 8251 def get_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Interconnect
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 |
# File 'generated/google/apis/compute_beta/service.rb', line 11155 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::ComputeBeta::Interconnect::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InterconnectAttachment
Returns the specified interconnect attachment.
10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 |
# File 'generated/google/apis/compute_beta/service.rb', line 10680 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::ComputeBeta::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeBeta::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_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse
Returns the interconnectDiagnostics for the specified interconnect.
11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 |
# File 'generated/google/apis/compute_beta/service.rb', line 11191 def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', ) command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse 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_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::InterconnectLocation
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 |
# File 'generated/google/apis/compute_beta/service.rb', line 10998 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::ComputeBeta::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::License
Returns the specified License resource.
11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 |
# File 'generated/google/apis/compute_beta/service.rb', line 11564 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::ComputeBeta::License::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::LicenseCode
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code.
11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 |
# File 'generated/google/apis/compute_beta/service.rb', line 11480 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::ComputeBeta::LicenseCode::Representation command.response_class = Google::Apis::ComputeBeta::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_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 |
# File 'generated/google/apis/compute_beta/service.rb', line 11601 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::MachineType
Returns the specified machine type. Gets a list of available machine types by making a list() request.
11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 |
# File 'generated/google/apis/compute_beta/service.rb', line 11874 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::ComputeBeta::MachineType::Representation command.response_class = Google::Apis::ComputeBeta::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_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Network
Returns the specified network. Gets a list of available networks by making a list() request.
12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 |
# File 'generated/google/apis/compute_beta/service.rb', line 12618 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::ComputeBeta::Network::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::NetworkEndpointGroup
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 |
# File 'generated/google/apis/compute_beta/service.rb', line 12228 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::ComputeBeta::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeBeta::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(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeGroup
Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups. listNodes instead.
13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 |
# File 'generated/google/apis/compute_beta/service.rb', line 13336 def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', ) command.response_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 |
# File 'generated/google/apis/compute_beta/service.rb', line 13376 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeTemplate
Returns the specified node template. Gets a list of available node templates by making a list() request.
13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 |
# File 'generated/google/apis/compute_beta/service.rb', line 13884 def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', ) command.response_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplate command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['nodeTemplate'] = node_template unless node_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_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 |
# File 'generated/google/apis/compute_beta/service.rb', line 13924 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::NodeType
Returns the specified node type. Gets a list of available node types by making a list() request.
14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 |
# File 'generated/google/apis/compute_beta/service.rb', line 14246 def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', ) command.response_representation = Google::Apis::ComputeBeta::NodeType::Representation command.response_class = Google::Apis::ComputeBeta::NodeType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeType'] = node_type unless node_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_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Project
Returns the specified Project resource.
14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 |
# File 'generated/google/apis/compute_beta/service.rb', line 14543 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::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Project
Gets the shared VPC host project that this project links to. May be empty if no link exists.
14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 |
# File 'generated/google/apis/compute_beta/service.rb', line 14577 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::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ProjectsGetXpnResources
Gets service resources (a.k.a service project) associated with this host project.
14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 |
# File 'generated/google/apis/compute_beta/service.rb', line 14645 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::ComputeBeta::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Region
Returns the specified Region resource. Gets a list of available regions by making a list() request.
18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 |
# File 'generated/google/apis/compute_beta/service.rb', line 18081 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::ComputeBeta::Region::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Autoscaler
Returns the specified autoscaler.
15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 |
# File 'generated/google/apis/compute_beta/service.rb', line 15056 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::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendService
Returns the specified regional BackendService resource.
15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 |
# File 'generated/google/apis/compute_beta/service.rb', line 15425 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::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 |
# File 'generated/google/apis/compute_beta/service.rb', line 15464 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::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Commitment
Returns the specified commitment resource. Gets a list of available commitments by making a list() request.
15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 |
# File 'generated/google/apis/compute_beta/service.rb', line 15863 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::ComputeBeta::Commitment::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Disk
Returns a specified regional persistent disk.
16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 |
# File 'generated/google/apis/compute_beta/service.rb', line 16305 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::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::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_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 |
# File 'generated/google/apis/compute_beta/service.rb', line 16345 def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::DiskType
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 |
# File 'generated/google/apis/compute_beta/service.rb', line 16029 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::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroup
Returns the specified instance group resource.
17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 |
# File 'generated/google/apis/compute_beta/service.rb', line 17640 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::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroupManager
Returns all of the details about the specified managed instance group.
16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 |
# File 'generated/google/apis/compute_beta/service.rb', line 16941 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::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Retrieves the specified region-specific Operations resource.
17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 |
# File 'generated/google/apis/compute_beta/service.rb', line 17969 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ResourcePolicy
Retrieves all information of the specified resource policy.
18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 |
# File 'generated/google/apis/compute_beta/service.rb', line 18312 def get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', ) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resourcePolicy'] = resource_policy unless resource_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_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Route
Returns the specified Route resource. Gets a list of available routes by making a list() request.
19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 |
# File 'generated/google/apis/compute_beta/service.rb', line 19166 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::ComputeBeta::Route::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Router
Returns the specified Router resource. Gets a list of available routers by making a list() request.
18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 |
# File 'generated/google/apis/compute_beta/service.rb', line 18642 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::ComputeBeta::Router::Representation command.response_class = Google::Apis::ComputeBeta::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_nat_mapping_info(project, region, router, 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::ComputeBeta::VmEndpointNatMappingsList
Retrieves runtime Nat mapping information of VM endpoints.
18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 |
# File 'generated/google/apis/compute_beta/service.rb', line 18716 def get_router_nat_mapping_info(project, region, router, 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/{router}/getNatMappingInfo', ) command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.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 |
#get_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::RouterStatusResponse
Retrieves runtime information of the specified router.
18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 |
# File 'generated/google/apis/compute_beta/service.rb', line 18759 def get_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::ComputeBeta::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SecurityPolicy
List all of the ordered rules present in a single specified policy.
19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 |
# File 'generated/google/apis/compute_beta/service.rb', line 19451 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::ComputeBeta::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SecurityPolicyRule
Gets a rule at the specified priority.
19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 |
# File 'generated/google/apis/compute_beta/service.rb', line 19489 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::ComputeBeta::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Snapshot
Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request.
19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 |
# File 'generated/google/apis/compute_beta/service.rb', line 19988 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::ComputeBeta::Snapshot::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 |
# File 'generated/google/apis/compute_beta/service.rb', line 20025 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SslCertificate
Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.
20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 |
# File 'generated/google/apis/compute_beta/service.rb', line 20301 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::ComputeBeta::SslCertificate::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SslPolicy
Lists all of the ordered rules present in a single specified policy.
20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 |
# File 'generated/google/apis/compute_beta/service.rb', line 20548 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::ComputeBeta::SslPolicy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Subnetwork
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 |
# File 'generated/google/apis/compute_beta/service.rb', line 21046 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::ComputeBeta::Subnetwork::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 |
# File 'generated/google/apis/compute_beta/service.rb', line 21086 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::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetHttpProxy
Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.
21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 |
# File 'generated/google/apis/compute_beta/service.rb', line 21566 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::ComputeBeta::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request.
21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 |
# File 'generated/google/apis/compute_beta/service.rb', line 21862 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::ComputeBeta::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetInstance
Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.
22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 |
# File 'generated/google/apis/compute_beta/service.rb', line 22392 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::ComputeBeta::TargetInstance::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetPool
Returns the specified target pool. Gets a list of available target pools by making a list() request.
22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 |
# File 'generated/google/apis/compute_beta/service.rb', line 22831 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::ComputeBeta::TargetPool::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 |
# File 'generated/google/apis/compute_beta/service.rb', line 22872 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::ComputeBeta::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeBeta::TargetPoolInstanceHealth::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetSslProxy
Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.
23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 |
# File 'generated/google/apis/compute_beta/service.rb', line 23293 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::ComputeBeta::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetTcpProxy
Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.
23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 |
# File 'generated/google/apis/compute_beta/service.rb', line 23746 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::ComputeBeta::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetVpnGateway
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 |
# File 'generated/google/apis/compute_beta/service.rb', line 24130 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::ComputeBeta::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::UrlMap
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
24440 24441 24442 24443 24444 24445 24446 24447 24448 24449 24450 |
# File 'generated/google/apis/compute_beta/service.rb', line 24440 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::ComputeBeta::UrlMap::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::VpnTunnel
Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 |
# File 'generated/google/apis/compute_beta/service.rb', line 24956 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::ComputeBeta::VpnTunnel::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Zone
Returns the specified Zone resource. Gets a list of available zones by making a list() request.
25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 |
# File 'generated/google/apis/compute_beta/service.rb', line 25368 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::ComputeBeta::Zone::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Retrieves the specified zone-specific Operations resource.
25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 |
# File 'generated/google/apis/compute_beta/service.rb', line 25256 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an address resource in the specified project using the data included in the request.
436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'generated/google/apis/compute_beta/service.rb', line 436 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::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation(project, zone, allocation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a new allocation.
859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
# File 'generated/google/apis/compute_beta/service.rb', line 859 def insert_allocation(project, zone, allocation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/allocations', ) command.request_representation = Google::Apis::ComputeBeta::Allocation::Representation command.request_object = allocation_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates an autoscaler in the specified project using the data included in the request.
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'generated/google/apis/compute_beta/service.rb', line 1233 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'generated/google/apis/compute_beta/service.rb', line 1699 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::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 |
# File 'generated/google/apis/compute_beta/service.rb', line 2227 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 |
# File 'generated/google/apis/compute_beta/service.rb', line 3054 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::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a firewall rule in the specified project using the data included in the request.
3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 |
# File 'generated/google/apis/compute_beta/service.rb', line 3512 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::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 |
# File 'generated/google/apis/compute_beta/service.rb', line 3940 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::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an address resource in the specified project using the data included in the request.
4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 |
# File 'generated/google/apis/compute_beta/service.rb', line 4302 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::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 |
# File 'generated/google/apis/compute_beta/service.rb', line 4586 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::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'generated/google/apis/compute_beta/service.rb', line 5136 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::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 |
# File 'generated/google/apis/compute_beta/service.rb', line 5485 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::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 |
# File 'generated/google/apis/compute_beta/service.rb', line 5835 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::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an image in the specified project using the data included in the request.
6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 |
# File 'generated/google/apis/compute_beta/service.rb', line 6312 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::ComputeBeta::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an instance resource in the specified project using the data included in the request.
9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 |
# File 'generated/google/apis/compute_beta/service.rb', line 9076 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::ComputeBeta::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an instance group in the specified project using the parameters that are included in the request.
7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 |
# File 'generated/google/apis/compute_beta/service.rb', line 7814 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::ComputeBeta::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created 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.
6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 |
# File 'generated/google/apis/compute_beta/service.rb', line 6858 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'generated/google/apis/compute_beta/service.rb', line 8300 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::ComputeBeta::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a Interconnect in the specified project using the data included in the request.
11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 |
# File 'generated/google/apis/compute_beta/service.rb', line 11238 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::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 |
# File 'generated/google/apis/compute_beta/service.rb', line 10730 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::ComputeBeta::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Create a License resource in the specified project.
11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 |
# File 'generated/google/apis/compute_beta/service.rb', line 11647 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::ComputeBeta::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a network in the specified project using the data included in the request.
12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 |
# File 'generated/google/apis/compute_beta/service.rb', line 12665 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::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 |
# File 'generated/google/apis/compute_beta/service.rb', line 12279 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::ComputeBeta::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a NodeGroup resource in the specified project using the data included in the request.
13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 |
# File 'generated/google/apis/compute_beta/service.rb', line 13428 def insert_node_group(project, zone, initial_node_count, node_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}/nodeGroups', ) command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['initialNodeCount'] = initial_node_count unless initial_node_count.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_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a NodeTemplate resource in the specified project using the data included in the request.
13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 |
# File 'generated/google/apis/compute_beta/service.rb', line 13974 def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', ) command.request_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.request_object = node_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates an autoscaler in the specified project using the data included in the request.
15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 |
# File 'generated/google/apis/compute_beta/service.rb', line 15106 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 |
# File 'generated/google/apis/compute_beta/service.rb', line 15518 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a commitment in the specified project using the data included in the request.
15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 |
# File 'generated/google/apis/compute_beta/service.rb', line 15913 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::ComputeBeta::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a persistent regional disk in the specified project using the data included in the request.
16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 |
# File 'generated/google/apis/compute_beta/service.rb', line 16397 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::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created 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.
16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 |
# File 'generated/google/apis/compute_beta/service.rb', line 16996 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Creates a new resource policy.
18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 |
# File 'generated/google/apis/compute_beta/service.rb', line 18361 def insert_resource_policy(project, region, resource_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}/resourcePolicies', ) command.request_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.request_object = resource_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a Route resource in the specified project using the data included in the request.
19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 |
# File 'generated/google/apis/compute_beta/service.rb', line 19213 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::ComputeBeta::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a Router resource in the specified project and region using the data included in the request.
18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 |
# File 'generated/google/apis/compute_beta/service.rb', line 18809 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::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a new policy in the specified project using the data included in the request.
19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 |
# File 'generated/google/apis/compute_beta/service.rb', line 19539 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::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 |
# File 'generated/google/apis/compute_beta/service.rb', line 20348 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::ComputeBeta::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 |
# File 'generated/google/apis/compute_beta/service.rb', line 20595 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::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a subnetwork in the specified project using the data included in the request.
21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 |
# File 'generated/google/apis/compute_beta/service.rb', line 21136 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::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 |
# File 'generated/google/apis/compute_beta/service.rb', line 21613 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::ComputeBeta::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 |
# File 'generated/google/apis/compute_beta/service.rb', line 21909 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::ComputeBeta::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 |
# File 'generated/google/apis/compute_beta/service.rb', line 22442 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::ComputeBeta::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a target pool in the specified project and region using the data included in the request.
22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 |
# File 'generated/google/apis/compute_beta/service.rb', line 22924 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::ComputeBeta::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 |
# File 'generated/google/apis/compute_beta/service.rb', line 23340 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::ComputeBeta::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 |
# File 'generated/google/apis/compute_beta/service.rb', line 23793 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::ComputeBeta::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 |
# File 'generated/google/apis/compute_beta/service.rb', line 24180 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::ComputeBeta::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 |
# File 'generated/google/apis/compute_beta/service.rb', line 24487 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::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
25006 25007 25008 25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 |
# File 'generated/google/apis/compute_beta/service.rb', line 25006 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::ComputeBeta::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 |
# File 'generated/google/apis/compute_beta/service.rb', line 24538 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::ComputeBeta::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::AcceleratorTypeList
Retrieves a list of accelerator types available to the specified project.
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'generated/google/apis/compute_beta/service.rb', line 222 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::ComputeBeta::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::AddressList
Retrieves a list of addresses contained within the specified region.
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'generated/google/apis/compute_beta/service.rb', line 509 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::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::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_aggregated_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::ComputeBeta::AddressAggregatedList
Retrieves an aggregated list of addresses.
294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
# File 'generated/google/apis/compute_beta/service.rb', line 294 def list_aggregated_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}/aggregated/addresses', ) command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_autoscalers(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::ComputeBeta::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'generated/google/apis/compute_beta/service.rb', line 1090 def list_aggregated_autoscalers(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::ComputeBeta::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_disk(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::ComputeBeta::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 |
# File 'generated/google/apis/compute_beta/service.rb', line 2809 def list_aggregated_disk(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::ComputeBeta::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_disk_types(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::ComputeBeta::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 |
# File 'generated/google/apis/compute_beta/service.rb', line 2569 def list_aggregated_disk_types(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::ComputeBeta::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_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::ComputeBeta::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 |
# File 'generated/google/apis/compute_beta/service.rb', line 3798 def list_aggregated_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}/aggregated/forwardingRules', ) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_global_operation(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::ComputeBeta::OperationAggregatedList
Retrieves an aggregated list of all operations.
4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 |
# File 'generated/google/apis/compute_beta/service.rb', line 4859 def list_aggregated_global_operation(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::ComputeBeta::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_instance_group_managers(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::ComputeBeta::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 |
# File 'generated/google/apis/compute_beta/service.rb', line 6643 def list_aggregated_instance_group_managers(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::ComputeBeta::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_instance_groups(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::ComputeBeta::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 |
# File 'generated/google/apis/compute_beta/service.rb', line 7669 def list_aggregated_instance_groups(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::ComputeBeta::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_instances(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::ComputeBeta::InstanceAggregatedList
Retrieves aggregated list of all of the instances in your project across all regions and zones.
8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 |
# File 'generated/google/apis/compute_beta/service.rb', line 8579 def list_aggregated_instances(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::ComputeBeta::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_machine_types(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::ComputeBeta::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 |
# File 'generated/google/apis/compute_beta/service.rb', line 11832 def list_aggregated_machine_types(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::ComputeBeta::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_routers(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::ComputeBeta::RouterAggregatedList
Retrieves an aggregated list of routers.
18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 |
# File 'generated/google/apis/compute_beta/service.rb', line 18549 def list_aggregated_routers(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::ComputeBeta::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_subnetworks(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::ComputeBeta::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 |
# File 'generated/google/apis/compute_beta/service.rb', line 20899 def list_aggregated_subnetworks(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::ComputeBeta::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_target_instance(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::ComputeBeta::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 |
# File 'generated/google/apis/compute_beta/service.rb', line 22299 def list_aggregated_target_instance(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::ComputeBeta::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_target_pools(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::ComputeBeta::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 |
# File 'generated/google/apis/compute_beta/service.rb', line 22738 def list_aggregated_target_pools(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::ComputeBeta::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_target_vpn_gateways(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::ComputeBeta::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 |
# File 'generated/google/apis/compute_beta/service.rb', line 24037 def list_aggregated_target_vpn_gateways(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::ComputeBeta::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_aggregated_vpn_tunnel(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::ComputeBeta::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 |
# File 'generated/google/apis/compute_beta/service.rb', line 24863 def list_aggregated_vpn_tunnel(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::ComputeBeta::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#list_allocations(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::ComputeBeta::AllocationList
A list all the allocations that have been configured for the specified project in specified zone.
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 |
# File 'generated/google/apis/compute_beta/service.rb', line 933 def list_allocations(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}/allocations', ) command.response_representation = Google::Apis::ComputeBeta::AllocationList::Representation command.response_class = Google::Apis::ComputeBeta::AllocationList 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_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::ComputeBeta::AutoscalerList
Retrieves a list of autoscalers contained within the specified zone.
1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'generated/google/apis/compute_beta/service.rb', line 1306 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::ComputeBeta::AutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendBucketList
Retrieves the list of BackendBucket resources available to the specified project.
1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'generated/google/apis/compute_beta/service.rb', line 1770 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::ComputeBeta::BackendBucketList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendServiceList
Retrieves the list of BackendService resources available to the specified project.
2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 |
# File 'generated/google/apis/compute_beta/service.rb', line 2298 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::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::DiskTypeList
Retrieves a list of disk types available to the specified project.
2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 |
# File 'generated/google/apis/compute_beta/service.rb', line 2682 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::ComputeBeta::DiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::DiskList
Retrieves a list of persistent disks contained within the specified zone.
3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 |
# File 'generated/google/apis/compute_beta/service.rb', line 3128 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::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::FirewallList
Retrieves the list of firewall rules available to the specified project.
3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 |
# File 'generated/google/apis/compute_beta/service.rb', line 3582 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::ComputeBeta::FirewallList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ForwardingRuleList
Retrieves a list of ForwardingRule resources available to the specified project and region.
4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 |
# File 'generated/google/apis/compute_beta/service.rb', line 4014 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::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::AddressList
Retrieves a list of global addresses.
4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 |
# File 'generated/google/apis/compute_beta/service.rb', line 4372 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::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ForwardingRuleList
Retrieves a list of GlobalForwardingRule resources available to the specified project.
4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 |
# File 'generated/google/apis/compute_beta/service.rb', line 4657 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::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::OperationList
Retrieves a list of Operation resources contained within the specified project.
5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 |
# File 'generated/google/apis/compute_beta/service.rb', line 5001 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::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 |
# File 'generated/google/apis/compute_beta/service.rb', line 5206 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::ComputeBeta::HealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::HttpHealthCheckList
Retrieves the list of HttpHealthCheck resources available to the specified project.
5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 |
# File 'generated/google/apis/compute_beta/service.rb', line 5556 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::ComputeBeta::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::HttpsHealthCheckList
Retrieves the list of HttpsHealthCheck resources available to the specified project.
5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 |
# File 'generated/google/apis/compute_beta/service.rb', line 5906 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::ComputeBeta::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 |
# File 'generated/google/apis/compute_beta/service.rb', line 6388 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::ComputeBeta::ImageList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroupsListInstances
Lists the instances in the specified instance group.
7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 |
# File 'generated/google/apis/compute_beta/service.rb', line 7966 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::ComputeBeta::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 |
# File 'generated/google/apis/compute_beta/service.rb', line 7012 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::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::InstanceGroupManagerList
Retrieves a list of managed instance groups that are contained within the specified project and zone.
6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 |
# File 'generated/google/apis/compute_beta/service.rb', line 6932 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::ComputeBeta::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceGroupList
Retrieves the list of instance groups that are located in the specified project and zone.
7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 |
# File 'generated/google/apis/compute_beta/service.rb', line 7888 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::ComputeBeta::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceListReferrers
Retrieves the list of referrers to instances contained within the specified zone. For more information, read Viewing Referrers to VM Instances.
9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 |
# File 'generated/google/apis/compute_beta/service.rb', line 9228 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::ComputeBeta::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project.
8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 |
# File 'generated/google/apis/compute_beta/service.rb', line 8371 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::ComputeBeta::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InstanceList
Retrieves the list of instances contained within the specified zone.
9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 |
# File 'generated/google/apis/compute_beta/service.rb', line 9150 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::ComputeBeta::InstanceList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InterconnectAttachmentList
Retrieves the list of interconnect attachments contained within the specified region.
10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 |
# File 'generated/google/apis/compute_beta/service.rb', line 10804 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::ComputeBeta::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InterconnectLocationList
Retrieves the list of interconnect locations available to the specified project.
11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 |
# File 'generated/google/apis/compute_beta/service.rb', line 11067 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::ComputeBeta::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::InterconnectList
Retrieves the list of interconnect available to the specified project.
11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 |
# File 'generated/google/apis/compute_beta/service.rb', line 11308 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::ComputeBeta::InterconnectList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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 9. 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.
11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 |
# File 'generated/google/apis/compute_beta/service.rb', line 11721 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::ComputeBeta::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::MachineTypeList
Retrieves a list of machine types available to the specified project.
11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 |
# File 'generated/google/apis/compute_beta/service.rb', line 11945 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::ComputeBeta::MachineTypeList::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
Lists the network endpoints in the specified network endpoint group.
12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 |
# File 'generated/google/apis/compute_beta/service.rb', line 12433 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::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 |
# File 'generated/google/apis/compute_beta/service.rb', line 12354 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::ComputeBeta::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeBeta::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_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ExchangedPeeringRoutesList
Lists the peering routes exchanged over peering connection.
12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 |
# File 'generated/google/apis/compute_beta/service.rb', line 12815 def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', ) command.response_representation = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Representation command.response_class = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['direction'] = direction unless direction.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['peeringName'] = peering_name unless peering_name.nil? command.query['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 |
#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::ComputeBeta::NetworkList
Retrieves the list of networks available to the specified project.
12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 |
# File 'generated/google/apis/compute_beta/service.rb', line 12735 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::ComputeBeta::NetworkList::Representation command.response_class = Google::Apis::ComputeBeta::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_node_group_nodes(project, zone, node_group, 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::ComputeBeta::NodeGroupsListNodes
Lists nodes in the node group.
13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 |
# File 'generated/google/apis/compute_beta/service.rb', line 13579 def list_node_group_nodes(project, zone, node_group, 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}/nodeGroups/{nodeGroup}/listNodes', ) command.response_representation = Google::Apis::ComputeBeta::NodeGroupsListNodes::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupsListNodes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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_node_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::ComputeBeta::NodeGroupList
Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group.
13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 |
# File 'generated/google/apis/compute_beta/service.rb', line 13503 def list_node_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}/nodeGroups', ) command.response_representation = Google::Apis::ComputeBeta::NodeGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupList 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_node_templates(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::ComputeBeta::NodeTemplateList
Retrieves a list of node templates available to the specified project.
14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 |
# File 'generated/google/apis/compute_beta/service.rb', line 14047 def list_node_templates(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}/nodeTemplates', ) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateList 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_node_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::ComputeBeta::NodeTypeList
Retrieves a list of node types available to the specified project.
14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 |
# File 'generated/google/apis/compute_beta/service.rb', line 14317 def list_node_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}/nodeTypes', ) command.response_representation = Google::Apis::ComputeBeta::NodeTypeList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeList 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_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::ComputeBeta::XpnHostList
Lists all shared VPC host projects visible to the user in an organization.
14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 |
# File 'generated/google/apis/compute_beta/service.rb', line 14717 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::ComputeBeta::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RegionAutoscalerList
Retrieves a list of autoscalers contained within the specified region.
15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 |
# File 'generated/google/apis/compute_beta/service.rb', line 15179 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::ComputeBeta::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::BackendServiceList
Retrieves the list of regional BackendService resources available to the specified project in the given region.
15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 |
# File 'generated/google/apis/compute_beta/service.rb', line 15592 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::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::CommitmentList
Retrieves a list of commitments contained within the specified region.
15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 |
# File 'generated/google/apis/compute_beta/service.rb', line 15986 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::ComputeBeta::CommitmentList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RegionDiskTypeList
Retrieves a list of regional disk types available to the specified project.
16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 |
# File 'generated/google/apis/compute_beta/service.rb', line 16100 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::ComputeBeta::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::DiskList
Retrieves the list of persistent disks contained within the specified region.
16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 |
# File 'generated/google/apis/compute_beta/service.rb', line 16471 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::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 |
# File 'generated/google/apis/compute_beta/service.rb', line 17791 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::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 |
# File 'generated/google/apis/compute_beta/service.rb', line 17148 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::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::RegionInstanceGroupManagerList
Retrieves the list of managed instance groups that are contained within the specified region.
17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 |
# File 'generated/google/apis/compute_beta/service.rb', line 17070 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::ComputeBeta::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RegionInstanceGroupList
Retrieves the list of instance group resources contained within the specified region.
17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 |
# File 'generated/google/apis/compute_beta/service.rb', line 17712 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::ComputeBeta::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::OperationList
Retrieves a list of Operation resources contained within the specified region.
18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 |
# File 'generated/google/apis/compute_beta/service.rb', line 18040 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::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RegionList
Retrieves the list of region resources available to the specified project.
18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 |
# File 'generated/google/apis/compute_beta/service.rb', line 18149 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::ComputeBeta::RegionList::Representation command.response_class = Google::Apis::ComputeBeta::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_resource_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::ComputeBeta::ResourcePolicyList
A list all the resource policies that have been configured for the specified project in specified region.
18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 |
# File 'generated/google/apis/compute_beta/service.rb', line 18435 def list_resource_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}/resourcePolicies', ) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList 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_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::ComputeBeta::RouterList
Retrieves a list of Router resources available to the specified project.
18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 |
# File 'generated/google/apis/compute_beta/service.rb', line 18882 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::ComputeBeta::RouterList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RouteList
Retrieves the list of Route resources available to the specified project.
19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 |
# File 'generated/google/apis/compute_beta/service.rb', line 19283 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::ComputeBeta::RouteList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SecurityPolicyList
List all the policies that have been configured for the specified project.
19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 |
# File 'generated/google/apis/compute_beta/service.rb', line 19610 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::ComputeBeta::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeBeta::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_security_policy_preconfigured_expression_sets(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::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 |
# File 'generated/google/apis/compute_beta/service.rb', line 19682 def list_security_policy_preconfigured_expression_sets(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/listPreconfiguredExpressionSets', ) command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse 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::ComputeBeta::SnapshotList
Retrieves the list of Snapshot resources contained within the specified project.
20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 |
# File 'generated/google/apis/compute_beta/service.rb', line 20094 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::ComputeBeta::SnapshotList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project.
20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 |
# File 'generated/google/apis/compute_beta/service.rb', line 20419 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::ComputeBeta::SslCertificateList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SslPoliciesList
Lists all the SSL policies that have been configured for the specified project.
20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 |
# File 'generated/google/apis/compute_beta/service.rb', line 20665 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::ComputeBeta::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 |
# File 'generated/google/apis/compute_beta/service.rb', line 20737 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::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::UsableSubnetworksAggregatedList
Retrieves an aggregated list of usable subnetworks.
21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 |
# File 'generated/google/apis/compute_beta/service.rb', line 21281 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::ComputeBeta::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::SubnetworkList
Retrieves a list of subnetworks available to the specified project.
21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 |
# File 'generated/google/apis/compute_beta/service.rb', line 21209 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::ComputeBeta::SubnetworkList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project.
21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 |
# File 'generated/google/apis/compute_beta/service.rb', line 21684 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::ComputeBeta::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project.
21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 |
# File 'generated/google/apis/compute_beta/service.rb', line 21980 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::ComputeBeta::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetInstanceList
Retrieves a list of TargetInstance resources available to the specified project and zone.
22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 |
# File 'generated/google/apis/compute_beta/service.rb', line 22516 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::ComputeBeta::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetPoolList
Retrieves a list of target pools available to the specified project and region.
22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 |
# File 'generated/google/apis/compute_beta/service.rb', line 22997 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::ComputeBeta::TargetPoolList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetSslProxyList
Retrieves the list of TargetSslProxy resources available to the specified project.
23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 |
# File 'generated/google/apis/compute_beta/service.rb', line 23411 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::ComputeBeta::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetTcpProxyList
Retrieves the list of TargetTcpProxy resources available to the specified project.
23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 |
# File 'generated/google/apis/compute_beta/service.rb', line 23864 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::ComputeBeta::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TargetVpnGatewayList
Retrieves a list of target VPN gateways available to the specified project and region.
24254 24255 24256 24257 24258 24259 24260 24261 24262 24263 24264 24265 24266 24267 24268 |
# File 'generated/google/apis/compute_beta/service.rb', line 24254 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::ComputeBeta::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::UrlMapList
Retrieves the list of UrlMap resources available to the specified project.
24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 |
# File 'generated/google/apis/compute_beta/service.rb', line 24609 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::ComputeBeta::UrlMapList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::VpnTunnelList
Retrieves a list of VpnTunnel resources contained in the specified project and region.
25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 |
# File 'generated/google/apis/compute_beta/service.rb', line 25080 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::ComputeBeta::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::OperationList
Retrieves a list of Operation resources contained within the specified zone.
25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 |
# File 'generated/google/apis/compute_beta/service.rb', line 25327 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::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::ZoneList
Retrieves the list of Zone resources available to the specified project.
25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 25448 25449 |
# File 'generated/google/apis/compute_beta/service.rb', line 25436 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::ComputeBeta::ZoneList::Representation command.response_class = Google::Apis::ComputeBeta::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_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Moves a persistent disk from one zone to another.
14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 |
# File 'generated/google/apis/compute_beta/service.rb', line 14768 def move_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::ComputeBeta::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Moves an instance and its attached persistent disks from one zone to another.
14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 |
# File 'generated/google/apis/compute_beta/service.rb', line 14816 def move_instance(project, move_instance_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::ComputeBeta::MoveInstanceRequest::Representation command.request_object = move_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'generated/google/apis/compute_beta/service.rb', line 1362 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 |
# File 'generated/google/apis/compute_beta/service.rb', line 1823 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::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 |
# File 'generated/google/apis/compute_beta/service.rb', line 2353 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 |
# File 'generated/google/apis/compute_beta/service.rb', line 3635 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::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::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.
5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 |
# File 'generated/google/apis/compute_beta/service.rb', line 5259 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::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 |
# File 'generated/google/apis/compute_beta/service.rb', line 5609 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::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 |
# File 'generated/google/apis/compute_beta/service.rb', line 5959 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::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 |
# File 'generated/google/apis/compute_beta/service.rb', line 7072 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 |
# File 'generated/google/apis/compute_beta/service.rb', line 11361 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::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 |
# File 'generated/google/apis/compute_beta/service.rb', line 10860 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::ComputeBeta::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 |
# File 'generated/google/apis/compute_beta/service.rb', line 12871 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::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 |
# File 'generated/google/apis/compute_beta/service.rb', line 15235 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 |
# File 'generated/google/apis/compute_beta/service.rb', line 15650 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 |
# File 'generated/google/apis/compute_beta/service.rb', line 17208 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 |
# File 'generated/google/apis/compute_beta/service.rb', line 18938 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::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Patches the specified policy with the data included in the request.
19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 |
# File 'generated/google/apis/compute_beta/service.rb', line 19733 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::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Patches a rule at the specified priority.
19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 |
# File 'generated/google/apis/compute_beta/service.rb', line 19777 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::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Patches the specified SSL policy with the data included in the request.
20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 |
# File 'generated/google/apis/compute_beta/service.rb', line 20789 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::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Patches the specified subnetwork with the data included in the request. Only certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingeprint of the subnetwork resource being patched.
21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 |
# File 'generated/google/apis/compute_beta/service.rb', line 21337 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::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 |
# File 'generated/google/apis/compute_beta/service.rb', line 24662 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::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::RoutersPreviewResponse
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 |
# File 'generated/google/apis/compute_beta/service.rb', line 18982 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::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::RoutersPreviewResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set 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.
7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 |
# File 'generated/google/apis/compute_beta/service.rb', line 7135 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::ComputeBeta::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set 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.
17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 |
# File 'generated/google/apis/compute_beta/service.rb', line 17271 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::ComputeBeta::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes resource policies from a disk.
3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 |
# File 'generated/google/apis/compute_beta/service.rb', line 3182 def remove_disk_resource_policies(project, zone, disk, disks_remove_resource_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}/disks/{disk}/removeResourcePolicies', ) command.request_representation = Google::Apis::ComputeBeta::DisksRemoveResourcePoliciesRequest::Representation command.request_object = disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#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::ComputeBeta::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.
8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 |
# File 'generated/google/apis/compute_beta/service.rb', line 8027 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::ComputeBeta::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Removes a peering from the specified network.
12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 |
# File 'generated/google/apis/compute_beta/service.rb', line 12922 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::ComputeBeta::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes resource policies from a regional disk.
16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 |
# File 'generated/google/apis/compute_beta/service.rb', line 16525 def remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_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}/removeResourcePolicies', ) command.request_representation = Google::Apis::ComputeBeta::RegionDisksRemoveResourcePoliciesRequest::Representation command.request_object = region_disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Deletes a rule at the specified priority.
19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 |
# File 'generated/google/apis/compute_beta/service.rb', line 19819 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes health check URL from a target pool.
23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 |
# File 'generated/google/apis/compute_beta/service.rb', line 23051 def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_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::ComputeBeta::RemoveTargetPoolsHealthCheckRequest::Representation command.request_object = remove_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Removes instance URL from a target pool.
23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 |
# File 'generated/google/apis/compute_beta/service.rb', line 23105 def remove_target_pool_instance(project, region, target_pool, remove_target_pools_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::ComputeBeta::RemoveTargetPoolsInstanceRequest::Representation command.request_object = remove_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Performs a reset on the instance. This is a hard reset; the VM does not do a graceful shutdown. For more information, see Resetting an instance.
9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 |
# File 'generated/google/apis/compute_beta/service.rb', line 9283 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Resizes the specified persistent disk. You can only increase the size of the disk.
3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 |
# File 'generated/google/apis/compute_beta/service.rb', line 3237 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::ComputeBeta::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including:
- The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. 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.
7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 |
# File 'generated/google/apis/compute_beta/service.rb', line 7207 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 |
# File 'generated/google/apis/compute_beta/service.rb', line 7271 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::ComputeBeta::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Resizes the specified regional persistent disk.
16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 |
# File 'generated/google/apis/compute_beta/service.rb', line 16579 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::ComputeBeta::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the intended size of 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 one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. 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.
17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 |
# File 'generated/google/apis/compute_beta/service.rb', line 17334 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Resumes an instance that was suspended using the instances().suspend method.
9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 |
# File 'generated/google/apis/compute_beta/service.rb', line 9335 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::ComputeBeta::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'generated/google/apis/compute_beta/service.rb', line 564 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'generated/google/apis/compute_beta/service.rb', line 977 def set_allocation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/allocations/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Sets the security policy for the specified backend service.
2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'generated/google/apis/compute_beta/service.rb', line 2405 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::ComputeBeta::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 |
# File 'generated/google/apis/compute_beta/service.rb', line 14865 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::ComputeBeta::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Sets the auto-delete flag for a disk attached to an instance.
9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 |
# File 'generated/google/apis/compute_beta/service.rb', line 9447 def set_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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'generated/google/apis/compute_beta/service.rb', line 3281 def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_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::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.
3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 |
# File 'generated/google/apis/compute_beta/service.rb', line 3335 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::ComputeBeta::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 |
# File 'generated/google/apis/compute_beta/service.rb', line 4069 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes target URL for forwarding rule. The new target should be of the same type as the old target.
4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 |
# File 'generated/google/apis/compute_beta/service.rb', line 4124 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::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 |
# File 'generated/google/apis/compute_beta/service.rb', line 4413 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::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 |
# File 'generated/google/apis/compute_beta/service.rb', line 4698 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::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 |
# File 'generated/google/apis/compute_beta/service.rb', line 4749 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::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 |
# File 'generated/google/apis/compute_beta/service.rb', line 6429 def set_image_iam_policy(project, resource, global_set_policy_request_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::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.
6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 |
# File 'generated/google/apis/compute_beta/service.rb', line 6469 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::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets deletion protection on the instance.
9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 |
# File 'generated/google/apis/compute_beta/service.rb', line 9390 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Modifies the autohealing policies. [Deprecated] This method is deprecated. Please use Patch instead.
7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 |
# File 'generated/google/apis/compute_beta/service.rb', line 7326 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::ComputeBeta::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 |
# File 'generated/google/apis/compute_beta/service.rb', line 7382 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::ComputeBeta::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 |
# File 'generated/google/apis/compute_beta/service.rb', line 7441 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::ComputeBeta::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the named ports for the specified instance group.
8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 |
# File 'generated/google/apis/compute_beta/service.rb', line 8081 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::ComputeBeta::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 |
# File 'generated/google/apis/compute_beta/service.rb', line 9491 def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_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::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.
9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 |
# File 'generated/google/apis/compute_beta/service.rb', line 9545 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::ComputeBeta::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 |
# File 'generated/google/apis/compute_beta/service.rb', line 9600 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::ComputeBeta::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 |
# File 'generated/google/apis/compute_beta/service.rb', line 9655 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::ComputeBeta::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets metadata for the specified instance to the data included in the request.
9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 |
# File 'generated/google/apis/compute_beta/service.rb', line 9709 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::ComputeBeta::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 |
# File 'generated/google/apis/compute_beta/service.rb', line 9765 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::ComputeBeta::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets an instance's scheduling options.
9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 |
# File 'generated/google/apis/compute_beta/service.rb', line 9819 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::ComputeBeta::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance.
9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 |
# File 'generated/google/apis/compute_beta/service.rb', line 9874 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::ComputeBeta::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets the Shielded VM integrity policy for a VM instance. You can only use this method on a running VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 |
# File 'generated/google/apis/compute_beta/service.rb', line 9930 def set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_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}/setShieldedVmIntegrityPolicy', ) command.request_representation = Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation command.request_object = shielded_vm_integrity_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets network tags for the specified instance to the data included in the request.
9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 |
# File 'generated/google/apis/compute_beta/service.rb', line 9985 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::ComputeBeta::Tags::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 |
# File 'generated/google/apis/compute_beta/service.rb', line 8412 def set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 |
# File 'generated/google/apis/compute_beta/service.rb', line 10915 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 |
# File 'generated/google/apis/compute_beta/service.rb', line 11402 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::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 |
# File 'generated/google/apis/compute_beta/service.rb', line 11762 def set_license_iam_policy(project, resource, global_set_policy_request_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::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 |
# File 'generated/google/apis/compute_beta/service.rb', line 13624 def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_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::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the node template of the node group.
13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 |
# File 'generated/google/apis/compute_beta/service.rb', line 13677 def set_node_group_node_template(project, zone, node_group, node_groups_set_node_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}/nodeGroups/{nodeGroup}/setNodeTemplate', ) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest::Representation command.request_object = node_groups_set_node_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_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_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 |
# File 'generated/google/apis/compute_beta/service.rb', line 14091 def set_node_template_iam_policy(project, region, resource, region_set_policy_request_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::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::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.
14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 |
# File 'generated/google/apis/compute_beta/service.rb', line 14915 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::ComputeBeta::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 |
# File 'generated/google/apis/compute_beta/service.rb', line 16623 def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Sets the labels on the target regional disk.
16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 |
# File 'generated/google/apis/compute_beta/service.rb', line 16676 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Please use Patch instead.
17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 |
# File 'generated/google/apis/compute_beta/service.rb', line 17388 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::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.
17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 |
# File 'generated/google/apis/compute_beta/service.rb', line 17443 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::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 |
# File 'generated/google/apis/compute_beta/service.rb', line 17498 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::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the named ports for the specified regional instance group.
17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 |
# File 'generated/google/apis/compute_beta/service.rb', line 17848 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::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.
19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 |
# File 'generated/google/apis/compute_beta/service.rb', line 19858 def set_security_policy_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/securityPolicies/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 |
# File 'generated/google/apis/compute_beta/service.rb', line 20135 def set_snapshot_iam_policy(project, resource, global_set_policy_request_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::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation.
20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 |
# File 'generated/google/apis/compute_beta/service.rb', line 20175 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::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 |
# File 'generated/google/apis/compute_beta/service.rb', line 21381 def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_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::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 |
# File 'generated/google/apis/compute_beta/service.rb', line 21435 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::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the URL map for TargetHttpProxy.
21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 |
# File 'generated/google/apis/compute_beta/service.rb', line 21735 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::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the QUIC override policy for TargetHttpsProxy.
22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 |
# File 'generated/google/apis/compute_beta/service.rb', line 22032 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::ComputeBeta::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Replaces SslCertificates for TargetHttpsProxy.
22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 |
# File 'generated/google/apis/compute_beta/service.rb', line 22083 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::ComputeBeta::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 |
# File 'generated/google/apis/compute_beta/service.rb', line 22138 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::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the URL map for TargetHttpsProxy.
22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 |
# File 'generated/google/apis/compute_beta/service.rb', line 22189 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::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes a backup target pool's configurations.
23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 |
# File 'generated/google/apis/compute_beta/service.rb', line 23161 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::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the BackendService for TargetSslProxy.
23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 |
# File 'generated/google/apis/compute_beta/service.rb', line 23462 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::ComputeBeta::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the ProxyHeaderType for TargetSslProxy.
23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 |
# File 'generated/google/apis/compute_beta/service.rb', line 23513 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::ComputeBeta::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes SslCertificates for TargetSslProxy.
23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 |
# File 'generated/google/apis/compute_beta/service.rb', line 23564 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::ComputeBeta::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 |
# File 'generated/google/apis/compute_beta/service.rb', line 23619 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::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the BackendService for TargetTcpProxy.
23915 23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 |
# File 'generated/google/apis/compute_beta/service.rb', line 23915 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::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Changes the ProxyHeaderType for TargetTcpProxy.
23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 |
# File 'generated/google/apis/compute_beta/service.rb', line 23966 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::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.
24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 |
# File 'generated/google/apis/compute_beta/service.rb', line 24309 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::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.
14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 |
# File 'generated/google/apis/compute_beta/service.rb', line 14965 def set_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::ComputeBeta::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::Operation
Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.
25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 |
# File 'generated/google/apis/compute_beta/service.rb', line 25135 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::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Simulates a maintenance event on the instance.
10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 |
# File 'generated/google/apis/compute_beta/service.rb', line 10027 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.
10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 |
# File 'generated/google/apis/compute_beta/service.rb', line 10078 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.
10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 |
# File 'generated/google/apis/compute_beta/service.rb', line 10131 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::ComputeBeta::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::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.
10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 |
# File 'generated/google/apis/compute_beta/service.rb', line 10188 def stop_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}/stop', ) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#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::ComputeBeta::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.
10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 |
# File 'generated/google/apis/compute_beta/service.rb', line 10247 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Switches the network mode from auto subnet mode to custom subnet mode.
12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 |
# File 'generated/google/apis/compute_beta/service.rb', line 12972 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::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
607 608 609 610 611 612 613 614 615 616 617 618 619 620 |
# File 'generated/google/apis/compute_beta/service.rb', line 607 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_allocation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 |
# File 'generated/google/apis/compute_beta/service.rb', line 1019 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/allocations/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 |
# File 'generated/google/apis/compute_beta/service.rb', line 1405 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 |
# File 'generated/google/apis/compute_beta/service.rb', line 2445 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 |
# File 'generated/google/apis/compute_beta/service.rb', line 3378 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'generated/google/apis/compute_beta/service.rb', line 3675 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 |
# File 'generated/google/apis/compute_beta/service.rb', line 4167 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 |
# File 'generated/google/apis/compute_beta/service.rb', line 4452 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 |
# File 'generated/google/apis/compute_beta/service.rb', line 4789 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 |
# File 'generated/google/apis/compute_beta/service.rb', line 5299 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 |
# File 'generated/google/apis/compute_beta/service.rb', line 5649 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 |
# File 'generated/google/apis/compute_beta/service.rb', line 5999 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 |
# File 'generated/google/apis/compute_beta/service.rb', line 6508 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 |
# File 'generated/google/apis/compute_beta/service.rb', line 8124 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 |
# File 'generated/google/apis/compute_beta/service.rb', line 7484 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 |
# File 'generated/google/apis/compute_beta/service.rb', line 10289 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 |
# File 'generated/google/apis/compute_beta/service.rb', line 8451 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 |
# File 'generated/google/apis/compute_beta/service.rb', line 10958 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 |
# File 'generated/google/apis/compute_beta/service.rb', line 11441 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 |
# File 'generated/google/apis/compute_beta/service.rb', line 12479 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 |
# File 'generated/google/apis/compute_beta/service.rb', line 13010 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 |
# File 'generated/google/apis/compute_beta/service.rb', line 13720 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 |
# File 'generated/google/apis/compute_beta/service.rb', line 14133 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 |
# File 'generated/google/apis/compute_beta/service.rb', line 15278 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 |
# File 'generated/google/apis/compute_beta/service.rb', line 15693 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 |
# File 'generated/google/apis/compute_beta/service.rb', line 16719 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 |
# File 'generated/google/apis/compute_beta/service.rb', line 17891 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 |
# File 'generated/google/apis/compute_beta/service.rb', line 17541 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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_resource_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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 |
# File 'generated/google/apis/compute_beta/service.rb', line 18478 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 |
# File 'generated/google/apis/compute_beta/service.rb', line 19323 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 |
# File 'generated/google/apis/compute_beta/service.rb', line 19024 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 |
# File 'generated/google/apis/compute_beta/service.rb', line 19897 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 |
# File 'generated/google/apis/compute_beta/service.rb', line 20214 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 |
# File 'generated/google/apis/compute_beta/service.rb', line 20459 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 |
# File 'generated/google/apis/compute_beta/service.rb', line 20829 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 |
# File 'generated/google/apis/compute_beta/service.rb', line 21478 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
21775 21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 |
# File 'generated/google/apis/compute_beta/service.rb', line 21775 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 |
# File 'generated/google/apis/compute_beta/service.rb', line 22229 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 |
# File 'generated/google/apis/compute_beta/service.rb', line 22559 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 |
# File 'generated/google/apis/compute_beta/service.rb', line 23205 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 |
# File 'generated/google/apis/compute_beta/service.rb', line 23659 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 |
# File 'generated/google/apis/compute_beta/service.rb', line 24352 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 |
# File 'generated/google/apis/compute_beta/service.rb', line 24702 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 25189 25190 25191 |
# File 'generated/google/apis/compute_beta/service.rb', line 25178 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::ComputeBeta::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates an autoscaler in the specified project using the data included in the request.
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 |
# File 'generated/google/apis/compute_beta/service.rb', line 1459 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates the specified BackendBucket resource with the data included in the request.
1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File 'generated/google/apis/compute_beta/service.rb', line 1875 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::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 |
# File 'generated/google/apis/compute_beta/service.rb', line 2498 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 |
# File 'generated/google/apis/compute_beta/service.rb', line 3727 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::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 |
# File 'generated/google/apis/compute_beta/service.rb', line 5350 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::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 |
# File 'generated/google/apis/compute_beta/service.rb', line 5700 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::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates a HttpsHealthCheck 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 6063 |
# File 'generated/google/apis/compute_beta/service.rb', line 6050 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::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 |
# File 'generated/google/apis/compute_beta/service.rb', line 10346 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::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 |
# File 'generated/google/apis/compute_beta/service.rb', line 10403 def update_instance_display_device(project, zone, instance, display_device_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}/updateDisplayDevice', ) command.request_representation = Google::Apis::ComputeBeta::DisplayDevice::Representation command.request_object = display_device_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_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::ComputeBeta::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.
7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 |
# File 'generated/google/apis/compute_beta/service.rb', line 7541 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates an instance's network interface. This method follows PATCH semantics.
10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 |
# File 'generated/google/apis/compute_beta/service.rb', line 10459 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::ComputeBeta::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates the Shielded VM config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 |
# File 'generated/google/apis/compute_beta/service.rb', line 10516 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::ComputeBeta::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the specified network peering with the data included in the request Only the following fields can be modified: NetworkPeering.export_custom_routes, and NetworkPeering.import_custom_routes
13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 |
# File 'generated/google/apis/compute_beta/service.rb', line 13062 def update_network_peering(project, network, networks_update_peering_request_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}/updatePeering', ) command.request_representation = Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest::Representation command.request_object = networks_update_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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 |
#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::ComputeBeta::Operation
Updates an autoscaler in the specified project using the data included in the request.
15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 |
# File 'generated/google/apis/compute_beta/service.rb', line 15332 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::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 |
# File 'generated/google/apis/compute_beta/service.rb', line 15749 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::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::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.
17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 |
# File 'generated/google/apis/compute_beta/service.rb', line 17598 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::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::Operation
Updates the specified Router resource with the data included in the request.
19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 |
# File 'generated/google/apis/compute_beta/service.rb', line 19077 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::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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::ComputeBeta::Operation
Updates the specified UrlMap resource with the data included in the request.
24752 24753 24754 24755 24756 24757 24758 24759 24760 24761 24762 24763 24764 24765 |
# File 'generated/google/apis/compute_beta/service.rb', line 24752 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::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::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, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeBeta::ValidateUrlMapsResponse
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.
24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 |
# File 'generated/google/apis/compute_beta/service.rb', line 24793 def validate_url_map(project, url_map, validate_url_maps_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::ComputeBeta::ValidateUrlMapsRequest::Representation command.request_object = validate_url_maps_request_object command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation command.response_class = Google::Apis::ComputeBeta::ValidateUrlMapsResponse 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 |