Class: Google::Apis::ComputeAlpha::ComputeService
- Inherits:
-
Google::Apis::Core::BaseService
- Object
- Google::Apis::Core::BaseService
- Google::Apis::ComputeAlpha::ComputeService
- Defined in:
- lib/google/apis/compute_alpha/service.rb
Overview
Compute Engine API
Creates and runs virtual machines on Google Cloud Platform.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
Legacy name for parameter that has been superseded by
quotaUser
.
Instance Method Summary collapse
-
#abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
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::ComputeAlpha::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::ComputeAlpha::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::ComputeAlpha::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::ComputeAlpha::Operation
Adds existing resource policies to a disk.
-
#add_firewall_policy_association(firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified firewall policy.
-
#add_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a firewall policy.
-
#add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an access config to an instance's network interface.
-
#add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a list of instances to the specified instance group.
-
#add_instance_resource_policies(project, zone, instance, instances_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds existing resource policies to an instance.
-
#add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified firewall policy.
-
#add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a firewall policy.
-
#add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a peering to the specified network.
-
#add_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::ComputeAlpha::Operation
Adds specified number of nodes to the node group.
-
#add_organization_security_policy_association(security_policy, security_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified security policy.
-
#add_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
-
#add_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::ComputeAlpha::Operation
Adds existing resource policies to a regional disk.
-
#add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified network firewall policy.
-
#add_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a network firewall policy.
-
#add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
-
#add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds health check URLs to a target pool.
-
#add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an instance to a target pool.
-
#aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
-
#aggregated_address_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressAggregatedList
Retrieves an aggregated list of addresses.
-
#aggregated_autoscaler_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
-
#aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
-
#aggregated_disk_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
-
#aggregated_disk_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
-
#aggregated_forwarding_rule_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
-
#aggregated_future_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse
Retrieves an aggregated list of future reservations.
-
#aggregated_global_operation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationAggregatedList
Retrieves an aggregated list of all operations.
-
#aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthChecksAggregatedList
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
-
#aggregated_instance_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
-
#aggregated_instance_group_manager_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
-
#aggregated_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceAggregatedList
Retrieves an aggregated list of all of the instances in your project across all regions and zones.
-
#aggregated_instant_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList
Retrieves an aggregated list of instantSnapshots.
-
#aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
-
#aggregated_machine_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
-
#aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
-
#aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
-
#aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroupAggregatedList
Retrieves an aggregated list of node groups.
-
#aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTemplateAggregatedList
Retrieves an aggregated list of node templates.
-
#aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTypeAggregatedList
Retrieves an aggregated list of node types.
-
#aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroringAggregatedList
Retrieves an aggregated list of packetMirrorings.
-
#aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList
Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
-
#aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentAggregatedList
Retrieves an aggregated list of commitments by region.
-
#aggregated_region_health_check_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList
Retrieves the list of all HealthCheckService resources, regional and global, available to the specified project.
-
#aggregated_region_notification_endpoint_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList
Retrieves the list of all NotificationEndpoint resources, regional and global, available to the specified project.
-
#aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ReservationAggregatedList
Retrieves an aggregated list of reservations.
-
#aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList
Retrieves an aggregated list of resource policies.
-
#aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterAggregatedList
Retrieves an aggregated list of routers.
-
#aggregated_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.
-
#aggregated_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
-
#aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateAggregatedList
Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
-
#aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesAggregatedList
Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.
-
#aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
-
#aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList
Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.
-
#aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
-
#aggregated_target_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
-
#aggregated_target_pool_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
-
#aggregated_target_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
-
#aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsAggregatedList
Retrieves the list of all UrlMap resources, regional and global, available to the specified project.
-
#aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewayAggregatedList
Retrieves an aggregated list of VPN gateways.
-
#aggregated_vpn_tunnel_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
-
#apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Applies changes to selected instances on the managed instance group.
-
#apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply updates to selected instances the managed instance group.
-
#attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a network endpoint to the specified network endpoint group.
-
#attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attaches an existing Disk resource to an instance.
-
#attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a list of network endpoints to the specified network endpoint group.
-
#bulk_instance_insert(project, zone, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates multiple instances.
-
#bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates multiple instances in a given region.
-
#cancel_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Cancel the specified future reservation.
-
#clone_firewall_policy_rules(firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified firewall policy.
-
#clone_network_firewall_policy_rules(project, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified firewall policy.
-
#clone_region_network_firewall_policy_rules(project, region, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified network firewall policy.
-
#copy_organization_security_policy_rules(security_policy, request_id: nil, source_security_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified security policy.
-
#create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk.
-
#create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates instances with per-instance configs in this managed instance group.
-
#create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk.
-
#create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates instances with per-instance configs in this regional managed instance group.
-
#delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
-
#delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
-
#delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendBucket resource.
-
#delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes 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::ComputeAlpha::Operation
Deletes the specified BackendService resource.
-
#delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes 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::ComputeAlpha::Operation
Deletes the specified persistent disk.
-
#delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified externalVpnGateway.
-
#delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified firewall.
-
#delete_firewall_policy(firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ForwardingRule resource.
-
#delete_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified future reservation.
-
#delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
-
#delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified GlobalForwardingRule resource.
-
#delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
-
#delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified Operations resource.
-
#delete_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified Operations resource.
-
#delete_global_public_delegated_prefix(project, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified global PublicDelegatedPrefix.
-
#delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
-
#delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpHealthCheck resource.
-
#delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpsHealthCheck resource.
-
#delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified image.
-
#delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Instance resource.
-
#delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes an access config from an instance's network interface.
-
#delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance group.
-
#delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
-
#delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group for immediate deletion.
-
#delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes selected per-instance configs for the managed instance group.
-
#delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance template.
-
#delete_instant_snapshot(project, zone, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified InstantSnapshot resource.
-
#delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect.
-
#delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect attachment.
-
#delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified license.
-
#delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified machine image.
-
#delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
-
#delete_network_edge_security_service(project, region, network_edge_security_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified service.
-
#delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group.
-
#delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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::ComputeAlpha::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::ComputeAlpha::Operation
Deletes the specified NodeTemplate resource.
-
#delete_organization_security_policy(security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PacketMirroring resource.
-
#delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PublicAdvertisedPrefix.
-
#delete_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PublicDelegatedPrefix in the given region.
-
#delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
-
#delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional BackendService resource.
-
#delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional persistent disk.
-
#delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
-
#delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional HealthCheckService.
-
#delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
-
#delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately deleted.
-
#delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes selected per-instance configs for the managed instance group.
-
#delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified InstantSnapshot resource.
-
#delete_region_network(project, region, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
-
#delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group.
-
#delete_region_network_firewall_policy(project, region, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network firewall policy.
-
#delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified NotificationEndpoint in the given region.
-
#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_region_security_policy(project, region, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource in the region.
-
#delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy.
-
#delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
-
#delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
-
#delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
-
#delete_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified reservation.
-
#delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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::ComputeAlpha::Operation
Deletes the specified Route resource.
-
#delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Router resource.
-
#delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
-
#delete_service_attachment(project, region, service_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ServiceAttachment in the given scope.
-
#delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Snapshot resource.
-
#delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource.
-
#delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy.
-
#delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified subnetwork.
-
#delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetGrpcProxy in the given scope.
-
#delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
-
#delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
-
#delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetInstance resource.
-
#delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target pool.
-
#delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetSslProxy resource.
-
#delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetTcpProxy resource.
-
#delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target VPN gateway.
-
#delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
-
#delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VPN gateway.
-
#delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VpnTunnel resource.
-
#delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified zone-specific Operations resource.
-
#deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the deprecation status of an image.
-
#detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach the network endpoint from the specified network endpoint group.
-
#detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detaches a disk from an instance.
-
#detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach a list of network endpoints from the specified network endpoint group.
-
#disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable this project as a shared VPC host project.
-
#disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable a service resource (also known as service project) associated with this host project.
-
#enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable this project as a shared VPC host project.
-
#enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
-
#expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Expands the IP CIDR range of the subnetwork to a specified value.
-
#export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
-
#export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
-
#get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorType
Returns the specified accelerator type.
-
#get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
-
#get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler resource.
-
#get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucket
Returns the specified BackendBucket resource.
-
#get_backend_bucket_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified BackendService resource.
-
#get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this BackendService.
-
#get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified persistent disk.
-
#get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified disk type.
-
#get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExternalVpnGateway
Returns the specified externalVpnGateway.
-
#get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Firewall
Returns the specified firewall.
-
#get_firewall_policy(firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified firewall policy.
-
#get_firewall_policy_association(firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
-
#get_firewall_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_firewall_policy_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
-
#get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified ForwardingRule resource.
-
#get_future_reservation(project, zone, future_reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservation
Retrieves information about the specified future reservation.
-
#get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
-
#get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GetOwnerInstanceResponse
Find owner instance from given ip address.
-
#get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified GlobalForwardingRule resource.
-
#get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group.
-
#get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource.
-
#get_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource.
-
#get_global_public_delegated_prefix(project, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefix
Returns the specified global PublicDelegatedPrefix resource.
-
#get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource.
-
#get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheck
Returns the specified HttpHealthCheck resource.
-
#get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource.
-
#get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the specified image.
-
#get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageFamilyView
Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.
-
#get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the latest image that is part of an image family and is not deprecated.
-
#get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Instance
Returns the specified Instance resource.
-
#get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse
Returns effective firewalls applied to an interface of the instance.
-
#get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified zonal instance group.
-
#get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
-
#get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GuestAttributes
Returns the specified guest attributes entry.
-
#get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Screenshot
Returns the screenshot from the specified instance.
-
#get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SerialPortOutput
Returns the last 1 MB of serial port output from the specified instance.
-
#get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ShieldedInstanceIdentity
Returns the Shielded Instance Identity of an instance.
-
#get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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::ComputeAlpha::InstanceTemplate
Returns the specified instance template.
-
#get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_instant_snapshot(project, zone, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshot
Returns the specified InstantSnapshot resource in the specified zone.
-
#get_instant_snapshot_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Interconnect
Returns the specified interconnect.
-
#get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachment
Returns the specified interconnect attachment.
-
#get_interconnect_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectsGetDiagnosticsResponse
Returns the interconnectDiagnostics for the specified interconnect.
-
#get_interconnect_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocation
Returns the details for the specified interconnect location.
-
#get_interconnect_macsec_config(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectsGetMacsecConfigResponse
Returns the interconnectMacsecConfig for the specified interconnect.
-
#get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::License
Returns the specified License resource.
-
#get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicenseCode
Return a specified license code.
-
#get_license_code_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineImage
Returns the specified machine image.
-
#get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineType
Returns the specified machine type.
-
#get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network.
-
#get_network_edge_security_service(project, region, network_edge_security_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEdgeSecurityService
Gets a specified NetworkEdgeSecurityService.
-
#get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
Returns the effective firewalls on a given network.
-
#get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group.
-
#get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified network firewall policy.
-
#get_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
-
#get_network_firewall_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
-
#get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroup
Returns the specified NodeGroup.
-
#get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTemplate
Returns the specified node template.
-
#get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeType
Returns the specified node type.
-
#get_organization_security_policy(security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
-
#get_organization_security_policy_association(security_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAssociation
Gets an association with the specified name.
-
#get_organization_security_policy_rule(security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
-
#get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroring
Returns the specified PacketMirroring resource.
-
#get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Returns the specified Project resource.
-
#get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ProjectsGetXpnResources
Gets service resources (a.k.a service project) associated with this host project.
-
#get_public_advertised_prefix(project, public_advertised_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicAdvertisedPrefix
Returns the specified PublicAdvertisedPrefix resource.
-
#get_public_delegated_prefix(project, region, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefix
Returns the specified PublicDelegatedPrefix resource in the given region.
-
#get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Region
Returns the specified Region resource.
-
#get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler.
-
#get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified regional BackendService resource.
-
#get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
-
#get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Commitment
Returns the specified commitment resource.
-
#get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified regional persistent disk.
-
#get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified regional disk type.
-
#get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource.
-
#get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckService
Returns the specified regional HealthCheckService resource.
-
#get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group resource.
-
#get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
-
#get_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshot
Returns the specified InstantSnapshot resource in the specified region.
-
#get_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_region_network(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network.
-
#get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group.
-
#get_region_network_firewall_policy(project, region, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified network firewall policy.
-
#get_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
-
#get_region_network_firewall_policy_effective_firewalls(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
Returns the effective firewalls on a given network.
-
#get_region_network_firewall_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
-
#get_region_network_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpoint
Returns the specified NotificationEndpoint resource in the given region.
-
#get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified region-specific Operations resource.
-
#get_region_security_policy(project, region, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
-
#get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource in the specified region.
-
#get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
Lists all of the ordered rules present in a single specified policy.
-
#get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource in the specified region.
-
#get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource in the specified region.
-
#get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource.
-
#get_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Reservation
Retrieves information about the specified reservation.
-
#get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ResourcePolicy
Retrieves all information of the specified resource policy.
-
#get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Route
Returns the specified Route resource.
-
#get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Router
Returns the specified Router resource.
-
#get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VmEndpointNatMappingsList
Retrieves runtime Nat mapping information of VM endpoints.
-
#get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterStatusResponse
Retrieves runtime information of the specified router.
-
#get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
-
#get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
-
#get_service_attachment(project, region, service_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachment
Returns the specified ServiceAttachment resource in the given scope.
-
#get_service_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Snapshot
Returns the specified Snapshot resource.
-
#get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource.
-
#get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
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::ComputeAlpha::Subnetwork
Returns the specified subnetwork.
-
#get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource.
-
#get_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetGrpcProxy
Returns the specified TargetGrpcProxy resource in the given scope.
-
#get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource.
-
#get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource.
-
#get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstance
Returns the specified TargetInstance resource.
-
#get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPool
Returns the specified target pool.
-
#get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
-
#get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxy
Returns the specified TargetSslProxy resource.
-
#get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxy
Returns the specified TargetTcpProxy resource.
-
#get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGateway
Returns the specified target VPN gateway.
-
#get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource.
-
#get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGateway
Returns the specified VPN gateway.
-
#get_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse
Returns the status for the specified VPN gateway.
-
#get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnel
Returns the specified VpnTunnel resource.
-
#get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Zone
Returns the specified Zone resource.
-
#get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified zone-specific Operations resource.
-
#initialize ⇒ ComputeService
constructor
A new instance of ComputeService.
-
#insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project by using the data included in the request.
-
#insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
-
#insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
-
#insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendService resource in the specified project using the data included in the request.
-
#insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent disk in the specified project using the data in the request.
-
#insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ExternalVpnGateway in the specified project using the data included in the request.
-
#insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a firewall rule in the specified project using the data included in the request.
-
#insert_firewall_policy(firewall_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
-
#insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
-
#insert_future_reservation(project, zone, future_reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new Future Reservation.
-
#insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project by using the data included in the request.
-
#insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
-
#insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
-
#insert_global_public_delegated_prefix(project, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
-
#insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
-
#insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an image in the specified project using the data included in the request.
-
#insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance resource in the specified project using the data included in the request.
-
#insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance group in the specified project using the parameters that are included in the request.
-
#insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request.
-
#insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance template in the specified project using the data that is included in the request.
-
#insert_instant_snapshot(project, zone, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instant snapshot in the specified zone.
-
#insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Interconnect in the specified project using the data included in the request.
-
#insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
-
#insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a License resource in the specified project.
-
#insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a machine image in the specified project using the data that is included in the request.
-
#insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project using the data included in the request.
-
#insert_network_edge_security_service(project, region, network_edge_security_service_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new service in the specified project using the data included in the request.
-
#insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
-
#insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data 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::ComputeAlpha::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::ComputeAlpha::Operation
Creates a NodeTemplate resource in the specified project using the data included in the request.
-
#insert_organization_security_policy(security_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
-
#insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
-
#insert_public_advertised_prefix(project, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
-
#insert_public_delegated_prefix(project, region, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
-
#insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
-
#insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional BackendService resource in the specified project using the data included in the request.
-
#insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a commitment in the specified project using the data included in the request.
-
#insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent regional disk in the specified project using the data included in the request.
-
#insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
-
#insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
-
#insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request.
-
#insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instant snapshot in the specified region.
-
#insert_region_network(project, region, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project and region using the data included in the request.
-
#insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
-
#insert_region_network_firewall_policy(project, region, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new network firewall policy in the specified project and region.
-
#insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
-
#insert_region_security_policy(project, region, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
-
#insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project and region using the data included in the request.
-
#insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project and region using the data included in the request.
-
#insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.
-
#insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.
-
#insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
-
#insert_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new reservation.
-
#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::ComputeAlpha::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::ComputeAlpha::Operation
Creates a Route resource in the specified project using the data included in the request.
-
#insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Router resource in the specified project and region using the data included in the request.
-
#insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
-
#insert_service_attachment(project, region, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
-
#insert_snapshot(project, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot in the specified project using the data included in the request.
-
#insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
-
#insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Returns the specified SSL policy resource.
-
#insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a subnetwork in the specified project using the data included in the request.
-
#insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.
-
#insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
-
#insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
-
#insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
-
#insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target pool in the specified project and region using the data included in the request.
-
#insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
-
#insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
-
#insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
-
#insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
-
#insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VPN gateway in the specified project and region using the data included in the request.
-
#insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
-
#invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
-
#invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
-
#list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeList
Retrieves a list of accelerator types that are available to the specified project.
-
#list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of addresses contained within the specified region.
-
#list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerList
Retrieves a list of autoscalers contained within the specified zone.
-
#list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucketList
Retrieves the list of BackendBucket resources available to the specified project.
-
#list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of BackendService resources available to the specified project.
-
#list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeList
Retrieves a list of disk types available to the specified project.
-
#list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves a list of persistent disks contained within the specified zone.
-
#list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExternalVpnGatewayList
Retrieves the list of ExternalVpnGateway available to the specified project.
-
#list_firewall_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the policies that have been configured for the specified folder or organization.
-
#list_firewall_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse
Lists associations of a specified target, i.e., organization or folder.
-
#list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallList
Retrieves the list of firewall rules available to the specified project.
-
#list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of ForwardingRule resources available to the specified project and region.
-
#list_future_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservationsListResponse
A list of all the future reservations that have been configured for the specified project in specified zone.
-
#list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of global addresses.
-
#list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of GlobalForwardingRule resources available to the specified project.
-
#list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
Lists the network endpoints in the specified network endpoint group.
-
#list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project.
-
#list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified project.
-
#list_global_organization_operations(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified organization.
-
#list_global_public_delegated_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixList
Lists the global PublicDelegatedPrefixes for a project.
-
#list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
-
#list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheckList
Retrieves the list of HttpHealthCheck resources available to the specified project.
-
#list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheckList
Retrieves the list of HttpsHealthCheck resources available to the specified project.
-
#list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageList
Retrieves the list of custom images available to the specified project.
-
#list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupsListInstances
Lists the instances in the specified instance group.
-
#list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse
Lists all errors thrown by actions on instances for a given managed instance group.
-
#list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
Lists all of the instances in the managed instance group.
-
#list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
-
#list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerList
Retrieves a list of managed instance groups that are contained within the specified project and zone.
-
#list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupList
Retrieves the list of zonal instance group resources contained within the specified zone.
-
#list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceListReferrers
Retrieves a list of resources that refer to the VM instance specified in the request.
-
#list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project.
-
#list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceList
Retrieves the list of instances contained within the specified zone.
-
#list_instant_snapshots(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotList
Retrieves the list of InstantSnapshot resources contained within the specified zone.
-
#list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentList
Retrieves the list of interconnect attachments contained within the specified region.
-
#list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocationList
Retrieves the list of interconnect locations available to the specified project.
-
#list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectList
Retrieves the list of interconnect available to the specified project.
-
#list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicensesListResponse
Retrieves the list of licenses available in the specified project.
-
#list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineImageList
Retrieves a list of machine images that are contained within the specified project.
-
#list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeList
Retrieves a list of machine types available to the specified project.
-
#list_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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
-
#list_network_firewall_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the policies that have been configured for the specified project.
-
#list_network_ip_addresses(project, network, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpAddressesList
Lists the internal IP addresses in the specified network.
-
#list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, return_partial_success: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpOwnerList
Lists the internal IP owners in the specified network.
-
#list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExchangedPeeringRoutesList
Lists the peering routes exchanged over peering connection.
-
#list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project.
-
#list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroupsListNodes
Lists nodes in the node group.
-
#list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTypeList
Retrieves a list of node types available to the specified project.
-
#list_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
-
#list_organization_security_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OrganizationSecurityPoliciesListAssociationsResponse
Lists associations of a specified target, i.e., organization or folder.
-
#list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroringList
Retrieves a list of PacketMirroring resources available to the specified project and region.
-
#list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::XpnHostList
Lists all shared VPC host projects visible to the user in an organization.
-
#list_public_advertised_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList
Lists the PublicAdvertisedPrefixes for a project.
-
#list_public_delegated_prefixes(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixList
Lists the PublicDelegatedPrefixes for a project in the given region.
-
#list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionAutoscalerList
Retrieves a list of autoscalers contained within the specified region.
-
#list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of regional BackendService resources available to the specified project in the given region.
-
#list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentList
Retrieves a list of commitments contained within the specified region.
-
#list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionDiskTypeList
Retrieves a list of regional disk types available to the specified project.
-
#list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves the list of persistent disks contained within the specified region.
-
#list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckServicesList
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
-
#list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
-
#list_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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
Lists the instances in the specified instance group and displays information about the named ports.
-
#list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse
Lists all errors thrown by actions on instances for a given regional managed instance group.
-
#list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
Lists the instances in the managed instance group and instances that are scheduled to be created.
-
#list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group.
-
#list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
Retrieves the list of managed instance groups that are contained within the specified region.
-
#list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupList
Retrieves the list of instance group resources contained within the specified region.
-
#list_region_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotList
Retrieves the list of InstantSnapshot resources contained within the specified region.
-
#list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
-
#list_region_network_firewall_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the network firewall policies that have been configured for the specified project in the given region.
-
#list_region_networks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project in the given region.
-
#list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpointList
Lists the NotificationEndpoints for a project in the given region.
-
#list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified region.
-
#list_region_security_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project and region.
-
#list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project in the specified region.
-
#list_region_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesList
Lists all the SSL policies that have been configured for the specified project and region.
-
#list_region_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
-
#list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.
-
#list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.
-
#list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project in the specified region.
-
#list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionList
Retrieves the list of region resources available to the specified project.
-
#list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ReservationList
A list of all the reservations that have been configured for the specified project in specified zone.
-
#list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterList
Retrieves a list of Router resources available to the specified project.
-
#list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouteList
Retrieves the list of Route resources available to the specified project.
-
#list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
-
#list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
-
#list_service_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachmentList
Lists the ServiceAttachments for a project in the given scope.
-
#list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SnapshotList
Retrieves the list of Snapshot resources contained within the specified project.
-
#list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project.
-
#list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
-
#list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList
Retrieves an aggregated list of all usable subnetworks in the project.
-
#list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkList
Retrieves a list of subnetworks available to the specified project.
-
#list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetGrpcProxyList
Lists the TargetGrpcProxies for a project in the given scope.
-
#list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project.
-
#list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project.
-
#list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceList
Retrieves a list of TargetInstance resources available to the specified project and zone.
-
#list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolList
Retrieves a list of target pools available to the specified project and region.
-
#list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxyList
Retrieves the list of TargetSslProxy resources available to the specified project.
-
#list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxyList
Retrieves the list of TargetTcpProxy resources available to the specified project.
-
#list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayList
Retrieves a list of target VPN gateways available to the specified project and region.
-
#list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project.
-
#list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewayList
Retrieves a list of VPN gateways available to the specified project and region.
-
#list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelList
Retrieves a list of VpnTunnel resources contained in the specified project and region.
-
#list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified zone.
-
#list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ZoneList
Retrieves the list of Zone resources available to the specified project.
-
#move_firewall_policy(firewall_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves the specified firewall policy.
-
#move_organization_security_policy(security_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves the specified security policy.
-
#move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves a persistent disk from one zone to another.
-
#move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves an instance and its attached persistent disks from one zone to another.
-
#patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
-
#patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified BackendService resource with the data included in the request.
-
#patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request.
-
#patch_firewall_policy(firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
-
#patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request.
-
#patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request.
-
#patch_global_public_delegated_prefix(project, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified global PublicDelegatedPrefix resource with the data included in the request.
-
#patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified image with the data included in the request.
-
#patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or patches per-instance configs for the managed instance group.
-
#patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect with the data included in the request.
-
#patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect attachment with the data included in the request.
-
#patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network with the data included in the request.
-
#patch_network_edge_security_service(project, region, network_edge_security_service, network_edge_security_service_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_network_firewall_policy(project, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
-
#patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified node group.
-
#patch_organization_security_policy(security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
-
#patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified PacketMirroring resource with the data included in the request.
-
#patch_public_advertised_prefix(project, public_advertised_prefix, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request.
-
#patch_public_delegated_prefix(project, region, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified PublicDelegatedPrefix resource with the data included in the request.
-
#patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request.
-
#patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional HealthCheckService resource with the data included in the request.
-
#patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or patches per-instance configs for the managed instance group.
-
#patch_region_network_firewall_policy(project, region, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network firewall policy.
-
#patch_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
-
#patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
-
#patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified regional TargetHttpsProxy resource with the data included in the request.
-
#patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request.
-
#patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request.
-
#patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
-
#patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
-
#patch_service_attachment(project, region, service_attachment, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified ServiceAttachment resource with the data included in the request.
-
#patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
-
#patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified subnetwork with the data included in the request.
-
#patch_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetGrpcProxy resource with the data included in the request.
-
#patch_target_http_proxy(project, target_http_proxy, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetHttpProxy resource with the data included in the request.
-
#patch_target_https_proxy(project, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetHttpsProxy resource with the data included in the request.
-
#patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request.
-
#perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Perform a manual maintenance on the instance.
-
#preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RoutersPreviewResponse
Preview fields auto-generated during router create and update operations.
-
#recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified VM 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::ComputeAlpha::Operation
Flags the specified VM 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::ComputeAlpha::Operation
Removes resource policies from a disk.
-
#remove_firewall_policy_association(firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified firewall policy.
-
#remove_firewall_policy_rule(firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
-
#remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes one or more instances from the specified instance group, but does not delete those instances.
-
#remove_instance_resource_policies(project, zone, instance, instances_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes resource policies from an instance.
-
#remove_network_firewall_policy_association(project, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified firewall policy.
-
#remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
-
#remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes a peering from the specified network.
-
#remove_organization_security_policy_association(security_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified security policy.
-
#remove_organization_security_policy_rule(security_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
-
#remove_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::ComputeAlpha::Operation
Removes resource policies from a regional disk.
-
#remove_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified network firewall policy.
-
#remove_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
-
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
-
#remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes health check URL from a target pool.
-
#remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes instance URL from a target pool.
-
#reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Performs a reset on the instance.
-
#resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified persistent disk.
-
#resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group.
-
#resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group with advanced configuration options like disabling creation retries.
-
#resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified regional persistent disk.
-
#resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the intended size of the managed instance group.
-
#resize_region_instance_group_manager_advanced(project, region, instance_group_manager, region_instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the regional managed instance group with advanced configuration options like disabling creation retries.
-
#resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the reservation (applicable to standalone reservations only).
-
#resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resumes an instance that was suspended using the instances().suspend method.
-
#resume_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be resumed.
-
#resume_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be resumed.
-
#send_instance_diagnostic_interrupt(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Sends diagnostic interrupt to the instance.
-
#set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Address.
-
#set_backend_bucket_edge_security_policy(project, backend_bucket, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the edge security policy for the specified backend bucket.
-
#set_backend_bucket_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_backend_service_edge_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the edge security policy for the specified backend service.
-
#set_backend_service_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the Google Cloud Armor security policy for the specified backend service.
-
#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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a disk.
-
#set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an ExternalVpnGateway.
-
#set_firewall_policy_iam_policy(resource, global_organization_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource.
-
#set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for forwarding rule.
-
#set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a GlobalAddress.
-
#set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource.
-
#set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for the GlobalForwardingRule resource.
-
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an image.
-
#set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets deletion protection on the instance.
-
#set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the auto-delete flag for a disk attached to an instance.
-
#set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Motifies the autohealing policy for the instances in this managed instance group.
-
#set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Specifies the instance template to use when creating new instances in this group.
-
#set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all instances in this managed instance group are assigned.
-
#set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified instance group.
-
#set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets labels on an instance.
-
#set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
-
#set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
-
#set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata for the specified instance to the data included in the request.
-
#set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the minimum CPU platform that this instance should use.
-
#set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets name of an instance.
-
#set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets an instance's scheduling options.
-
#set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the service account on the instance.
-
#set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the Shielded Instance integrity policy for an 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::ComputeAlpha::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::ComputeAlpha::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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_instant_snapshot_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_instant_snapshot_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a instantSnapshot in the given zone.
-
#set_interconnect_attachment_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an InterconnectAttachment.
-
#set_interconnect_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Interconnect.
-
#set_license_code_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_machine_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_network_firewall_policy_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_node_group_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::ComputeAlpha::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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_project_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
-
#set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default network tier of the project.
-
#set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default service account of the project.
-
#set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enables the usage export feature and sets the usage export bucket where reports are stored.
-
#set_region_backend_service_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#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::ComputeAlpha::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::ComputeAlpha::Operation
Sets the labels on the target regional disk.
-
#set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policy for the instances in this managed instance group.
-
#set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the instance template to use when creating new instances or recreating instances in this group.
-
#set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all new instances in this group are assigned.
-
#set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified regional instance group.
-
#set_region_instant_snapshot_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_region_instant_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a instantSnapshot in the given region.
-
#set_region_network_firewall_policy_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_region_network_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
-
#set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
-
#set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
-
#set_reservation_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_resource_policy_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#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::ComputeAlpha::Operation
Sets the labels on a security policy.
-
#set_service_attachment_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#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::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a snapshot.
-
#set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource.
-
#set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
-
#set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
-
#set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the Certificate Map for TargetHttpsProxy.
-
#set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the QUIC override policy for TargetHttpsProxy.
-
#set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
-
#set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetHttpsProxy.
-
#set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
-
#set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes a backup target pool's configurations.
-
#set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetSslProxy.
-
#set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the Certificate Map for TargetSslProxy.
-
#set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetSslProxy.
-
#set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes SslCertificates for TargetSslProxy.
-
#set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetSslProxy.
-
#set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetTcpProxy.
-
#set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetTcpProxy.
-
#set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a TargetVpnGateway.
-
#set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnGateway.
-
#set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnTunnel.
-
#simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Simulates a host maintenance event on a VM.
-
#start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts asynchronous replication.
-
#start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the instances().stop method.
-
#start_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be started.
-
#start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the instances().stop method.
-
#start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts asynchronous replication.
-
#start_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be started.
-
#stop_disk_async_replication(project, zone, disk, disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication.
-
#stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication for a consistency group of disks.
-
#stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
-
#stop_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately stopped.
-
#stop_region_disk_async_replication(project, region, disk, region_disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication.
-
#stop_region_disk_group_async_replication(project, region, region_disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication for a consistency group of disks.
-
#stop_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately stopped.
-
#suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time.
-
#suspend_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately suspended.
-
#suspend_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately suspended.
-
#switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Switches the network mode from auto subnet mode to custom subnet mode.
-
#test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_firewall_policy_iam_permissions(resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instant_snapshot_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_interconnect_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_network_firewall_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_commitment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_health_check_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_health_check_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_instant_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_network_firewall_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_network_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_notification_endpoint_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource and region.
-
#test_region_ssl_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_region_url_map_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_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::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_service_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_grpc_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
-
#update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendService resource with the data included in the request.
-
#update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified disk with the data included in the request.
-
#update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request.
-
#update_future_reservation(project, zone, future_reservation, future_reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified future reservation.
-
#update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
-
#update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
-
#update_instance(project, zone, instance, instance_object = nil, clear_secure_tag: nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance only if the necessary resources are available.
-
#update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified access config from an instance's network interface with the data included in the request.
-
#update_instance_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::ComputeAlpha::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::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or updates per-instance configs for the managed instance group.
-
#update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance's network interface.
-
#update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded Instance config for an instance.
-
#update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded VM config for 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::ComputeAlpha::Operation
Updates the specified network peering with the data included in the request.
-
#update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
-
#update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request.
-
#update_region_commitment(project, region, commitment, commitment_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified commitment with the data included in the request.
-
#update_region_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Transfers GPUs or local SSDs between reservations within commitments.
-
#update_region_disk(project, region, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Update the specified disk with the data included in the request.
-
#update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
-
#update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request.
-
#update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or updates per-instance configs for the managed instance group.
-
#update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
-
#update_reservation(project, zone, reservation, reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Update share settings of the reservation.
-
#update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified Router resource with the data included in the request.
-
#update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
-
#validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap.
-
#validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap.
-
#wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as
DONE
or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. -
#wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as
DONE
or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. -
#wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as
DONE
or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource.
Constructor Details
#initialize ⇒ ComputeService
Returns a new instance of ComputeService.
49 50 51 52 53 54 |
# File 'lib/google/apis/compute_alpha/service.rb', line 49 def initialize super('https://compute.googleapis.com/', 'compute/alpha/', client_name: 'google-apis-compute_alpha', client_version: Google::Apis::ComputeAlpha::GEM_VERSION) @batch_path = 'batch/compute/alpha' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43 def quota_user @quota_user end |
#user_ip ⇒ String
Returns Legacy name for parameter that has been superseded by quotaUser
.
47 48 49 |
# File 'lib/google/apis/compute_alpha/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::ComputeAlpha::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.
9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9522 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
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.
26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 26951 26952 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26938 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a key for validating requests with signed URLs for this backend bucket.
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1155 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, 'projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', ) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a key for validating requests with signed URLs for this backend service.
1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1740 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, 'projects/{project}/global/backendServices/{backendService}/addSignedUrlKey', ) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_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::ComputeAlpha::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.
2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2712 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, 'projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::DisksAddResourcePoliciesRequest::Representation command.request_object = disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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_firewall_policy_association(firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified firewall policy.
3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3936 def add_firewall_policy_association(firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addAssociation', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.request_object = firewall_policy_association_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a firewall policy.
3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3984 def add_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_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 |
#add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an access config to an instance's network interface.
12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12206 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, 'projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig', ) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.
11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11268 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, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_instance_resource_policies(project, zone, instance, instances_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations.
12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12262 def add_instance_resource_policies(project, zone, instance, instances_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, 'projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesAddResourcePoliciesRequest::Representation command.request_object = instances_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified firewall policy.
18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18526 def add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.request_object = firewall_policy_association_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a firewall policy.
18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18583 def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['maxPriority'] = max_priority unless max_priority.nil? command.query['minPriority'] = min_priority unless min_priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds a peering to the specified network.
19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19293 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, 'projects/{project}/global/networks/{network}/addPeering', ) command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_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::ComputeAlpha::Operation
Adds specified number of nodes to the node group.
20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20098 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, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', ) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest::Representation command.request_object = node_groups_add_nodes_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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_organization_security_policy_association(security_policy, security_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified security policy.
21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21472 def add_organization_security_policy_association(security_policy, security_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/addAssociation', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation command.request_object = security_policy_association_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21520 def add_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['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 |
#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::ComputeAlpha::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.
25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25302 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, 'projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksAddResourcePoliciesRequest::Representation command.request_object = region_disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts an association for the specified network firewall policy.
29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630 29631 29632 29633 29634 29635 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29620 def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.request_object = firewall_policy_association_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a network firewall policy.
29680 29681 29682 29683 29684 29685 29686 29687 29688 29689 29690 29691 29692 29693 29694 29695 29696 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29680 def add_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, max_priority: nil, min_priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['maxPriority'] = max_priority unless max_priority.nil? command.query['minPriority'] = min_priority unless min_priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts a rule into a security policy.
35463 35464 35465 35466 35467 35468 35469 35470 35471 35472 35473 35474 35475 35476 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35463 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, 'projects/{project}/global/securityPolicies/{securityPolicy}/addRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds health check URLs to a target pool.
40225 40226 40227 40228 40229 40230 40231 40232 40233 40234 40235 40236 40237 40238 40239 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40225 def add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddHealthCheckRequest::Representation command.request_object = target_pools_add_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Adds an instance to a target pool.
40278 40279 40280 40281 40282 40283 40284 40285 40286 40287 40288 40289 40290 40291 40292 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40278 def add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddInstanceRequest::Representation command.request_object = target_pools_add_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList
Retrieves an aggregated list of accelerator types.
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/google/apis/compute_alpha/service.rb', line 124 def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_address_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressAggregatedList
Retrieves an aggregated list of addresses.
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/google/apis/compute_alpha/service.rb', line 329 def aggregated_address_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_autoscaler_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerAggregatedList
Retrieves an aggregated list of autoscalers.
730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 |
# File 'lib/google/apis/compute_alpha/service.rb', line 730 def aggregated_autoscaler_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceAggregatedList
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1824 def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_disk_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskAggregatedList
Retrieves an aggregated list of persistent disks.
2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2796 def aggregated_disk_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_disk_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeAggregatedList
Retrieves an aggregated list of disk types.
2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2537 def aggregated_disk_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_forwarding_rule_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList
Retrieves an aggregated list of forwarding rules.
5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5122 def aggregated_forwarding_rule_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_future_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse
Retrieves an aggregated list of future reservations.
5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5633 def aggregated_future_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/futureReservations', ) command.response_representation = Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse::Representation command.response_class = Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_global_operation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationAggregatedList
Retrieves an aggregated list of all operations.
7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7158 def aggregated_global_operation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthChecksAggregatedList
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7845 def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthChecksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
Retrieves the list of instance groups and sorts them by zone.
11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11352 def aggregated_instance_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_group_manager_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList
Retrieves the list of managed instance groups and groups them by zone.
9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9606 def aggregated_instance_group_manager_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceAggregatedList
Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.
12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12348 def aggregated_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/instances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_instant_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList
Retrieves an aggregated list of instantSnapshots.
14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14932 def aggregated_instant_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/instantSnapshots', ) command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList
Retrieves an aggregated list of interconnect attachments.
15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15478 def (project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_machine_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeAggregatedList
Retrieves an aggregated list of machine types.
17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17508 def aggregated_machine_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', ) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17714 def aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/networkEdgeSecurityServices', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList
Retrieves the list of network endpoint groups and sorts them by zone.
18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18000 def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroupAggregatedList
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.
20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20183 def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTemplateAggregatedList
Retrieves an aggregated list of node templates.
20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20864 def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', ) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTypeAggregatedList
Retrieves an aggregated list of node types.
21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21298 def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', ) command.response_representation = Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroringAggregatedList
Retrieves an aggregated list of packetMirrorings.
22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22196 def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', ) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList
Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23569 def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/publicDelegatedPrefixes', ) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentAggregatedList
Retrieves an aggregated list of commitments by region.
24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24801 def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', ) command.response_representation = Google::Apis::ComputeAlpha::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_health_check_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList
Retrieves the list of all HealthCheckService resources, regional and global, available to the specified project.
26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26180 def aggregated_region_health_check_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/healthCheckServices', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_notification_endpoint_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList
Retrieves the list of all NotificationEndpoint resources, regional and global, available to the specified project.
30855 30856 30857 30858 30859 30860 30861 30862 30863 30864 30865 30866 30867 30868 30869 30870 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30855 def aggregated_region_notification_endpoint_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/notificationEndpoints', ) command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ReservationAggregatedList
Retrieves an aggregated list of reservations.
33647 33648 33649 33650 33651 33652 33653 33654 33655 33656 33657 33658 33659 33660 33661 33662 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33647 def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', ) command.response_representation = Google::Apis::ComputeAlpha::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ReservationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList
Retrieves an aggregated list of resource policies.
34193 34194 34195 34196 34197 34198 34199 34200 34201 34202 34203 34204 34205 34206 34207 34208 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34193 def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', ) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterAggregatedList
Retrieves an aggregated list of routers.
34626 34627 34628 34629 34630 34631 34632 34633 34634 34635 34636 34637 34638 34639 34640 34641 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34626 def aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/routers', ) command.response_representation = Google::Apis::ComputeAlpha::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.
35547 35548 35549 35550 35551 35552 35553 35554 35555 35556 35557 35558 35559 35560 35561 35562 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35547 def aggregated_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/securityPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
36176 36177 36178 36179 36180 36181 36182 36183 36184 36185 36186 36187 36188 36189 36190 36191 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36176 def (project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/serviceAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateAggregatedList
Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
37041 37042 37043 37044 37045 37046 37047 37048 37049 37050 37051 37052 37053 37054 37055 37056 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37041 def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesAggregatedList
Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.
37376 37377 37378 37379 37380 37381 37382 37383 37384 37385 37386 37387 37388 37389 37390 37391 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37376 def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkAggregatedList
Retrieves an aggregated list of subnetworks.
37840 37841 37842 37843 37844 37845 37846 37847 37848 37849 37850 37851 37852 37853 37854 37855 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37840 def aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', ) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList
Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.
38828 38829 38830 38831 38832 38833 38834 38835 38836 38837 38838 38839 38840 38841 38842 38843 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38828 def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
39265 39266 39267 39268 39269 39270 39271 39272 39273 39274 39275 39276 39277 39278 39279 39280 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39265 def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceAggregatedList
Retrieves an aggregated list of target instances.
39907 39908 39909 39910 39911 39912 39913 39914 39915 39916 39917 39918 39919 39920 39921 39922 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39907 def aggregated_target_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_pool_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolAggregatedList
Retrieves an aggregated list of target pools.
40362 40363 40364 40365 40366 40367 40368 40369 40370 40371 40372 40373 40374 40375 40376 40377 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40362 def aggregated_target_pool_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_target_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList
Retrieves an aggregated list of target VPN gateways.
41768 41769 41770 41771 41772 41773 41774 41775 41776 41777 41778 41779 41780 41781 41782 41783 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41768 def aggregated_target_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsAggregatedList
Retrieves the list of all UrlMap resources, regional and global, available to the specified project.
42172 42173 42174 42175 42176 42177 42178 42179 42180 42181 42182 42183 42184 42185 42186 42187 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42172 def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewayAggregatedList
Retrieves an aggregated list of VPN gateways.
42699 42700 42701 42702 42703 42704 42705 42706 42707 42708 42709 42710 42711 42712 42713 42714 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42699 def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#aggregated_vpn_tunnel_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelAggregatedList
Retrieves an aggregated list of VPN tunnels.
43140 43141 43142 43143 43144 43145 43146 43147 43148 43149 43150 43151 43152 43153 43154 43155 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43140 def aggregated_vpn_tunnel_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions.
9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9652 def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Apply updates to selected instances the managed instance group.
26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26981 def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = region_instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a network endpoint to the specified network endpoint group.
6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6731 def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_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, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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 |
#attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance.
12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12409 def attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/attachDisk', ) command.request_representation = Google::Apis::ComputeAlpha::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['forceAttach'] = force_attach unless force_attach.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Attach a list of network endpoints to the specified network endpoint group.
18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18056 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, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#bulk_instance_insert(project, zone, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates multiple instances. Count specifies the number of instances to create.
12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12461 def bulk_instance_insert(project, zone, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/bulkInsert', ) command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation command.request_object = bulk_insert_instance_resource_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates multiple instances in a given region. Count specifies the number of instances to create.
28875 28876 28877 28878 28879 28880 28881 28882 28883 28884 28885 28886 28887 28888 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28875 def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', ) command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation command.request_object = bulk_insert_instance_resource_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#cancel_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Cancel the specified future reservation.
5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5686 def cancel_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}/cancel', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['futureReservation'] = future_reservation unless future_reservation.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#clone_firewall_policy_rules(firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified firewall policy.
4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4032 def clone_firewall_policy_rules(firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/cloneRules', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_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 |
#clone_network_firewall_policy_rules(project, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified firewall policy.
18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18636 def clone_network_firewall_policy_rules(project, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_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 |
#clone_region_network_firewall_policy_rules(project, region, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified network firewall policy.
29736 29737 29738 29739 29740 29741 29742 29743 29744 29745 29746 29747 29748 29749 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29736 def clone_region_network_firewall_policy_rules(project, region, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_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 |
#copy_organization_security_policy_rules(security_policy, request_id: nil, source_security_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Copies rules to the specified security policy.
21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21568 def copy_organization_security_policy_rules(security_policy, request_id: nil, source_security_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/copyRules', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceSecurityPolicy'] = source_security_policy unless source_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 |
#create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2857 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, 'projects/{project}/zones/{zone}/disks/{disk}/createSnapshot', ) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates instances with per-instance configs in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.
9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9709 def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersCreateInstancesRequest::Representation command.request_object = instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
25362 25363 25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25362 def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/createSnapshot', ) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates instances with per-instance configs in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.
27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 27050 27051 27052 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27038 def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest::Representation command.request_object = region_instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'lib/google/apis/compute_alpha/service.rb', line 382 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, 'projects/{project}/regions/{region}/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
783 784 785 786 787 788 789 790 791 792 793 794 795 |
# File 'lib/google/apis/compute_alpha/service.rb', line 783 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, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendBucket resource.
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1204 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, 'projects/{project}/global/backendBuckets/{backendBucket}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a key for validating requests with signed URLs for this backend bucket.
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1254 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, 'projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['keyName'] = key_name unless key_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified BackendService resource.
1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1875 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, 'projects/{project}/global/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a key for validating requests with signed URLs for this backend service.
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1926 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, 'projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['keyName'] = key_name unless key_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2912 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, 'projects/{project}/zones/{zone}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified externalVpnGateway.
3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3645 def delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['externalVpnGateway'] = external_vpn_gateway unless external_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_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified firewall.
4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4737 def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/firewalls/{firewall}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_firewall_policy(firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4077 def delete_firewall_policy(firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'locations/global/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_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_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ForwardingRule resource.
5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5175 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, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified future reservation.
5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5736 def delete_future_reservation(project, zone, future_reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['futureReservation'] = future_reservation unless future_reservation.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified address resource.
6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6012 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, 'projects/{project}/global/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified GlobalForwardingRule resource.
6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6337 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, 'projects/{project}/global/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6782 def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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_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.
7199 7200 7201 7202 7203 7204 7205 7206 7207 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7199 def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{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_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified Operations resource.
7391 7392 7393 7394 7395 7396 7397 7398 7399 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7391 def delete_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'locations/global/operations/{operation}', ) command.params['operation'] = operation unless operation.nil? command.query['parentId'] = parent_id unless parent_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified global PublicDelegatedPrefix.
7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7550 def delete_global_public_delegated_prefix(project, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7896 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, 'projects/{project}/global/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpHealthCheck resource.
8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8247 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, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HttpsHealthCheck resource.
8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8599 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, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified image.
8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8991 def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/images/{image}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Instance resource. For more information, see Deleting an instance.
12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12513 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, 'projects/{project}/zones/{zone}/instances/{instance}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes an access config from an instance's network interface.
12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12567 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, 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['accessConfig'] = access_config unless access_config.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information.
11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11407 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, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information.
9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9763 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
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.
9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9824 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes selected per-instance configs for the managed instance group.
9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9868 def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_delete_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group.
11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11870 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, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_instant_snapshot(project, zone, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14990 def delete_instant_snapshot(project, zone, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect.
16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16144 def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/interconnects/{interconnect}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified interconnect attachment.
15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15531 def (project, region, , request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16799 def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/licenses/{license}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone.
17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17140 def delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/machineImages/{machineImage}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['machineImage'] = machine_image unless machine_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_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19342 def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_network_edge_security_service(project, region, network_edge_security_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified service.
17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17767 def delete_network_edge_security_service(project, region, network_edge_security_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['networkEdgeSecurityService'] = network_edge_security_service unless network_edge_security_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_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18113 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, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18684 def delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified NodeGroup resource.
20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20236 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, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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::ComputeAlpha::Operation
Deletes specified nodes from the node group.
20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20287 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, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', ) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsDeleteNodesRequest::Representation command.request_object = node_groups_delete_nodes_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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::ComputeAlpha::Operation
Deletes the specified NodeTemplate resource.
20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20917 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, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['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_organization_security_policy(security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21613 def delete_organization_security_policy(security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'locations/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation 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_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PacketMirroring resource.
22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22249 def delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PublicAdvertisedPrefix
23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23274 def delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified PublicDelegatedPrefix in the given region.
23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 23633 23634 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23622 def delete_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified autoscaler.
23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 23908 23909 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23897 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, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional BackendService resource.
24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24268 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, 'projects/{project}/regions/{region}/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
25418 25419 25420 25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25418 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, 'projects/{project}/regions/{region}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified HealthCheck resource.
26554 26555 26556 26557 26558 26559 26560 26561 26562 26563 26564 26565 26566 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26554 def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified regional HealthCheckService.
26234 26235 26236 26237 26238 26239 26240 26241 26242 26243 26244 26245 26246 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26234 def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheckService'] = health_check_service unless health_check_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_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified managed instance group and all of the instances in that group.
27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27091 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
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.
27152 27153 27154 27155 27156 27157 27158 27159 27160 27161 27162 27163 27164 27165 27166 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27152 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes selected per-instance configs for the managed instance group.
27195 27196 27197 27198 27199 27200 27201 27202 27203 27204 27205 27206 27207 27208 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27195 def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation command.request_object = region_instance_group_manager_delete_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
28931 28932 28933 28934 28935 28936 28937 28938 28939 28940 28941 28942 28943 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28931 def delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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_region_network(project, region, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network.
30473 30474 30475 30476 30477 30478 30479 30480 30481 30482 30483 30484 30485 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30473 def delete_region_network(project, region, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
29390 29391 29392 29393 29394 29395 29396 29397 29398 29399 29400 29401 29402 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29390 def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_region_network_firewall_policy(project, region, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified network firewall policy.
29787 29788 29789 29790 29791 29792 29793 29794 29795 29796 29797 29798 29799 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29787 def delete_region_network_firewall_policy(project, region, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified NotificationEndpoint in the given region
30908 30909 30910 30911 30912 30913 30914 30915 30916 30917 30918 30919 30920 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30908 def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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.
31160 31161 31162 31163 31164 31165 31166 31167 31168 31169 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31160 def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{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_region_security_policy(project, region, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
31374 31375 31376 31377 31378 31379 31380 31381 31382 31383 31384 31385 31386 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31374 def delete_region_security_policy(project, region, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource in the region.
31651 31652 31653 31654 31655 31656 31657 31658 31659 31660 31661 31662 31663 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31651 def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
31917 31918 31919 31920 31921 31922 31923 31924 31925 31926 31927 31928 31929 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31917 def delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
32316 32317 32318 32319 32320 32321 32322 32323 32324 32325 32326 32327 32328 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32316 def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
32633 32634 32635 32636 32637 32638 32639 32640 32641 32642 32643 32644 32645 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32633 def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
33050 33051 33052 33053 33054 33055 33056 33057 33058 33059 33060 33061 33062 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33050 def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified reservation.
33700 33701 33702 33703 33704 33705 33706 33707 33708 33709 33710 33711 33712 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33700 def delete_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/reservations/{reservation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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::ComputeAlpha::Operation
Deletes the specified resource policy.
34246 34247 34248 34249 34250 34251 34252 34253 34254 34255 34256 34257 34258 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34246 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, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['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::ComputeAlpha::Operation
Deletes the specified Route resource.
35222 35223 35224 35225 35226 35227 35228 35229 35230 35231 35232 35233 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35222 def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/routes/{route}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Router resource.
34679 34680 34681 34682 34683 34684 34685 34686 34687 34688 34689 34690 34691 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34679 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, 'projects/{project}/regions/{region}/routers/{router}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified policy.
35598 35599 35600 35601 35602 35603 35604 35605 35606 35607 35608 35609 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35598 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, 'projects/{project}/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_service_attachment(project, region, service_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified ServiceAttachment in the given scope
36229 36230 36231 36232 36233 36234 36235 36236 36237 36238 36239 36240 36241 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36229 def (project, region, , request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['serviceAttachment'] = 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_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots.
36635 36636 36637 36638 36639 36640 36641 36642 36643 36644 36645 36646 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36635 def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/snapshots/{snapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SslCertificate resource.
37092 37093 37094 37095 37096 37097 37098 37099 37100 37101 37102 37103 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37092 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, 'projects/{project}/global/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
37429 37430 37431 37432 37433 37434 37435 37436 37437 37438 37439 37440 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37429 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, 'projects/{project}/global/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified subnetwork.
37893 37894 37895 37896 37897 37898 37899 37900 37901 37902 37903 37904 37905 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37893 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, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetGrpcProxy in the given scope
38494 38495 38496 38497 38498 38499 38500 38501 38502 38503 38504 38505 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38494 def delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_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_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpProxy resource.
38879 38880 38881 38882 38883 38884 38885 38886 38887 38888 38889 38890 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38879 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, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetHttpsProxy resource.
39316 39317 39318 39319 39320 39321 39322 39323 39324 39325 39326 39327 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39316 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, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetInstance resource.
39960 39961 39962 39963 39964 39965 39966 39967 39968 39969 39970 39971 39972 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39960 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, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target pool.
40415 40416 40417 40418 40419 40420 40421 40422 40423 40424 40425 40426 40427 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40415 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, 'projects/{project}/regions/{region}/targetPools/{targetPool}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetSslProxy resource.
40881 40882 40883 40884 40885 40886 40887 40888 40889 40890 40891 40892 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40881 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified TargetTcpProxy resource.
41385 41386 41387 41388 41389 41390 41391 41392 41393 41394 41395 41396 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41385 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, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified target VPN gateway.
41821 41822 41823 41824 41825 41826 41827 41828 41829 41830 41831 41832 41833 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41821 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, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified UrlMap resource.
42223 42224 42225 42226 42227 42228 42229 42230 42231 42232 42233 42234 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42223 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, 'projects/{project}/global/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VPN gateway.
42752 42753 42754 42755 42756 42757 42758 42759 42760 42761 42762 42763 42764 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42752 def delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless 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_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes the specified VpnTunnel resource.
43193 43194 43195 43196 43197 43198 43199 43200 43201 43202 43203 43204 43205 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43193 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, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified zone-specific Operations resource.
43501 43502 43503 43504 43505 43506 43507 43508 43509 43510 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43501 def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/operations/{operation}', ) command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.
9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9040 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, 'projects/{project}/global/images/{image}/deprecate', ) command.request_representation = Google::Apis::ComputeAlpha::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach the network endpoint from the specified network endpoint group.
6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6831 def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_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, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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 |
#detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detaches a disk from an instance.
12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12622 def detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['deviceName'] = device_name unless device_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Detach a list of network endpoints from the specified network endpoint group.
18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18166 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, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable this project as a shared VPC host project.
22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22563 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, 'projects/{project}/disableXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Disable a service resource (also known as service project) associated with this host project.
22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22609 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, 'projects/{project}/disableXpnResource', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable this project as a shared VPC host project.
22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22655 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, 'projects/{project}/enableXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
22701 22702 22703 22704 22705 22706 22707 22708 22709 22710 22711 22712 22713 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22701 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, 'projects/{project}/enableXpnResource', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Expands the IP CIDR range of the subnetwork to a specified value.
37944 37945 37946 37947 37948 37949 37950 37951 37952 37953 37954 37955 37956 37957 37958 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37944 def (project, region, subnetwork, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', ) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15042 def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', ) command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest::Representation command.request_object = instant_snapshots_export_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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 |
#export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28983 def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation command.request_object = region_instant_snapshots_export_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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 |
#get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorType
Returns the specified accelerator type.
167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/google/apis/compute_alpha/service.rb', line 167 def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorType::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['acceleratorType'] = accelerator_type unless accelerator_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource.
422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'lib/google/apis/compute_alpha/service.rb', line 422 def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.
824 825 826 827 828 829 830 831 832 833 834 835 |
# File 'lib/google/apis/compute_alpha/service.rb', line 824 def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucket
Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request.
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1293 def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{backendBucket}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucket command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_bucket_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1332 def get_backend_bucket_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified BackendService resource. Gets a list of available backend services.
1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1965 def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this BackendService. Example
request body: "group": "/zones/us-east1-b/instanceGroups/lb-backend-example"
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2003 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, 'projects/{project}/global/backendServices/{backendService}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceGroupHealth command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2044 def get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendServices/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2953 def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2995 def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified disk type. Gets a list of available disk types by making a list() request.
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2581 def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes/{diskType}', ) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['diskType'] = disk_type unless disk_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExternalVpnGateway
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.
3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3683 def get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGateway command.params['project'] = project unless project.nil? command.params['externalVpnGateway'] = external_vpn_gateway unless external_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_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Firewall
Returns the specified firewall.
4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4774 def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewalls/{firewall}', ) command.response_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.response_class = Google::Apis::ComputeAlpha::Firewall command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_firewall_policy(firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified firewall policy.
4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4111 def get_firewall_policy(firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy command.params['firewallPolicy'] = firewall_policy unless firewall_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_firewall_policy_association(firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4146 def get_firewall_policy_association(firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.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_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4183 def get_firewall_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_firewall_policy_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4219 def get_firewall_policy_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule command.params['firewallPolicy'] = firewall_policy unless firewall_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_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified ForwardingRule resource.
5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5215 def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_future_reservation(project, zone, future_reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservation
Retrieves information about the specified future reservation.
5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5776 def get_future_reservation(project, zone, future_reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}', ) command.response_representation = Google::Apis::ComputeAlpha::FutureReservation::Representation command.response_class = Google::Apis::ComputeAlpha::FutureReservation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['futureReservation'] = future_reservation unless future_reservation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Address
Returns the specified address resource. Gets a list of available addresses by making a list() request.
6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6050 def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/addresses/{address}', ) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GetOwnerInstanceResponse
Find owner instance from given ip address
6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6087 def get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/addresses/getOwnerInstance', ) command.response_representation = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse::Representation command.response_class = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse command.params['project'] = project unless project.nil? command.query['ipAddress'] = ip_address unless ip_address.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRule
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6375 def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/forwardingRules/{forwardingRule}', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6871 def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['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_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource.
7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7233 def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified Operations resource. Gets a list of operations by
making a list()
request.
7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7426 def get_global_organization_operation(operation, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['operation'] = operation unless operation.nil? command.query['parentId'] = parent_id unless parent_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefix
Returns the specified global PublicDelegatedPrefix resource.
7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7587 def get_global_public_delegated_prefix(project, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefix command.params['project'] = project unless project.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7934 def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheck command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheck
Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request.
8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8285 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, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheck command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheck
Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request.
8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8637 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, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheck command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the specified image. Gets a list of available images by making a list() request.
9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9080 def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/images/{image}', ) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageFamilyView
Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.
8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8944 def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', ) command.response_representation = Google::Apis::ComputeAlpha::ImageFamilyView::Representation command.response_class = Google::Apis::ComputeAlpha::ImageFamilyView command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.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_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Image
Returns the latest image that is part of an image family and is not deprecated.
9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9116 def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/images/family/{family}', ) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? command.params['family'] = family unless family.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9155 def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/images/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Instance
Returns the specified Instance resource. Gets a list of available instances by making a list() request.
12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12664 def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}', ) command.response_representation = Google::Apis::ComputeAlpha::Instance::Representation command.response_class = Google::Apis::ComputeAlpha::Instance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse
Returns effective firewalls applied to an interface of the instance.
12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12705 def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', ) command.response_representation = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse 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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead.
11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11449 def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.
9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9910 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::GuestAttributes
Returns the specified guest attributes entry.
12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12749 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, 'projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes', ) command.response_representation = Google::Apis::ComputeAlpha::GuestAttributes::Representation command.response_class = Google::Apis::ComputeAlpha::GuestAttributes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['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, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12793 def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Screenshot
Returns the screenshot from the specified instance.
12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12833 def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/screenshot', ) command.response_representation = Google::Apis::ComputeAlpha::Screenshot::Representation command.response_class = Google::Apis::ComputeAlpha::Screenshot 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_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SerialPortOutput
Returns the last 1 MB of serial port output from the specified instance.
12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12886 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, 'projects/{project}/zones/{zone}/instances/{instance}/serialPort', ) command.response_representation = Google::Apis::ComputeAlpha::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeAlpha::SerialPortOutput command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['port'] = port unless port.nil? command.query['start'] = start unless start.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ShieldedInstanceIdentity
Returns the Shielded Instance Identity of an instance
12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12927 def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', ) command.response_representation = Google::Apis::ComputeAlpha::ShieldedInstanceIdentity::Representation command.response_class = Google::Apis::ComputeAlpha::ShieldedInstanceIdentity 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_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ShieldedVmIdentity
Returns the Shielded VM Identity of an instance
12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12966 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, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', ) command.response_representation = Google::Apis::ComputeAlpha::ShieldedVmIdentity::Representation command.response_class = Google::Apis::ComputeAlpha::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::ComputeAlpha::InstanceTemplate
Returns the specified instance template. Gets a list of available instance templates by making a list() request.
11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11908 def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplate command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11947 def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_instant_snapshot(project, zone, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshot
Returns the specified InstantSnapshot resource in the specified zone.
15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15084 def get_instant_snapshot(project, zone, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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_instant_snapshot_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15126 def get_instant_snapshot_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Interconnect
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16182 def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}', ) command.response_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.response_class = Google::Apis::ComputeAlpha::Interconnect command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachment
Returns the specified interconnect attachment.
15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15571 def (project, region, , fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15613 def (project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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::ComputeAlpha::InterconnectsGetDiagnosticsResponse
Returns the interconnectDiagnostics for the specified interconnect.
16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16218 def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getDiagnostics', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectsGetDiagnosticsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::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_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16257 def get_interconnect_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnects/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocation
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15981 def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations/{interconnectLocation}', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocation command.params['project'] = project unless project.nil? command.params['interconnectLocation'] = interconnect_location unless interconnect_location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_interconnect_macsec_config(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectsGetMacsecConfigResponse
Returns the interconnectMacsecConfig for the specified interconnect.
16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16294 def get_interconnect_macsec_config(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getMacsecConfig', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectsGetMacsecConfigResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectsGetMacsecConfigResponse 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_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::License
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16838 def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/licenses/{license}', ) command.response_representation = Google::Apis::ComputeAlpha::License::Representation command.response_class = Google::Apis::ComputeAlpha::License command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicenseCode
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16629 def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{licenseCode}', ) command.response_representation = Google::Apis::ComputeAlpha::LicenseCode::Representation command.response_class = Google::Apis::ComputeAlpha::LicenseCode command.params['project'] = project unless project.nil? command.params['licenseCode'] = license_code unless license_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_license_code_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third- party partners who are creating Cloud Marketplace images.
16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16669 def get_license_code_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third- party partners who are creating Cloud Marketplace images.
16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16878 def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/licenses/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineImage
Returns the specified machine image. Gets a list of available machine images by making a list() request.
17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17178 def get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/machineImages/{machineImage}', ) command.response_representation = Google::Apis::ComputeAlpha::MachineImage::Representation command.response_class = Google::Apis::ComputeAlpha::MachineImage command.params['project'] = project unless project.nil? command.params['machineImage'] = machine_image unless machine_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_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17217 def get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/machineImages/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineType
Returns the specified machine type. Gets a list of available machine types by making a list() request.
17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17552 def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes/{machineType}', ) command.response_representation = Google::Apis::ComputeAlpha::MachineType::Representation command.response_class = Google::Apis::ComputeAlpha::MachineType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['machineType'] = machine_type unless machine_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network. Gets a list of available networks by making a list() request.
19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19380 def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Network::Representation command.response_class = Google::Apis::ComputeAlpha::Network command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network_edge_security_service(project, region, network_edge_security_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEdgeSecurityService
Gets a specified NetworkEdgeSecurityService.
17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17807 def get_network_edge_security_service(project, region, network_edge_security_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEdgeSecurityService::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEdgeSecurityService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['networkEdgeSecurityService'] = network_edge_security_service unless network_edge_security_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_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
Returns the effective firewalls on a given network.
19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19416 def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/getEffectiveFirewalls', ) command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18210 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, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified network firewall policy.
18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18721 def get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18759 def get_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18799 def get_network_firewall_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18838 def get_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::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.
20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20331 def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.response_class = Google::Apis::ComputeAlpha::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, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20373 def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTemplate
Returns the specified node template. Gets a list of available node templates by making a list() request.
20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20958 def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', ) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation command.response_class = Google::Apis::ComputeAlpha::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, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21000 def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeType
Returns the specified node type. Gets a list of available node types by making a list() request.
21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21342 def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes/{nodeType}', ) command.response_representation = Google::Apis::ComputeAlpha::NodeType::Representation command.response_class = Google::Apis::ComputeAlpha::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_organization_security_policy(security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21647 def get_organization_security_policy(security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy 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_organization_security_policy_association(security_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyAssociation
Gets an association with the specified name.
21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21682 def get_organization_security_policy_association(security_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}/getAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyAssociation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_security_policy_rule(security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21718 def get_organization_security_policy_rule(security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule 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_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroring
Returns the specified PacketMirroring resource.
22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22289 def get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', ) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroring command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Returns the specified Project resource. To decrease latency for this method,
you can optionally omit any unneeded information from the response by using a
field mask. This practice is especially recommended for unused quota
information (the quotas
field). To exclude one or more fields, set your
request's fields
query parameter to only include the fields you need. For
example, to only include the id
and selfLink
fields, add the query
parameter ?fields=id,selfLink
to your request.
22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22743 def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}', ) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Project
Gets the shared VPC host project that this project links to. May be empty if no link exists.
22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22777 def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/getXpnHost', ) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ProjectsGetXpnResources
Gets service resources (a.k.a service project) associated with this host project.
22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22850 def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/getXpnResources', ) command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_public_advertised_prefix(project, public_advertised_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicAdvertisedPrefix
Returns the specified PublicAdvertisedPrefix resource.
23311 23312 23313 23314 23315 23316 23317 23318 23319 23320 23321 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23311 def get_public_advertised_prefix(project, public_advertised_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix command.params['project'] = project unless project.nil? command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, region, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefix
Returns the specified PublicDelegatedPrefix resource in the given region.
23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23662 def get_public_delegated_prefix(project, region, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefix command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Region
Returns the specified Region resource. Gets a list of available regions by
making a list() request. To decrease latency for this method, you can
optionally omit any unneeded information from the response by using a field
mask. This practice is especially recommended for unused quota information (
the quotas
field). To exclude one or more fields, set your request's fields
query parameter to only include the fields you need. For example, to only
include the id
and selfLink
fields, add the query parameter ?fields=id,
selfLink
to your request.
33483 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33483 def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}', ) command.response_representation = Google::Apis::ComputeAlpha::Region::Representation command.response_class = Google::Apis::ComputeAlpha::Region command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Autoscaler
Returns the specified autoscaler.
23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23937 def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', ) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendService
Returns the specified regional BackendService resource.
24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24308 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, 'projects/{project}/regions/{region}/backendServices/{backendService}', ) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24347 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, 'projects/{project}/regions/{region}/backendServices/{backendService}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceGroupHealth command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24391 def get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Commitment
Returns the specified commitment resource. Gets a list of available commitments by making a list() request.
24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24845 def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments/{commitment}', ) command.response_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.response_class = Google::Apis::ComputeAlpha::Commitment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['commitment'] = commitment unless commitment.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Disk
Returns a specified regional persistent disk.
25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25458 def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{disk}', ) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25500 def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskType
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25171 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, 'projects/{project}/regions/{region}/diskTypes/{diskType}', ) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['diskType'] = disk_type unless disk_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheck
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
26595 26596 26597 26598 26599 26600 26601 26602 26603 26604 26605 26606 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26595 def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheck command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckService
Returns the specified regional HealthCheckService resource.
26275 26276 26277 26278 26279 26280 26281 26282 26283 26284 26285 26286 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26275 def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheckService'] = health_check_service unless health_check_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_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroup
Returns the specified instance group resource.
28561 28562 28563 28564 28565 28566 28567 28568 28569 28570 28571 28572 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28561 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, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Returns all of the details about the specified managed instance group.
27236 27237 27238 27239 27240 27241 27242 27243 27244 27245 27246 27247 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27236 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshot
Returns the specified InstantSnapshot resource in the specified region.
29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29025 def get_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instantSnapshot'] = instant_snapshot unless instant_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_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29067 def get_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_region_network(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Network
Returns the specified network.
30513 30514 30515 30516 30517 30518 30519 30520 30521 30522 30523 30524 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30513 def get_region_network(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks/{network}', ) command.response_representation = Google::Apis::ComputeAlpha::Network::Representation command.response_class = Google::Apis::ComputeAlpha::Network command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroup
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
29432 29433 29434 29435 29436 29437 29438 29439 29440 29441 29442 29443 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29432 def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_network_firewall_policy(project, region, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicy
Returns the specified network firewall policy.
29827 29828 29829 29830 29831 29832 29833 29834 29835 29836 29837 29838 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29827 def get_region_network_firewall_policy(project, region, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyAssociation
Gets an association with the specified name.
29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 29880 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29868 def get_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.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_network_firewall_policy_effective_firewalls(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
Returns the effective firewalls on a given network.
29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 29919 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29908 def get_region_network_firewall_policy_effective_firewalls(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls', ) command.response_representation = Google::Apis::ComputeAlpha::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['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_region_network_firewall_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29950 def get_region_network_firewall_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyRule
Gets a rule of the specified priority.
29992 29993 29994 29995 29996 29997 29998 29999 30000 30001 30002 30003 30004 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29992 def get_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_region_network_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
30555 30556 30557 30558 30559 30560 30561 30562 30563 30564 30565 30566 30567 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30555 def get_region_network_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpoint
Returns the specified NotificationEndpoint resource in the given region.
30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30948 def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', ) command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation command.response_class = Google::Apis::ComputeAlpha::NotificationEndpoint command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified region-specific Operations resource.
31197 31198 31199 31200 31201 31202 31203 31204 31205 31206 31207 31208 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31197 def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_region_security_policy(project, region, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
31414 31415 31416 31417 31418 31419 31420 31421 31422 31423 31424 31425 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31414 def get_region_security_policy(project, region, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
31692 31693 31694 31695 31696 31697 31698 31699 31700 31701 31702 31703 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31692 def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificate command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
Lists all of the ordered rules present in a single specified policy.
31958 31959 31960 31961 31962 31963 31964 31965 31966 31967 31968 31969 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31958 def get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SslPolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.
32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 32367 32368 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32357 def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.
32674 32675 32676 32677 32678 32679 32680 32681 32682 32683 32684 32685 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32674 def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
33091 33092 33093 33094 33095 33096 33097 33098 33099 33100 33101 33102 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33091 def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMap command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Reservation
Retrieves information about the specified reservation.
33740 33741 33742 33743 33744 33745 33746 33747 33748 33749 33750 33751 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33740 def get_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}', ) command.response_representation = Google::Apis::ComputeAlpha::Reservation::Representation command.response_class = Google::Apis::ComputeAlpha::Reservation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? command.query['fields'] = fields unless fields.nil? command.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_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
33782 33783 33784 33785 33786 33787 33788 33789 33790 33791 33792 33793 33794 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33782 def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ResourcePolicy
Retrieves all information of the specified resource policy.
34286 34287 34288 34289 34290 34291 34292 34293 34294 34295 34296 34297 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34286 def get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation command.response_class = Google::Apis::ComputeAlpha::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_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
34328 34329 34330 34331 34332 34333 34334 34335 34336 34337 34338 34339 34340 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34328 def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Route
Returns the specified Route resource. Gets a list of available routes by making a list() request.
35260 35261 35262 35263 35264 35265 35266 35267 35268 35269 35270 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35260 def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/routes/{route}', ) command.response_representation = Google::Apis::ComputeAlpha::Route::Representation command.response_class = Google::Apis::ComputeAlpha::Route command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Router
Returns the specified Router resource. Gets a list of available routers by making a list() request.
34720 34721 34722 34723 34724 34725 34726 34727 34728 34729 34730 34731 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34720 def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}', ) command.response_representation = Google::Apis::ComputeAlpha::Router::Representation command.response_class = Google::Apis::ComputeAlpha::Router command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VmEndpointNatMappingsList
Retrieves runtime Nat mapping information of VM endpoints.
34803 34804 34805 34806 34807 34808 34809 34810 34811 34812 34813 34814 34815 34816 34817 34818 34819 34820 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34803 def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo', ) command.response_representation = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Representation command.response_class = Google::Apis::ComputeAlpha::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['natName'] = nat_name unless nat_name.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterStatusResponse
Retrieves runtime information of the specified router.
34848 34849 34850 34851 34852 34853 34854 34855 34856 34857 34858 34859 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34848 def get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getRouterStatus', ) command.response_representation = Google::Apis::ComputeAlpha::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RouterStatusResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicy
List all of the ordered rules present in a single specified policy.
35635 35636 35637 35638 35639 35640 35641 35642 35643 35644 35645 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35635 def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyRule
Gets a rule at the specified priority.
35673 35674 35675 35676 35677 35678 35679 35680 35681 35682 35683 35684 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35673 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, 'projects/{project}/global/securityPolicies/{securityPolicy}/getRule', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_service_attachment(project, region, service_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachment
Returns the specified ServiceAttachment resource in the given scope.
36269 36270 36271 36272 36273 36274 36275 36276 36277 36278 36279 36280 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36269 def (project, region, , fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', ) command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation command.response_class = Google::Apis::ComputeAlpha::ServiceAttachment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['serviceAttachment'] = 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_service_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
36311 36312 36313 36314 36315 36316 36317 36318 36319 36320 36321 36322 36323 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36311 def (project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Snapshot
Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request.
36673 36674 36675 36676 36677 36678 36679 36680 36681 36682 36683 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36673 def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/snapshots/{snapshot}', ) command.response_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.response_class = Google::Apis::ComputeAlpha::Snapshot command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
36712 36713 36714 36715 36716 36717 36718 36719 36720 36721 36722 36723 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36712 def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/snapshots/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificate
Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.
37130 37131 37132 37133 37134 37135 37136 37137 37138 37139 37140 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37130 def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificate command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPolicy
Lists all of the ordered rules present in a single specified policy.
37467 37468 37469 37470 37471 37472 37473 37474 37475 37476 37477 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37467 def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/{sslPolicy}', ) command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SslPolicy command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Subnetwork
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
37987 37988 37989 37990 37991 37992 37993 37994 37995 37996 37997 37998 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37987 def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', ) command.response_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.response_class = Google::Apis::ComputeAlpha::Subnetwork command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
38029 38030 38031 38032 38033 38034 38035 38036 38037 38038 38039 38040 38041 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38029 def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = 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_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetGrpcProxy
Returns the specified TargetGrpcProxy resource in the given scope.
38531 38532 38533 38534 38535 38536 38537 38538 38539 38540 38541 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38531 def get_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetGrpcProxy command.params['project'] = project unless project.nil? command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_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_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxy
Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.
38917 38918 38919 38920 38921 38922 38923 38924 38925 38926 38927 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38917 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, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxy
Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request.
39354 39355 39356 39357 39358 39359 39360 39361 39362 39363 39364 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39354 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, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstance
Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.
40001 40002 40003 40004 40005 40006 40007 40008 40009 40010 40011 40012 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40001 def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPool
Returns the specified target pool. Gets a list of available target pools by making a list() request.
40456 40457 40458 40459 40460 40461 40462 40463 40464 40465 40466 40467 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40456 def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools/{targetPool}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPool command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
40497 40498 40499 40500 40501 40502 40503 40504 40505 40506 40507 40508 40509 40510 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40497 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, 'projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeAlpha::TargetPoolInstanceHealth::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolInstanceHealth command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxy
Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.
40919 40920 40921 40922 40923 40924 40925 40926 40927 40928 40929 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40919 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxy command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxy
Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.
41423 41424 41425 41426 41427 41428 41429 41430 41431 41432 41433 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41423 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, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxy command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGateway
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
41862 41863 41864 41865 41866 41867 41868 41869 41870 41871 41872 41873 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41862 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, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGateway command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMap
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
42261 42262 42263 42264 42265 42266 42267 42268 42269 42270 42271 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42261 def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/urlMaps/{urlMap}', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMap command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGateway
Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request.
42793 42794 42795 42796 42797 42798 42799 42800 42801 42802 42803 42804 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42793 def get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', ) command.response_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGateway command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless 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_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse
Returns the status for the specified VPN gateway.
42832 42833 42834 42835 42836 42837 42838 42839 42840 42841 42842 42843 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42832 def get_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', ) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless 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_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnel
Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
43234 43235 43236 43237 43238 43239 43240 43241 43242 43243 43244 43245 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43234 def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnel command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Zone
Returns the specified Zone resource. Gets a list of available zones by making a list() request.
43704 43705 43706 43707 43708 43709 43710 43711 43712 43713 43714 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43704 def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}', ) command.response_representation = Google::Apis::ComputeAlpha::Zone::Representation command.response_class = Google::Apis::ComputeAlpha::Zone command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Retrieves the specified zone-specific Operations resource.
43538 43539 43540 43541 43542 43543 43544 43545 43546 43547 43548 43549 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43538 def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations/{operation}', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project by using the data included in the request.
471 472 473 474 475 476 477 478 479 480 481 482 483 484 |
# File 'lib/google/apis/compute_alpha/service.rb', line 471 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, 'projects/{project}/regions/{region}/addresses', ) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
873 874 875 876 877 878 879 880 881 882 883 884 885 886 |
# File 'lib/google/apis/compute_alpha/service.rb', line 873 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, 'projects/{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1379 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, 'projects/{project}/global/backendBuckets', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .
2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2091 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, 'projects/{project}/global/backendServices', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) 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.
3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3050 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, 'projects/{project}/zones/{zone}/disks', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceImage'] = source_image unless source_image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ExternalVpnGateway in the specified project using the data included in the request.
3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3729 def insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways', ) command.request_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation command.request_object = external_vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a firewall rule in the specified project using the data included in the request.
4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4820 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, 'projects/{project}/global/firewalls', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_firewall_policy(firewall_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4267 def insert_firewall_policy(firewall_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.query['parentId'] = parent_id unless parent_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5264 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, 'projects/{project}/regions/{region}/forwardingRules', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_future_reservation(project, zone, future_reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new Future Reservation.
5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5824 def insert_future_reservation(project, zone, future_reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/futureReservations', ) command.request_representation = Google::Apis::ComputeAlpha::FutureReservation::Representation command.request_object = future_reservation_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an address resource in the specified project by using the data included in the request.
6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6133 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, 'projects/{project}/global/addresses', ) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6421 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, 'projects/{project}/global/forwardingRules', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6917 def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7633 def insert_global_public_delegated_prefix(project, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/publicDelegatedPrefixes', ) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7980 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, 'projects/{project}/global/healthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8331 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, 'projects/{project}/global/httpHealthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8683 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, 'projects/{project}/global/httpsHealthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an image in the specified project using the data included in the request.
9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9204 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, 'projects/{project}/global/images', ) command.request_representation = Google::Apis::ComputeAlpha::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['forceCreate'] = force_create unless force_create.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance resource in the specified project using the data included in the request.
13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13027 def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances', ) command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceInstanceTemplate'] = source_instance_template unless source_instance_template.nil? command.query['sourceMachineImage'] = source_machine_image unless source_machine_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_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance group in the specified project using the parameters that are included in the request.
11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11498 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, 'projects/{project}/zones/{zone}/instanceGroups', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, 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.
9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9965 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, 'projects/{project}/zones/{zone}/instanceGroupManagers', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template.
11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11996 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, 'projects/{project}/global/instanceTemplates', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_instant_snapshot(project, zone, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instant snapshot in the specified zone.
15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15175 def insert_instant_snapshot(project, zone, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots', ) command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation command.request_object = instant_snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Interconnect in the specified project using the data included in the request.
16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16340 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, 'projects/{project}/global/interconnects', ) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15665 def (project, region, = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments', ) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['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_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16926 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, 'projects/{project}/global/licenses', ) command.request_representation = Google::Apis::ComputeAlpha::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.
17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17268 def insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/machineImages', ) command.request_representation = Google::Apis::ComputeAlpha::MachineImage::Representation command.request_object = machine_image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceInstance'] = source_instance unless source_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 |
#insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project using the data included in the request.
19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19462 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, 'projects/{project}/global/networks', ) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_network_edge_security_service(project, region, network_edge_security_service_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new service in the specified project using the data included in the request.
17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17858 def insert_network_edge_security_service(project, region, network_edge_security_service_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEdgeSecurityServices', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEdgeSecurityService::Representation command.request_object = network_edge_security_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['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_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18260 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, 'projects/{project}/zones/{zone}/networkEndpointGroups', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18885 def insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_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::ComputeAlpha::Operation
Creates a NodeGroup resource in the specified project using the data included in the request.
20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20425 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, 'projects/{project}/zones/{zone}/nodeGroups', ) command.request_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['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::ComputeAlpha::Operation
Creates a NodeTemplate resource in the specified project using the data included in the request.
21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21050 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, 'projects/{project}/regions/{region}/nodeTemplates', ) command.request_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation command.request_object = node_template_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_organization_security_policy(security_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21766 def insert_organization_security_policy(security_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.query['parentId'] = parent_id unless parent_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22338 def insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings', ) command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_public_advertised_prefix(project, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23357 def insert_public_advertised_prefix(project, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes', ) command.request_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.request_object = public_advertised_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_public_delegated_prefix(project, region, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23711 def insert_public_delegated_prefix(project, region, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', ) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an autoscaler in the specified project using the data included in the request.
23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23986 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, 'projects/{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
24442 24443 24444 24445 24446 24447 24448 24449 24450 24451 24452 24453 24454 24455 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24442 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, 'projects/{project}/regions/{region}/backendServices', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a commitment in the specified project using the data included in the request.
24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24894 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, 'projects/{project}/regions/{region}/commitments', ) command.request_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a persistent regional disk in the specified project using the data included in the request.
25552 25553 25554 25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25552 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, 'projects/{project}/regions/{region}/disks', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceImage'] = source_image unless source_image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26644 def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26324 def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a managed instance group using the information that you specify in the request. After the group is created, 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.
27290 27291 27292 27293 27294 27295 27296 27297 27298 27299 27300 27301 27302 27303 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27290 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, 'projects/{project}/regions/{region}/instanceGroupManagers', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates an instant snapshot in the specified region.
29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29116 def insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots', ) command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation command.request_object = instant_snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_network(project, region, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network in the specified project and region using the data included in the request.
30605 30606 30607 30608 30609 30610 30611 30612 30613 30614 30615 30616 30617 30618 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30605 def insert_region_network(project, region, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/networks', ) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
29482 29483 29484 29485 29486 29487 29488 29489 29490 29491 29492 29493 29494 29495 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29482 def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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_network_firewall_policy(project, region, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new network firewall policy in the specified project and region.
30041 30042 30043 30044 30045 30046 30047 30048 30049 30050 30051 30052 30053 30054 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30041 def insert_region_network_firewall_policy(project, region, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
30997 30998 30999 31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30997 def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation command.request_object = notification_endpoint_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_region_security_policy(project, region, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
31465 31466 31467 31468 31469 31470 31471 31472 31473 31474 31475 31476 31477 31478 31479 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31465 def insert_region_security_policy(project, region, 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, 'projects/{project}/regions/{region}/securityPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project and region using the data included in the request
31741 31742 31743 31744 31745 31746 31747 31748 31749 31750 31751 31752 31753 31754 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31741 def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project and region using the data included in the request.
32007 32008 32009 32010 32011 32012 32013 32014 32015 32016 32017 32018 32019 32020 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32007 def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.
32406 32407 32408 32409 32410 32411 32412 32413 32414 32415 32416 32417 32418 32419 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32406 def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.
32723 32724 32725 32726 32727 32728 32729 32730 32731 32732 32733 32734 32735 32736 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32723 def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
33132 33133 33134 33135 33136 33137 33138 33139 33140 33141 33142 33143 33144 33145 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33132 def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new reservation. For more information, read Reserving zonal resources.
33832 33833 33834 33835 33836 33837 33838 33839 33840 33841 33842 33843 33844 33845 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33832 def insert_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations', ) command.request_representation = Google::Apis::ComputeAlpha::Reservation::Representation command.request_object = reservation_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_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::ComputeAlpha::Operation
Creates a new resource policy.
34377 34378 34379 34380 34381 34382 34383 34384 34385 34386 34387 34388 34389 34390 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34377 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, 'projects/{project}/regions/{region}/resourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation command.request_object = resource_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Route resource in the specified project using the data included in the request.
35306 35307 35308 35309 35310 35311 35312 35313 35314 35315 35316 35317 35318 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35306 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, 'projects/{project}/global/routes', ) command.request_representation = Google::Apis::ComputeAlpha::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a Router resource in the specified project and region using the data included in the request.
34897 34898 34899 34900 34901 34902 34903 34904 34905 34906 34907 34908 34909 34910 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34897 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, 'projects/{project}/regions/{region}/routers', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a new policy in the specified project using the data included in the request.
35722 35723 35724 35725 35726 35727 35728 35729 35730 35731 35732 35733 35734 35735 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35722 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, 'projects/{project}/global/securityPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_service_attachment(project, region, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
36361 36362 36363 36364 36365 36366 36367 36368 36369 36370 36371 36372 36373 36374 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36361 def (project, region, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/serviceAttachments', ) command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_snapshot(project, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project.
36761 36762 36763 36764 36765 36766 36767 36768 36769 36770 36771 36772 36773 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36761 def insert_snapshot(project, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/snapshots', ) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
37176 37177 37178 37179 37180 37181 37182 37183 37184 37185 37186 37187 37188 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37176 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, 'projects/{project}/global/sslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
37513 37514 37515 37516 37517 37518 37519 37520 37521 37522 37523 37524 37525 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37513 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, 'projects/{project}/global/sslPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a subnetwork in the specified project using the data included in the request.
38079 38080 38081 38082 38083 38084 38085 38086 38087 38088 38089 38090 38091 38092 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38079 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, 'projects/{project}/regions/{region}/subnetworks', ) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.
38577 38578 38579 38580 38581 38582 38583 38584 38585 38586 38587 38588 38589 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38577 def insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetGrpcProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation command.request_object = target_grpc_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
38963 38964 38965 38966 38967 38968 38969 38970 38971 38972 38973 38974 38975 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38963 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, 'projects/{project}/global/targetHttpProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
39400 39401 39402 39403 39404 39405 39406 39407 39408 39409 39410 39411 39412 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39400 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, 'projects/{project}/global/targetHttpsProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
40050 40051 40052 40053 40054 40055 40056 40057 40058 40059 40060 40061 40062 40063 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40050 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, 'projects/{project}/zones/{zone}/targetInstances', ) command.request_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target pool in the specified project and region using the data included in the request.
40548 40549 40550 40551 40552 40553 40554 40555 40556 40557 40558 40559 40560 40561 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40548 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, 'projects/{project}/regions/{region}/targetPools', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
40965 40966 40967 40968 40969 40970 40971 40972 40973 40974 40975 40976 40977 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40965 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, 'projects/{project}/global/targetSslProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
41469 41470 41471 41472 41473 41474 41475 41476 41477 41478 41479 41480 41481 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41469 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, 'projects/{project}/global/targetTcpProxies', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
41911 41912 41913 41914 41915 41916 41917 41918 41919 41920 41921 41922 41923 41924 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41911 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, 'projects/{project}/regions/{region}/targetVpnGateways', ) command.request_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a UrlMap resource in the specified project using the data included in the request.
42307 42308 42309 42310 42311 42312 42313 42314 42315 42316 42317 42318 42319 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42307 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, 'projects/{project}/global/urlMaps', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VPN gateway in the specified project and region using the data included in the request.
42881 42882 42883 42884 42885 42886 42887 42888 42889 42890 42891 42892 42893 42894 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42881 def insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways', ) command.request_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation command.request_object = vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
43283 43284 43285 43286 43287 43288 43289 43290 43291 43292 43293 43294 43295 43296 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43283 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, 'projects/{project}/regions/{region}/vpnTunnels', ) command.request_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.
33178 33179 33180 33181 33182 33183 33184 33185 33186 33187 33188 33189 33190 33191 33192 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33178 def invalidate_region_url_map_cache(project, region, 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, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', ) command.request_representation = Google::Apis::ComputeAlpha::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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 |
#invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.
42358 42359 42360 42361 42362 42363 42364 42365 42366 42367 42368 42369 42370 42371 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42358 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, 'projects/{project}/global/urlMaps/{urlMap}/invalidateCache', ) command.request_representation = Google::Apis::ComputeAlpha::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AcceleratorTypeList
Retrieves a list of accelerator types that are available to the specified project.
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/compute_alpha/service.rb', line 244 def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes', ) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of addresses contained within the specified region.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 |
# File 'lib/google/apis/compute_alpha/service.rb', line 549 def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AutoscalerList
Retrieves a list of autoscalers contained within the specified zone.
951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/google/apis/compute_alpha/service.rb', line 951 def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendBucketList
Retrieves the list of BackendBucket resources available to the specified project.
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1455 def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendBuckets', ) command.response_representation = Google::Apis::ComputeAlpha::BackendBucketList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucketList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of BackendService resources available to the specified project.
2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2167 def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskTypeList
Retrieves a list of disk types available to the specified project.
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2657 def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves a list of persistent disks contained within the specified zone.
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3129 def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExternalVpnGatewayList
Retrieves the list of ExternalVpnGateway available to the specified project.
3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3804 def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGatewayList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the policies that have been configured for the specified folder or organization.
4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4343 def list_firewall_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList 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['parentId'] = parent_id unless parent_id.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse
Lists associations of a specified target, i.e., organization or folder.
4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4381 def list_firewall_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/firewallPolicies/listAssociations', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse command.query['targetResource'] = target_resource unless target_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 |
#list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallList
Retrieves the list of firewall rules available to the specified project.
4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4895 def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewalls', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of ForwardingRule resources available to the specified project and region.
5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5343 def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_future_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FutureReservationsListResponse
A list of all the future reservations that have been configured for the specified project in specified zone.
5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5903 def list_future_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/futureReservations', ) command.response_representation = Google::Apis::ComputeAlpha::FutureReservationsListResponse::Representation command.response_class = Google::Apis::ComputeAlpha::FutureReservationsListResponse 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::AddressList
Retrieves a list of global addresses.
6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6208 def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/addresses', ) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ForwardingRuleList
Retrieves a list of GlobalForwardingRule resources available to the specified project.
6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6497 def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/forwardingRules', ) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
Lists the network endpoints in the specified network endpoint group.
7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7073 def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project.
6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6993 def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified project.
7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7306 def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_operations(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified organization.
7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7500 def list_global_organization_operations(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList 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['parentId'] = parent_id unless parent_id.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixList
Lists the global PublicDelegatedPrefixes for a project.
7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7708 def list_global_public_delegated_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes', ) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8055 def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/healthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpHealthCheckList
Retrieves the list of HttpHealthCheck resources available to the specified project.
8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8407 def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HttpsHealthCheckList
Retrieves the list of HttpsHealthCheck resources available to the specified project.
8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8759 def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ImageList
Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9287 def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/images', ) command.response_representation = Google::Apis::ComputeAlpha::ImageList::Representation command.response_class = Google::Apis::ComputeAlpha::ImageList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['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 |
#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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupsListInstances
Lists the instances in the specified instance group. The orderBy query parameter is not supported.
11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11663 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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupsListInstances command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse
Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported.
10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10130 def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported.
10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10218 def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.
10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10303 def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerList
Retrieves a list of managed instance groups that are contained within the specified project and zone.
10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10044 def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceGroupList
Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead.
11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11578 def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceListReferrers
Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances.
13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13193 def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/referrers', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceListReferrers command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceTemplateList
Retrieves a list of instance templates that are contained within the specified project.
12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12072 def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstanceList
Retrieves the list of instances contained within the specified zone.
13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13107 def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', ) command.response_representation = Google::Apis::ComputeAlpha::InstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_instant_snapshots(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotList
Retrieves the list of InstantSnapshot resources contained within the specified zone.
15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15254 def list_instant_snapshots(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots', ) command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectAttachmentList
Retrieves the list of interconnect attachments contained within the specified region.
15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15745 def (project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectLocationList
Retrieves the list of interconnect locations available to the specified project.
16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16055 def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InterconnectList
Retrieves the list of interconnect available to the specified project.
16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16415 def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/interconnects', ) command.response_representation = Google::Apis::ComputeAlpha::InterconnectList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::LicensesListResponse
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 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. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17007 def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/licenses', ) command.response_representation = Google::Apis::ComputeAlpha::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeAlpha::LicensesListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineImageList
Retrieves a list of machine images that are contained within the specified project.
17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17345 def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/machineImages', ) command.response_representation = Google::Apis::ComputeAlpha::MachineImageList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineImageList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::MachineTypeList
Retrieves a list of machine types available to the specified project.
17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17628 def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes', ) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
Lists the network endpoints in the specified network endpoint group.
18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18425 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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of network endpoint groups that are located in the specified project and zone.
18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18340 def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the policies that have been configured for the specified project.
18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18960 def list_network_firewall_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/firewallPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_ip_addresses(project, network, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpAddressesList
Lists the internal IP addresses in the specified network.
19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19619 def list_network_ip_addresses(project, network, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listIpAddresses', ) command.response_representation = Google::Apis::ComputeAlpha::IpAddressesList::Representation command.response_class = Google::Apis::ComputeAlpha::IpAddressesList command.params['project'] = project unless project.nil? command.params['network'] = network unless network.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['types'] = types unless types.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, return_partial_success: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::IpOwnerList
Lists the internal IP owners in the specified network.
19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19710 def list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, return_partial_success: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listIpOwners', ) command.response_representation = Google::Apis::ComputeAlpha::IpOwnerList::Representation command.response_class = Google::Apis::ComputeAlpha::IpOwnerList command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['filter'] = filter unless filter.nil? command.query['ipCidrRange'] = ip_cidr_range unless ip_cidr_range.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['ownerProjects'] = owner_projects unless owner_projects.nil? command.query['ownerTypes'] = owner_types unless owner_types.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['subnetName'] = subnet_name unless subnet_name.nil? command.query['subnetRegion'] = subnet_region unless subnet_region.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ExchangedPeeringRoutesList
Lists the peering routes exchanged over peering connection.
19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19802 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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listPeeringRoutes', ) command.response_representation = Google::Apis::ComputeAlpha::ExchangedPeeringRoutesList::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project.
19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19537 def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/networks', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroupsListNodes
Lists nodes in the node group.
20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20587 def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', ) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupsListNodes::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeGroupList
Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group.
20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20505 def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTemplateList
Retrieves a list of node templates available to the specified project.
21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21128 def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates', ) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateList::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NodeTypeList
Retrieves a list of node types available to the specified project.
21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21418 def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes', ) command.response_representation = Google::Apis::ComputeAlpha::NodeTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21841 def list_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/securityPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList 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['parentId'] = parent_id unless parent_id.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_security_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OrganizationSecurityPoliciesListAssociationsResponse
Lists associations of a specified target, i.e., organization or folder.
21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21879 def list_organization_security_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'locations/global/securityPolicies/listAssociations', ) command.response_representation = Google::Apis::ComputeAlpha::OrganizationSecurityPoliciesListAssociationsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::OrganizationSecurityPoliciesListAssociationsResponse command.query['targetResource'] = target_resource unless target_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 |
#list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PacketMirroringList
Retrieves a list of PacketMirroring resources available to the specified project and region.
22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22417 def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings', ) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringList::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroringList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::XpnHostList
Lists all shared VPC host projects visible to the user in an organization.
22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22928 def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/listXpnHosts', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeAlpha::XpnHostList::Representation command.response_class = Google::Apis::ComputeAlpha::XpnHostList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_public_advertised_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList
Lists the PublicAdvertisedPrefixes for a project.
23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23432 def list_public_advertised_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes', ) command.response_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefixes(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::PublicDelegatedPrefixList
Lists the PublicDelegatedPrefixes for a project in the given region.
23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23789 def list_public_delegated_prefixes(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', ) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionAutoscalerList
Retrieves a list of autoscalers contained within the specified region.
24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24064 def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', ) command.response_representation = Google::Apis::ComputeAlpha::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionAutoscalerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::BackendServiceList
Retrieves the list of regional BackendService resources available to the specified project in the given region.
24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24521 def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices', ) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::CommitmentList
Retrieves a list of commitments contained within the specified region.
24972 24973 24974 24975 24976 24977 24978 24979 24980 24981 24982 24983 24984 24985 24986 24987 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24972 def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments', ) command.response_representation = Google::Apis::ComputeAlpha::CommitmentList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionDiskTypeList
Retrieves a list of regional disk types available to the specified project.
25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25247 def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes', ) command.response_representation = Google::Apis::ComputeAlpha::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionDiskTypeList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::DiskList
Retrieves the list of persistent disks contained within the specified region.
25631 25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25631 def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks', ) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckServicesList
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 26414 26415 26416 26417 26418 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26403 def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckServicesList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckServicesList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::HealthCheckList
Retrieves the list of HealthCheck resources available to the specified project.
26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 26737 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26722 def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks', ) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.
28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28724 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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse
Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported.
27454 27455 27456 27457 27458 27459 27460 27461 27462 27463 27464 27465 27466 27467 27468 27469 27470 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27454 def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.
27539 27540 27541 27542 27543 27544 27545 27546 27547 27548 27549 27550 27551 27552 27553 27554 27555 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27539 def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported.
27623 27624 27625 27626 27627 27628 27629 27630 27631 27632 27633 27634 27635 27636 27637 27638 27639 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27623 def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
Retrieves the list of managed instance groups that are contained within the specified region.
27369 27370 27371 27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 27384 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27369 def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionInstanceGroupList
Retrieves the list of instance group resources contained within the specified region.
28638 28639 28640 28641 28642 28643 28644 28645 28646 28647 28648 28649 28650 28651 28652 28653 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28638 def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups', ) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::InstantSnapshotList
Retrieves the list of InstantSnapshot resources contained within the specified region.
29195 29196 29197 29198 29199 29200 29201 29202 29203 29204 29205 29206 29207 29208 29209 29210 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29195 def list_region_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots', ) command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkEndpointGroupList
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
29562 29563 29564 29565 29566 29567 29568 29569 29570 29571 29572 29573 29574 29575 29576 29577 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29562 def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? command.params['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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_network_firewall_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::FirewallPolicyList
Lists all the network firewall policies that have been configured for the specified project in the given region.
30120 30121 30122 30123 30124 30125 30126 30127 30128 30129 30130 30131 30132 30133 30134 30135 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30120 def list_region_network_firewall_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_networks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NetworkList
Retrieves the list of networks available to the specified project in the given region.
30684 30685 30686 30687 30688 30689 30690 30691 30692 30693 30694 30695 30696 30697 30698 30699 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30684 def list_region_networks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks', ) command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::NotificationEndpointList
Lists the NotificationEndpoints for a project in the given region.
31075 31076 31077 31078 31079 31080 31081 31082 31083 31084 31085 31086 31087 31088 31089 31090 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31075 def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', ) command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointList::Representation command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified region.
31273 31274 31275 31276 31277 31278 31279 31280 31281 31282 31283 31284 31285 31286 31287 31288 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31273 def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_security_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project and region.
31545 31546 31547 31548 31549 31550 31551 31552 31553 31554 31555 31556 31557 31558 31559 31560 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31545 def list_region_security_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project in the specified region.
31820 31821 31822 31823 31824 31825 31826 31827 31828 31829 31830 31831 31832 31833 31834 31835 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31820 def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesList
Lists all the SSL policies that have been configured for the specified project and region.
32086 32087 32088 32089 32090 32091 32092 32093 32094 32095 32096 32097 32098 32099 32100 32101 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32086 def list_region_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 32177 32178 32179 32180 32181 32182 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32167 def list_region_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? command.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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.
32485 32486 32487 32488 32489 32490 32491 32492 32493 32494 32495 32496 32497 32498 32499 32500 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32485 def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.
32802 32803 32804 32805 32806 32807 32808 32809 32810 32811 32812 32813 32814 32815 32816 32817 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32802 def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project in the specified region.
33258 33259 33260 33261 33262 33263 33264 33265 33266 33267 33268 33269 33270 33271 33272 33273 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33258 def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RegionList
Retrieves the list of region resources available to the specified project. To
decrease latency for this method, you can optionally omit any unneeded
information from the response by using a field mask. This practice is
especially recommended for unused quota information (the items.quotas
field).
To exclude one or more fields, set your request's fields
query parameter to
only include the fields you need. For example, to only include the id
and
selfLink
fields, add the query parameter ?fields=id,selfLink
to your
request.
33563 33564 33565 33566 33567 33568 33569 33570 33571 33572 33573 33574 33575 33576 33577 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33563 def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions', ) command.response_representation = Google::Apis::ComputeAlpha::RegionList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ReservationList
A list of all the reservations that have been configured for the specified project in specified zone.
33911 33912 33913 33914 33915 33916 33917 33918 33919 33920 33921 33922 33923 33924 33925 33926 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33911 def list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations', ) command.response_representation = Google::Apis::ComputeAlpha::ReservationList::Representation command.response_class = Google::Apis::ComputeAlpha::ReservationList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ResourcePolicyList
A list all the resource policies that have been configured for the specified project in specified region.
34456 34457 34458 34459 34460 34461 34462 34463 34464 34465 34466 34467 34468 34469 34470 34471 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34456 def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies', ) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouterList
Retrieves a list of Router resources available to the specified project.
34975 34976 34977 34978 34979 34980 34981 34982 34983 34984 34985 34986 34987 34988 34989 34990 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34975 def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers', ) command.response_representation = Google::Apis::ComputeAlpha::RouterList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RouteList
Retrieves the list of Route resources available to the specified project.
35381 35382 35383 35384 35385 35386 35387 35388 35389 35390 35391 35392 35393 35394 35395 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35381 def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/routes', ) command.response_representation = Google::Apis::ComputeAlpha::RouteList::Representation command.response_class = Google::Apis::ComputeAlpha::RouteList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPolicyList
List all the policies that have been configured for the specified project.
35798 35799 35800 35801 35802 35803 35804 35805 35806 35807 35808 35809 35810 35811 35812 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35798 def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/securityPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
35876 35877 35878 35879 35880 35881 35882 35883 35884 35885 35886 35887 35888 35889 35890 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35876 def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets', ) command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_service_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ServiceAttachmentList
Lists the ServiceAttachments for a project in the given scope.
36439 36440 36441 36442 36443 36444 36445 36446 36447 36448 36449 36450 36451 36452 36453 36454 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36439 def (project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments', ) command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentList::Representation command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SnapshotList
Retrieves the list of Snapshot resources contained within the specified project.
36837 36838 36839 36840 36841 36842 36843 36844 36845 36846 36847 36848 36849 36850 36851 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36837 def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/snapshots', ) command.response_representation = Google::Apis::ComputeAlpha::SnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::SnapshotList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslCertificateList
Retrieves the list of SslCertificate resources available to the specified project.
37252 37253 37254 37255 37256 37257 37258 37259 37260 37261 37262 37263 37264 37265 37266 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37252 def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', ) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesList
Lists all the SSL policies that have been configured for the specified project.
37588 37589 37590 37591 37592 37593 37594 37595 37596 37597 37598 37599 37600 37601 37602 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37588 def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/sslPolicies', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
37666 37667 37668 37669 37670 37671 37672 37673 37674 37675 37676 37677 37678 37679 37680 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37666 def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/listAvailableFeatures', ) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList
Retrieves an aggregated list of all usable subnetworks in the project.
38239 38240 38241 38242 38243 38244 38245 38246 38247 38248 38249 38250 38251 38252 38253 38254 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38239 def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', ) command.response_representation = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['serviceProject'] = service_project unless service_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 |
#list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::SubnetworkList
Retrieves a list of subnetworks available to the specified project.
38157 38158 38159 38160 38161 38162 38163 38164 38165 38166 38167 38168 38169 38170 38171 38172 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38157 def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks', ) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetGrpcProxyList
Lists the TargetGrpcProxies for a project in the given scope.
38652 38653 38654 38655 38656 38657 38658 38659 38660 38661 38662 38663 38664 38665 38666 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38652 def list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetGrpcProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetGrpcProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetGrpcProxyList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpProxyList
Retrieves the list of TargetHttpProxy resources available to the specified project.
39039 39040 39041 39042 39043 39044 39045 39046 39047 39048 39049 39050 39051 39052 39053 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39039 def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetHttpsProxyList
Retrieves the list of TargetHttpsProxy resources available to the specified project.
39476 39477 39478 39479 39480 39481 39482 39483 39484 39485 39486 39487 39488 39489 39490 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39476 def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetInstanceList
Retrieves a list of TargetInstance resources available to the specified project and zone.
40129 40130 40131 40132 40133 40134 40135 40136 40137 40138 40139 40140 40141 40142 40143 40144 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40129 def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances', ) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetPoolList
Retrieves a list of target pools available to the specified project and region.
40626 40627 40628 40629 40630 40631 40632 40633 40634 40635 40636 40637 40638 40639 40640 40641 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40626 def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools', ) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetSslProxyList
Retrieves the list of TargetSslProxy resources available to the specified project.
41041 41042 41043 41044 41045 41046 41047 41048 41049 41050 41051 41052 41053 41054 41055 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41041 def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetTcpProxyList
Retrieves the list of TargetTcpProxy resources available to the specified project.
41545 41546 41547 41548 41549 41550 41551 41552 41553 41554 41555 41556 41557 41558 41559 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41545 def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies', ) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TargetVpnGatewayList
Retrieves a list of target VPN gateways available to the specified project and region.
41990 41991 41992 41993 41994 41995 41996 41997 41998 41999 42000 42001 42002 42003 42004 42005 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41990 def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapList
Retrieves the list of UrlMap resources available to the specified project.
42434 42435 42436 42437 42438 42439 42440 42441 42442 42443 42444 42445 42446 42447 42448 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42434 def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/global/urlMaps', ) command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnGatewayList
Retrieves a list of VPN gateways available to the specified project and region.
42959 42960 42961 42962 42963 42964 42965 42966 42967 42968 42969 42970 42971 42972 42973 42974 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42959 def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways', ) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewayList 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::VpnTunnelList
Retrieves a list of VpnTunnel resources contained in the specified project and region.
43362 43363 43364 43365 43366 43367 43368 43369 43370 43371 43372 43373 43374 43375 43376 43377 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43362 def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels', ) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::OperationList
Retrieves a list of Operation resources contained within the specified zone.
43614 43615 43616 43617 43618 43619 43620 43621 43622 43623 43624 43625 43626 43627 43628 43629 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43614 def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations', ) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::ZoneList
Retrieves the list of Zone resources available to the specified project.
43777 43778 43779 43780 43781 43782 43783 43784 43785 43786 43787 43788 43789 43790 43791 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43777 def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/zones', ) command.response_representation = Google::Apis::ComputeAlpha::ZoneList::Representation command.response_class = Google::Apis::ComputeAlpha::ZoneList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy(firewall_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves the specified firewall policy.
4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4426 def move_firewall_policy(firewall_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/move', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['parentId'] = parent_id unless parent_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_organization_security_policy(security_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves the specified security policy.
21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21924 def move_organization_security_policy(security_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/move', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['parentId'] = parent_id unless parent_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves a persistent disk from one zone to another.
22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22979 def move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/moveDisk', ) command.request_representation = Google::Apis::ComputeAlpha::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Moves an instance and its attached persistent disks from one zone to another. * Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the known issue .
23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23031 def move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/moveInstance', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceMoveRequest::Representation command.request_object = instance_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1007 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, 'projects/{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1508 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, 'projects/{project}/global/backendBuckets/{backendBucket}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2221 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, 'projects/{project}/global/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4948 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, 'projects/{project}/global/firewalls/{firewall}', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_firewall_policy(firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4472 def patch_firewall_policy(firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'locations/global/firewallPolicies/{firewallPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_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_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4521 def patch_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5399 def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6550 def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/forwardingRules/{forwardingRule}', ) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_global_public_delegated_prefix(project, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7761 def patch_global_public_delegated_prefix(project, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8108 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, 'projects/{project}/global/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8460 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, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8812 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, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status.
9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9340 def patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/images/{image}', ) command.request_representation = Google::Apis::ComputeAlpha::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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 |
#patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10367 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or patches per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.
10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10423 def patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersPatchPerInstanceConfigsReq::Representation command.request_object = instance_group_managers_patch_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16468 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, 'projects/{project}/global/interconnects/{interconnect}', ) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15801 def (project, region, , = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', ) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = unless .nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19858 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, 'projects/{project}/global/networks/{network}', ) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_network_edge_security_service(project, region, network_edge_security_service, network_edge_security_service_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17914 def patch_network_edge_security_service(project, region, network_edge_security_service, network_edge_security_service_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkEdgeSecurityService::Representation command.request_object = network_edge_security_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['networkEdgeSecurityService'] = network_edge_security_service unless network_edge_security_service.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.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_firewall_policy(project, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19011 def patch_network_firewall_policy(project, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/firewallPolicies/{firewallPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19063 def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified node group.
20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20642 def patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', ) command.request_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.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 |
#patch_organization_security_policy(security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21970 def patch_organization_security_policy(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, 'locations/global/securityPolicies/{securityPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['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_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22019 def patch_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22473 def patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', ) command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_advertised_prefix(project, public_advertised_prefix, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23485 def patch_public_advertised_prefix(project, public_advertised_prefix, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', ) command.request_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.request_object = public_advertised_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_public_delegated_prefix(project, region, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23845 def patch_public_delegated_prefix(project, region, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', ) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24120 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, 'projects/{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24578 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, 'projects/{project}/regions/{region}/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
26778 26779 26780 26781 26782 26783 26784 26785 26786 26787 26788 26789 26790 26791 26792 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26778 def patch_region_health_check(project, region, 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, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26460 def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheckService'] = health_check_service unless health_check_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
27687 27688 27689 27690 27691 27692 27693 27694 27695 27696 27697 27698 27699 27700 27701 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27687 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or patches per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.
27742 27743 27744 27745 27746 27747 27748 27749 27750 27751 27752 27753 27754 27755 27756 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27742 def patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerPatchInstanceConfigReq::Representation command.request_object = region_instance_group_manager_patch_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_network_firewall_policy(project, region, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified network firewall policy.
30174 30175 30176 30177 30178 30179 30180 30181 30182 30183 30184 30185 30186 30187 30188 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30174 def patch_region_network_firewall_policy(project, region, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation command.request_object = firewall_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_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_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule of the specified priority.
30229 30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 30243 30244 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30229 def patch_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation command.request_object = firewall_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request.
31599 31600 31601 31602 31603 31604 31605 31606 31607 31608 31609 31610 31611 31612 31613 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31599 def patch_region_security_policy(project, region, 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, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
32222 32223 32224 32225 32226 32227 32228 32229 32230 32231 32232 32233 32234 32235 32236 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32222 def patch_region_ssl_policy(project, region, 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, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
32858 32859 32860 32861 32862 32863 32864 32865 32866 32867 32868 32869 32870 32871 32872 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32858 def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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 |
#patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
33306 33307 33308 33309 33310 33311 33312 33313 33314 33315 33316 33317 33318 33319 33320 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33306 def patch_region_url_map(project, region, 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, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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 |
#patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
35031 35032 35033 35034 35035 35036 35037 35038 35039 35040 35041 35042 35043 35044 35045 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35031 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, 'projects/{project}/regions/{region}/routers/{router}', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified policy with the data included in the request. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
35929 35930 35931 35932 35933 35934 35935 35936 35937 35938 35939 35940 35941 35942 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35929 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, 'projects/{project}/global/securityPolicies/{securityPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches a rule at the specified priority.
35973 35974 35975 35976 35977 35978 35979 35980 35981 35982 35983 35984 35985 35986 35987 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35973 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, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_service_attachment(project, region, service_attachment, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
36496 36497 36498 36499 36500 36501 36502 36503 36504 36505 36506 36507 36508 36509 36510 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36496 def (project, region, , = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', ) command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['serviceAttachment'] = 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_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified SSL policy with the data included in the request.
37718 37719 37720 37721 37722 37723 37724 37725 37726 37727 37728 37729 37730 37731 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37718 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, 'projects/{project}/global/sslPolicies/{sslPolicy}', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
38304 38305 38306 38307 38308 38309 38310 38311 38312 38313 38314 38315 38316 38317 38318 38319 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38304 def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', ) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['drainTimeoutSeconds'] = drain_timeout_seconds unless drain_timeout_seconds.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
38705 38706 38707 38708 38709 38710 38711 38712 38713 38714 38715 38716 38717 38718 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38705 def patch_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', ) command.request_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation command.request_object = target_grpc_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_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 |
#patch_target_http_proxy(project, target_http_proxy, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
39092 39093 39094 39095 39096 39097 39098 39099 39100 39101 39102 39103 39104 39105 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39092 def patch_target_http_proxy(project, target_http_proxy, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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 |
#patch_target_https_proxy(project, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
39529 39530 39531 39532 39533 39534 39535 39536 39537 39538 39539 39540 39541 39542 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39529 def patch_target_https_proxy(project, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.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 |
#patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
42487 42488 42489 42490 42491 42492 42493 42494 42495 42496 42497 42498 42499 42500 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42487 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, 'projects/{project}/global/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Perform a manual maintenance on the instance.
13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13247 def perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/performMaintenance', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::RoutersPreviewResponse
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
35075 35076 35077 35078 35079 35080 35081 35082 35083 35084 35085 35086 35087 35088 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35075 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, 'projects/{project}/regions/{region}/routers/{router}/preview', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::RoutersPreviewResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RoutersPreviewResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. 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 each instance by checking its currentAction field; for more information, see Checking the status of managed 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 has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10485 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. 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 each instance by checking its currentAction field; for more information, see Checking the status of managed 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 has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
27804 27805 27806 27807 27808 27809 27810 27811 27812 27813 27814 27815 27816 27817 27818 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27804 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_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::ComputeAlpha::Operation
Removes resource policies from a disk.
3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3183 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, 'projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::DisksRemoveResourcePoliciesRequest::Representation command.request_object = disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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_firewall_policy_association(firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified firewall policy.
4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4570 def remove_firewall_policy_association(firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removeAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless 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 |
#remove_firewall_policy_rule(firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4617 def remove_firewall_policy_rule(firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.
11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11723 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, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_instance_resource_policies(project, zone, instance, instances_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes resource policies from an instance.
13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13298 def remove_instance_resource_policies(project, zone, instance, instances_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, 'projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesRemoveResourcePoliciesRequest::Representation command.request_object = instances_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_network_firewall_policy_association(project, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified firewall policy.
19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19115 def remove_network_firewall_policy_association(project, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless 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 |
#remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19165 def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes a peering from the specified network.
19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19908 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, 'projects/{project}/global/networks/{network}/removePeering', ) command.request_representation = Google::Apis::ComputeAlpha::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_organization_security_policy_association(security_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified security policy.
22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22068 def remove_organization_security_policy_association(security_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/removeAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['name'] = name unless 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 |
#remove_organization_security_policy_rule(security_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22115 def remove_organization_security_policy_rule(security_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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::ComputeAlpha::Operation
Removes resource policies from a regional disk.
25685 25686 25687 25688 25689 25690 25691 25692 25693 25694 25695 25696 25697 25698 25699 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25685 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, 'projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksRemoveResourcePoliciesRequest::Representation command.request_object = region_disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes an association for the specified network firewall policy.
30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30284 def remove_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['name'] = name unless 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 |
#remove_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule of the specified priority.
30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30337 def remove_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Deletes a rule at the specified priority.
36015 36016 36017 36018 36019 36020 36021 36022 36023 36024 36025 36026 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36015 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, 'projects/{project}/global/securityPolicies/{securityPolicy}/removeRule', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes health check URL from a target pool.
40680 40681 40682 40683 40684 40685 40686 40687 40688 40689 40690 40691 40692 40693 40694 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40680 def remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveHealthCheckRequest::Representation command.request_object = target_pools_remove_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Removes instance URL from a target pool.
40733 40734 40735 40736 40737 40738 40739 40740 40741 40742 40743 40744 40745 40746 40747 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40733 def remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance', ) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveInstanceRequest::Representation command.request_object = target_pools_remove_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance.
13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13351 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, 'projects/{project}/zones/{zone}/instances/{instance}/reset', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified persistent disk. You can only increase the size of the disk.
3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 |
# File 'lib/google/apis/compute_alpha/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, 'projects/{project}/zones/{zone}/disks/{disk}/resize', ) command.request_representation = Google::Apis::ComputeAlpha::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. 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.
10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10554 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. If you increase the size of the instance group, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating, creatingWithoutRetries, or deleting actions with the get or listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10617 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the specified regional persistent disk.
25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25738 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, 'projects/{project}/regions/{region}/disks/{disk}/resize', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the intended size 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.
27866 27867 27868 27869 27870 27871 27872 27873 27874 27875 27876 27877 27878 27879 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27866 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resize_region_instance_group_manager_advanced(project, region, instance_group_manager, region_instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the regional 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, 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 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.
27930 27931 27932 27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 27943 27944 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27930 def resize_region_instance_group_manager_advanced(project, region, instance_group_manager, region_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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = region_instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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 |
#resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations.
33966 33967 33968 33969 33970 33971 33972 33973 33974 33975 33976 33977 33978 33979 33980 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33966 def resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/resize', ) command.request_representation = Google::Apis::ComputeAlpha::ReservationsResizeRequest::Representation command.request_object = reservations_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Resumes an instance that was suspended using the instances().suspend method.
13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13402 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, 'projects/{project}/zones/{zone}/instances/{instance}/resume', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resume_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be resumed. This method increases the targetSize and decreases the targetSuspendedSize of the managed instance group by the number of instances that you resume. The resumeInstances operation is marked DONE if the resumeInstances request is successful. The underlying actions take additional time. You must separately verify the status of the RESUMING action with the listmanagedinstances method. In this request, you can only specify instances that are suspended. For example, if an instance was previously suspended using the suspendInstances method, it can be resumed using the resumeInstances method. If a health check is attached to the managed instance group, the specified instances will be verified as healthy after they are resumed. You can specify a maximum of 1000 instances with this method per request.
10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10681 def resume_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersResumeInstancesRequest::Representation command.request_object = instance_group_managers_resume_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resume_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be resumed. This method increases the targetSize and decreases the targetSuspendedSize of the managed instance group by the number of instances that you resume. The resumeInstances operation is marked DONE if the resumeInstances request is successful. The underlying actions take additional time. You must separately verify the status of the RESUMING action with the listmanagedinstances method. In this request, you can only specify instances that are suspended. For example, if an instance was previously suspended using the suspendInstances method, it can be resumed using the resumeInstances method. If a health check is attached to the managed instance group, the specified instances will be verified as healthy after they are resumed. You can specify a maximum of 1000 instances with this method per request.
27994 27995 27996 27997 27998 27999 28000 28001 28002 28003 28004 28005 28006 28007 28008 |
# File 'lib/google/apis/compute_alpha/service.rb', line 27994 def resume_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResumeInstancesRequest::Representation command.request_object = region_instance_group_managers_resume_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#send_instance_diagnostic_interrupt(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Sends diagnostic interrupt to the instance.
13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13444 def send_instance_diagnostic_interrupt(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt', ) 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 |
#set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 |
# File 'lib/google/apis/compute_alpha/service.rb', line 604 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, 'projects/{project}/regions/{region}/addresses/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_bucket_edge_security_policy(project, backend_bucket, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the edge security policy for the specified backend bucket.
1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1559 def set_backend_bucket_edge_security_policy(project, backend_bucket, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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 |
#set_backend_bucket_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1600 def set_backend_bucket_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, 'projects/{project}/global/backendBuckets/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_service_edge_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the edge security policy for the specified backend service.
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2272 def set_backend_service_edge_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, 'projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_service_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2313 def set_backend_service_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, 'projects/{project}/global/backendServices/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview
2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2364 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, 'projects/{project}/global/backendServices/{backendService}/setSecurityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/google/apis/compute_alpha/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, 'projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.
3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3334 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, 'projects/{project}/zones/{zone}/disks/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.
3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3846 def set_external_vpn_gateway_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, 'projects/{project}/global/externalVpnGateways/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_firewall_policy_iam_policy(resource, global_organization_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4654 def set_firewall_policy_iam_policy(resource, global_organization_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalOrganizationSetPolicyRequest::Representation command.request_object = global_organization_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy 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_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5453 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, 'projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for forwarding rule. The new target should be of the same type as the old target.
5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5507 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, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6250 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, 'projects/{project}/global/addresses/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.
6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6591 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, 'projects/{project}/global/forwardingRules/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6641 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, 'projects/{project}/global/forwardingRules/{forwardingRule}/setTarget', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9381 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, 'projects/{project}/global/images/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.
9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9421 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, 'projects/{project}/global/images/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets deletion protection on the instance.
13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13493 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, 'projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['deletionProtection'] = deletion_protection unless deletion_protection.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the auto-delete flag for a disk attached to an instance.
13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13549 def set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['autoDelete'] = auto_delete unless auto_delete.nil? command.query['deviceName'] = device_name unless device_name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Motifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch instead.
10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10736 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10792 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.
10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10850 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified instance group.
11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11776 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, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13593 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, 'projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.
13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13646 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, 'projects/{project}/zones/{zone}/instances/{instance}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13700 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, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineResources', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13754 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, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineType', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata for the specified instance to the data included in the request.
13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13807 def (project, zone, instance, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMetadata', ) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform.
13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13862 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, 'projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets name of an instance.
13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13915 def set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setName', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetNameRequest::Representation command.request_object = instances_set_name_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets an instance's scheduling options. You can only call this method on a
stopped instance, that is, a VM instance that is in a TERMINATED
state. See
Instance Life Cycle for more information on the possible instance states. For
more information about setting scheduling options for a VM, see Set VM
availability policies.
13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 |
# File 'lib/google/apis/compute_alpha/service.rb', line 13972 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, 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling', ) command.request_representation = Google::Apis::ComputeAlpha::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance.
14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14026 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, 'projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14081 def set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ShieldedInstanceIntegrityPolicy::Representation command.request_object = shielded_instance_integrity_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['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::ComputeAlpha::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.
14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14136 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, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation command.request_object = shielded_vm_integrity_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets network tags for the specified instance to the data included in the request.
14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14190 def (project, zone, instance, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setTags', ) command.request_representation = Google::Apis::ComputeAlpha::Tags::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12114 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, 'projects/{project}/global/instanceTemplates/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instant_snapshot_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15299 def set_instant_snapshot_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, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_instant_snapshot_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation.
15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15352 def set_instant_snapshot_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, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_attachment_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15845 def (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, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15898 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, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16509 def set_interconnect_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, 'projects/{project}/global/interconnects/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16549 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, 'projects/{project}/global/interconnects/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_license_code_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third- party partners who are creating Cloud Marketplace images.
16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16709 def set_license_code_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, 'projects/{project}/global/licenseCodes/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third- party partners who are creating Cloud Marketplace images.
17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17050 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, 'projects/{project}/global/licenses/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_machine_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17387 def set_machine_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, 'projects/{project}/global/machineImages/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_network_firewall_policy_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19205 def set_network_firewall_policy_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, 'projects/{project}/global/firewallPolicies/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20686 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, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_node_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::ComputeAlpha::Operation
Updates the node template of the node group.
20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20738 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, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', ) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest::Representation command.request_object = node_groups_set_node_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21173 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, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets metadata common to all instances within the specified project using the data included in the request.
23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23079 def (project, = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/setCommonInstanceMetadata', ) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field.
23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23128 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, 'projects/{project}/setDefaultNetworkTier', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the default service account of the project. The default service account is used when a VM instance is created with the service account email address set to "default".
23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23177 def set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/setDefaultServiceAccount', ) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultServiceAccountRequest::Representation command.request_object = projects_set_default_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.
23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 |
# File 'lib/google/apis/compute_alpha/service.rb', line 23226 def set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', ) command.request_representation = Google::Apis::ComputeAlpha::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_backend_service_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24622 def set_region_backend_service_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, 'projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25782 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, 'projects/{project}/regions/{region}/disks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on the target regional disk.
25834 25835 25836 25837 25838 25839 25840 25841 25842 25843 25844 25845 25846 25847 25848 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25834 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, 'projects/{project}/regions/{region}/disks/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers. patch instead.
28049 28050 28051 28052 28053 28054 28055 28056 28057 28058 28059 28060 28061 28062 28063 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28049 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.
28103 28104 28105 28106 28107 28108 28109 28110 28111 28112 28113 28114 28115 28116 28117 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28103 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
28157 28158 28159 28160 28161 28162 28163 28164 28165 28166 28167 28168 28169 28170 28171 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28157 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the named ports for the specified regional instance group.
28781 28782 28783 28784 28785 28786 28787 28788 28789 28790 28791 28792 28793 28794 28795 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28781 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, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instant_snapshot_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
29240 29241 29242 29243 29244 29245 29246 29247 29248 29249 29250 29251 29252 29253 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29240 def set_region_instant_snapshot_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, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_instant_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation.
29293 29294 29295 29296 29297 29298 29299 29300 29301 29302 29303 29304 29305 29306 29307 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29293 def set_region_instant_snapshot_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, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_network_firewall_policy_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
30380 30381 30382 30383 30384 30385 30386 30387 30388 30389 30390 30391 30392 30393 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30380 def set_region_network_firewall_policy_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, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_network_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30729 def set_region_network_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, 'projects/{project}/regions/{region}/networks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
32539 32540 32541 32542 32543 32544 32545 32546 32547 32548 32549 32550 32551 32552 32553 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32539 def set_region_target_http_proxy_url_map(project, region, 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, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
32911 32912 32913 32914 32915 32916 32917 32918 32919 32920 32921 32922 32923 32924 32925 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32911 def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_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, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = region_target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
32964 32965 32966 32967 32968 32969 32970 32971 32972 32973 32974 32975 32976 32977 32978 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32964 def set_region_target_https_proxy_url_map(project, region, 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, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_reservation_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
34010 34011 34012 34013 34014 34015 34016 34017 34018 34019 34020 34021 34022 34023 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34010 def set_reservation_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, 'projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_resource_policy_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
34501 34502 34503 34504 34505 34506 34507 34508 34509 34510 34511 34512 34513 34514 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34501 def set_resource_policy_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, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Operation
Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.
36054 36055 36056 36057 36058 36059 36060 36061 36062 36063 36064 36065 36066 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36054 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, 'projects/{project}/global/securityPolicies/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_service_attachment_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
36540 36541 36542 36543 36544 36545 36546 36547 36548 36549 36550 36551 36552 36553 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36540 def (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, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_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::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
36879 36880 36881 36882 36883 36884 36885 36886 36887 36888 36889 36890 36891 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36879 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, 'projects/{project}/global/snapshots/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation.
36919 36920 36921 36922 36923 36924 36925 36926 36927 36928 36929 36930 36931 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36919 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, 'projects/{project}/global/snapshots/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
38349 38350 38351 38352 38353 38354 38355 38356 38357 38358 38359 38360 38361 38362 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38349 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, 'projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
38402 38403 38404 38405 38406 38407 38408 38409 38410 38411 38412 38413 38414 38415 38416 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38402 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, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', ) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpProxy.
39142 39143 39144 39145 39146 39147 39148 39149 39150 39151 39152 39153 39154 39155 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39142 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, 'projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the Certificate Map for TargetHttpsProxy.
39580 39581 39582 39583 39584 39585 39586 39587 39588 39589 39590 39591 39592 39593 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39580 def set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetCertificateMapRequest::Representation command.request_object = target_https_proxies_set_certificate_map_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the QUIC override policy for TargetHttpsProxy.
39631 39632 39633 39634 39635 39636 39637 39638 39639 39640 39641 39642 39643 39644 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39631 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, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Replaces SslCertificates for TargetHttpsProxy.
39681 39682 39683 39684 39685 39686 39687 39688 39689 39690 39691 39692 39693 39694 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39681 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, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.
39735 39736 39737 39738 39739 39740 39741 39742 39743 39744 39745 39746 39747 39748 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39735 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, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the URL map for TargetHttpsProxy.
39785 39786 39787 39788 39789 39790 39791 39792 39793 39794 39795 39796 39797 39798 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39785 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, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes a backup target pool's configurations.
40788 40789 40790 40791 40792 40793 40794 40795 40796 40797 40798 40799 40800 40801 40802 40803 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40788 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, 'projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup', ) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['failoverRatio'] = failover_ratio unless failover_ratio.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetSslProxy.
41092 41093 41094 41095 41096 41097 41098 41099 41100 41101 41102 41103 41104 41105 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41092 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the Certificate Map for TargetSslProxy.
41143 41144 41145 41146 41147 41148 41149 41150 41151 41152 41153 41154 41155 41156 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41143 def set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetCertificateMapRequest::Representation command.request_object = target_ssl_proxies_set_certificate_map_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetSslProxy.
41193 41194 41195 41196 41197 41198 41199 41200 41201 41202 41203 41204 41205 41206 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41193 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes SslCertificates for TargetSslProxy.
41243 41244 41245 41246 41247 41248 41249 41250 41251 41252 41253 41254 41255 41256 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41243 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', ) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.
41297 41298 41299 41300 41301 41302 41303 41304 41305 41306 41307 41308 41309 41310 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41297 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, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', ) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the BackendService for TargetTcpProxy.
41596 41597 41598 41599 41600 41601 41602 41603 41604 41605 41606 41607 41608 41609 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41596 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, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Changes the ProxyHeaderType for TargetTcpProxy.
41646 41647 41648 41649 41650 41651 41652 41653 41654 41655 41656 41657 41658 41659 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41646 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, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', ) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.
42045 42046 42047 42048 42049 42050 42051 42052 42053 42054 42055 42056 42057 42058 42059 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42045 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, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation.
43014 43015 43016 43017 43018 43019 43020 43021 43022 43023 43024 43025 43026 43027 43028 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43014 def set_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, 'projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.
43417 43418 43419 43420 43421 43422 43423 43424 43425 43426 43427 43428 43429 43430 43431 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43417 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, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels', ) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event.
14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14233 def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts asynchronous replication. Must be invoked on the primary disk.
3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3387 def start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::DisksStartAsyncReplicationRequest::Representation command.request_object = disks_start_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.
14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14283 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, 'projects/{project}/zones/{zone}/instances/{instance}/start', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be started. This method increases the targetSize and decreases the targetStoppedSize of the managed instance group by the number of instances that you start. The startInstances operation is marked DONE if the startInstances request is successful. The underlying actions take additional time. You must separately verify the status of the STARTING action with the listmanagedinstances method. In this request, you can only specify instances that are stopped. For example, if an instance was previously stopped using the stopInstances method, it can be started using the startInstances method. If a health check is attached to the managed instance group, the specified instances will be verified as healthy after they are started. You can specify a maximum of 1000 instances with this method per request.
10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10914 def start_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersStartInstancesRequest::Representation command.request_object = instance_group_managers_start_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.
14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14335 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, 'projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', ) command.request_representation = Google::Apis::ComputeAlpha::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Starts asynchronous replication. Must be invoked on the primary disk.
25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25887 def start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStartAsyncReplicationRequest::Representation command.request_object = region_disks_start_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#start_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be started. This method increases the targetSize and decreases the targetStoppedSize of the managed instance group by the number of instances that you start. The startInstances operation is marked DONE if the startInstances request is successful. The underlying actions take additional time. You must separately verify the status of the STARTING action with the listmanagedinstances method. In this request, you can only specify instances that are stopped. For example, if an instance was previously stopped using the stopInstances method, it can be started using the startInstances method. If a health check is attached to the managed instance group, the specified instances will be verified as healthy after they are started. You can specify a maximum of 1000 instances with this method per request.
28221 28222 28223 28224 28225 28226 28227 28228 28229 28230 28231 28232 28233 28234 28235 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28221 def start_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStartInstancesRequest::Representation command.request_object = region_instance_group_managers_start_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_disk_async_replication(project, zone, disk, disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3441 def stop_disk_async_replication(project, zone, disk, disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest::Representation command.request_object = disks_stop_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3494 def stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::DisksStopGroupAsyncReplicationRequest::Representation command.request_object = disks_stop_group_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.
14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14394 def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately stopped. You can only specify instances that are running in this request. This method reduces the targetSize and increases the targetStoppedSize of the managed instance group by the number of instances that you stop. The stopInstances operation is marked DONE if the stopInstances request is successful. The underlying actions take additional time. You must separately verify the status of the STOPPING action with the listmanagedinstances method. If the standbyPolicy.initialDelaySec field is set, the group delays stopping the instances until initialDelaySec have passed from instance. creationTimestamp (that is, when the instance was created). This delay gives your application time to set itself up and initialize on the instance. If more than initialDelaySec seconds have passed since instance.creationTimestamp when this method is called, there will be zero delay. 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 stopped. Stopped instances can be started using the startInstances method. You can specify a maximum of 1000 instances with this method per request.
10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 |
# File 'lib/google/apis/compute_alpha/service.rb', line 10984 def stop_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersStopInstancesRequest::Representation command.request_object = instance_group_managers_stop_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_region_disk_async_replication(project, region, disk, region_disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
25941 25942 25943 25944 25945 25946 25947 25948 25949 25950 25951 25952 25953 25954 25955 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25941 def stop_region_disk_async_replication(project, region, disk, region_disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest::Representation command.request_object = region_disks_stop_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_region_disk_group_async_replication(project, region, region_disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25994 def stop_region_disk_group_async_replication(project, region, region_disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication', ) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest::Representation command.request_object = region_disks_stop_group_async_replication_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately stopped. You can only specify instances that are running in this request. This method reduces the targetSize and increases the targetStoppedSize of the managed instance group by the number of instances that you stop. The stopInstances operation is marked DONE if the stopInstances request is successful. The underlying actions take additional time. You must separately verify the status of the STOPPING action with the listmanagedinstances method. If the standbyPolicy.initialDelaySec field is set, the group delays stopping the instances until initialDelaySec have passed from instance. creationTimestamp (that is, when the instance was created). This delay gives your application time to set itself up and initialize on the instance. If more than initialDelaySec seconds have passed since instance.creationTimestamp when this method is called, there will be zero delay. 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 stopped. Stopped instances can be started using the startInstances method. You can specify a maximum of 1000 instances with this method per request.
28291 28292 28293 28294 28295 28296 28297 28298 28299 28300 28301 28302 28303 28304 28305 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28291 def stop_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStopInstancesRequest::Representation command.request_object = region_instance_group_managers_stop_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance.
14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14454 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, 'projects/{project}/zones/{zone}/instances/{instance}/suspend', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#suspend_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately suspended. You can only specify instances that are running in this request. This method reduces the targetSize and increases the targetSuspendedSize of the managed instance group by the number of instances that you suspend. The suspendInstances operation is marked DONE if the suspendInstances request is successful. The underlying actions take additional time. You must separately verify the status of the SUSPENDING action with the listmanagedinstances method. If the standbyPolicy.initialDelaySec field is set, the group delays suspension of the instances until initialDelaySec have passed from instance. creationTimestamp (that is, when the instance was created). This delay gives your application time to set itself up and initialize on the instance. If more than initialDelaySec seconds have passed since instance.creationTimestamp when this method is called, there will be zero delay. 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 suspended. Suspended instances can be resumed using the resumeInstances method. You can specify a maximum of 1000 instances with this method per request.
11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11054 def suspend_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSuspendInstancesRequest::Representation command.request_object = instance_group_managers_suspend_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#suspend_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Flags the specified instances in the managed instance group to be immediately suspended. You can only specify instances that are running in this request. This method reduces the targetSize and increases the targetSuspendedSize of the managed instance group by the number of instances that you suspend. The suspendInstances operation is marked DONE if the suspendInstances request is successful. The underlying actions take additional time. You must separately verify the status of the SUSPENDING action with the listmanagedinstances method. If the standbyPolicy.initialDelaySec field is set, the group delays suspension of the instances until initialDelaySec have passed from instance. creationTimestamp (that is, when the instance was created). This delay gives your application time to set itself up and initialize on the instance. If more than initialDelaySec seconds have passed since instance.creationTimestamp when this method is called, there will be zero delay. 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 suspended. Suspended instances can be resumed using the resumeInstances method. You can specify a maximum of 1000 instances with this method per request.
28361 28362 28363 28364 28365 28366 28367 28368 28369 28370 28371 28372 28373 28374 28375 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28361 def suspend_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSuspendInstancesRequest::Representation command.request_object = region_instance_group_managers_suspend_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Switches the network mode from auto subnet mode to custom subnet mode.
19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19957 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, 'projects/{project}/global/networks/{network}/switchToCustomMode', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
647 648 649 650 651 652 653 654 655 656 657 658 659 660 |
# File 'lib/google/apis/compute_alpha/service.rb', line 647 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1050 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1639 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2404 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3536 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3885 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4988 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewalls/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_firewall_policy_iam_permissions(resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 |
# File 'lib/google/apis/compute_alpha/service.rb', line 4690 def (resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'locations/global/firewallPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5550 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6289 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 |
# File 'lib/google/apis/compute_alpha/service.rb', line 6681 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8148 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/healthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8500 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8852 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 |
# File 'lib/google/apis/compute_alpha/service.rb', line 9460 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11819 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11097 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14496 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 |
# File 'lib/google/apis/compute_alpha/service.rb', line 12153 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_instant_snapshot_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15395 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 |
# File 'lib/google/apis/compute_alpha/service.rb', line 15941 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16588 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_interconnect_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16096 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/interconnectLocations/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 |
# File 'lib/google/apis/compute_alpha/service.rb', line 16750 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/licenseCodes/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17091 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/licenses/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 |
# File 'lib/google/apis/compute_alpha/service.rb', line 17426 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 |
# File 'lib/google/apis/compute_alpha/service.rb', line 18472 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_network_firewall_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19244 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 |
# File 'lib/google/apis/compute_alpha/service.rb', line 19995 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/networks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20781 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 |
# File 'lib/google/apis/compute_alpha/service.rb', line 21215 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 |
# File 'lib/google/apis/compute_alpha/service.rb', line 22516 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24163 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 24676 24677 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24664 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_commitment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25016 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26036 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_health_check_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
26821 26822 26823 26824 26825 26826 26827 26828 26829 26830 26831 26832 26833 26834 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26821 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_health_check_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26503 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
28824 28825 28826 28827 28828 28829 28830 28831 28832 28833 28834 28835 28836 28837 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28824 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
28404 28405 28406 28407 28408 28409 28410 28411 28412 28413 28414 28415 28416 28417 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28404 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_instant_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 |
# File 'lib/google/apis/compute_alpha/service.rb', line 29336 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_network_firewall_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
30422 30423 30424 30425 30426 30427 30428 30429 30430 30431 30432 30433 30434 30435 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30422 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_network_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
30771 30772 30773 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 |
# File 'lib/google/apis/compute_alpha/service.rb', line 30771 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/networks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_notification_endpoint_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
31119 31120 31121 31122 31123 31124 31125 31126 31127 31128 31129 31130 31131 31132 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31119 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource and region.
31864 31865 31866 31867 31868 31869 31870 31871 31872 31873 31874 31875 31876 31877 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31864 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_ssl_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
32265 32266 32267 32268 32269 32270 32271 32272 32273 32274 32275 32276 32277 32278 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32265 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
32582 32583 32584 32585 32586 32587 32588 32589 32590 32591 32592 32593 32594 32595 |
# File 'lib/google/apis/compute_alpha/service.rb', line 32582 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
33007 33008 33009 33010 33011 33012 33013 33014 33015 33016 33017 33018 33019 33020 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33007 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_url_map_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
33349 33350 33351 33352 33353 33354 33355 33356 33357 33358 33359 33360 33361 33362 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33349 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['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_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
34052 34053 34054 34055 34056 34057 34058 34059 34060 34061 34062 34063 34064 34065 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34052 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_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::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
34543 34544 34545 34546 34547 34548 34549 34550 34551 34552 34553 34554 34555 34556 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34543 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
35422 35423 35424 35425 35426 35427 35428 35429 35430 35431 35432 35433 35434 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35422 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/routes/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
35117 35118 35119 35120 35121 35122 35123 35124 35125 35126 35127 35128 35129 35130 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35117 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
36093 36094 36095 36096 36097 36098 36099 36100 36101 36102 36103 36104 36105 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36093 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_service_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
36582 36583 36584 36585 36586 36587 36588 36589 36590 36591 36592 36593 36594 36595 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36582 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
36958 36959 36960 36961 36962 36963 36964 36965 36966 36967 36968 36969 36970 |
# File 'lib/google/apis/compute_alpha/service.rb', line 36958 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
37293 37294 37295 37296 37297 37298 37299 37300 37301 37302 37303 37304 37305 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37293 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
37758 37759 37760 37761 37762 37763 37764 37765 37766 37767 37768 37769 37770 |
# File 'lib/google/apis/compute_alpha/service.rb', line 37758 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/sslPolicies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
38445 38446 38447 38448 38449 38450 38451 38452 38453 38454 38455 38456 38457 38458 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38445 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_grpc_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
38745 38746 38747 38748 38749 38750 38751 38752 38753 38754 38755 38756 38757 |
# File 'lib/google/apis/compute_alpha/service.rb', line 38745 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetGrpcProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
39182 39183 39184 39185 39186 39187 39188 39189 39190 39191 39192 39193 39194 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39182 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
39825 39826 39827 39828 39829 39830 39831 39832 39833 39834 39835 39836 39837 |
# File 'lib/google/apis/compute_alpha/service.rb', line 39825 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
40173 40174 40175 40176 40177 40178 40179 40180 40181 40182 40183 40184 40185 40186 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40173 def (project, zone, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
40832 40833 40834 40835 40836 40837 40838 40839 40840 40841 40842 40843 40844 40845 |
# File 'lib/google/apis/compute_alpha/service.rb', line 40832 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
41337 41338 41339 41340 41341 41342 41343 41344 41345 41346 41347 41348 41349 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41337 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
41686 41687 41688 41689 41690 41691 41692 41693 41694 41695 41696 41697 41698 |
# File 'lib/google/apis/compute_alpha/service.rb', line 41686 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
42088 42089 42090 42091 42092 42093 42094 42095 42096 42097 42098 42099 42100 42101 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42088 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
42527 42528 42529 42530 42531 42532 42533 42534 42535 42536 42537 42538 42539 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42527 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
43057 43058 43059 43060 43061 43062 43063 43064 43065 43066 43067 43068 43069 43070 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43057 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
43460 43461 43462 43463 43464 43465 43466 43467 43468 43469 43470 43471 43472 43473 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43460 def (project, region, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1103 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, 'projects/{project}/zones/{zone}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendBucket resource with the data included in the request.
1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'lib/google/apis/compute_alpha/service.rb', line 1689 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, 'projects/{project}/global/backendBuckets/{backendBucket}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 |
# File 'lib/google/apis/compute_alpha/service.rb', line 2454 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, 'projects/{project}/global/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 |
# File 'lib/google/apis/compute_alpha/service.rb', line 3593 def update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/disks/{disk}', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead.
5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5039 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, 'projects/{project}/global/firewalls/{firewall}', ) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_future_reservation(project, zone, future_reservation, future_reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified future reservation.
5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 |
# File 'lib/google/apis/compute_alpha/service.rb', line 5960 def update_future_reservation(project, zone, future_reservation, future_reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}', ) command.request_representation = Google::Apis::ComputeAlpha::FutureReservation::Representation command.request_object = future_reservation_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['futureReservation'] = future_reservation unless future_reservation.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8198 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, 'projects/{project}/global/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8550 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, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 |
# File 'lib/google/apis/compute_alpha/service.rb', line 8902 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, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance(project, zone, instance, instance_object = nil, clear_secure_tag: nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.
14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14562 def update_instance(project, zone, instance, instance_object = nil, clear_secure_tag: nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instances/{instance}', ) command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['clearSecureTag'] = clear_secure_tag unless clear_secure_tag.nil? command.query['minimalAction'] = minimal_action unless minimal_action.nil? command.query['mostDisruptiveAllowedAction'] = most_disruptive_allowed_action unless most_disruptive_allowed_action.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14622 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, 'projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig', ) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_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::ComputeAlpha::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.
14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14678 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, 'projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', ) command.request_representation = Google::Apis::ComputeAlpha::DisplayDevice::Representation command.request_object = display_device_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listManagedInstances method. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11157 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, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or updates per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.
11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 |
# File 'lib/google/apis/compute_alpha/service.rb', line 11213 def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_update_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics.
14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14737 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, 'projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', ) command.request_representation = Google::Apis::ComputeAlpha::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14793 def update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', ) command.request_representation = Google::Apis::ComputeAlpha::ShieldedInstanceConfig::Representation command.request_object = shielded_instance_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the Shielded VM config for 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.
14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 |
# File 'lib/google/apis/compute_alpha/service.rb', line 14848 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, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', ) command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_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::ComputeAlpha::Operation
Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field.
20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 |
# File 'lib/google/apis/compute_alpha/service.rb', line 20046 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, 'projects/{project}/global/networks/{network}/updatePeering', ) command.request_representation = Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest::Representation command.request_object = networks_update_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates an autoscaler in the specified project using the data included in the request.
24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24216 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, 'projects/{project}/regions/{region}/autoscalers', ) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
24717 24718 24719 24720 24721 24722 24723 24724 24725 24726 24727 24728 24729 24730 24731 |
# File 'lib/google/apis/compute_alpha/service.rb', line 24717 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, 'projects/{project}/regions/{region}/backendServices/{backendService}', ) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_commitment(project, region, commitment, commitment_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew.
25073 25074 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25073 def update_region_commitment(project, region, commitment, commitment_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/commitments/{commitment}', ) command.request_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['commitment'] = commitment unless commitment.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.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_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Transfers GPUs or local SSDs between reservations within commitments.
25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 |
# File 'lib/google/apis/compute_alpha/service.rb', line 25128 def update_region_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/updateReservations', ) command.request_representation = Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest::Representation command.request_object = region_commitments_update_reservations_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['commitment'] = commitment unless commitment.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_disk(project, region, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
26093 26094 26095 26096 26097 26098 26099 26100 26101 26102 26103 26104 26105 26106 26107 26108 26109 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26093 def update_region_disk(project, region, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/regions/{region}/disks/{disk}', ) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.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_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
26874 26875 26876 26877 26878 26879 26880 26881 26882 26883 26884 26885 26886 26887 26888 |
# File 'lib/google/apis/compute_alpha/service.rb', line 26874 def update_region_health_check(project, region, 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, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', ) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listmanagedinstances method. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
28464 28465 28466 28467 28468 28469 28470 28471 28472 28473 28474 28475 28476 28477 28478 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28464 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, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', ) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Inserts or updates per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.
28519 28520 28521 28522 28523 28524 28525 28526 28527 28528 28529 28530 28531 28532 28533 |
# File 'lib/google/apis/compute_alpha/service.rb', line 28519 def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', ) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation command.request_object = region_instance_group_manager_update_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.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_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
33393 33394 33395 33396 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33393 def update_region_url_map(project, region, 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, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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 |
#update_reservation(project, zone, reservation, reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Update share settings of the reservation.
34107 34108 34109 34110 34111 34112 34113 34114 34115 34116 34117 34118 34119 34120 34121 34122 34123 |
# File 'lib/google/apis/compute_alpha/service.rb', line 34107 def update_reservation(project, zone, reservation, reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/reservations/{reservation}', ) command.request_representation = Google::Apis::ComputeAlpha::Reservation::Representation command.request_object = reservation_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? command.query['paths'] = paths unless paths.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.
35172 35173 35174 35175 35176 35177 35178 35179 35180 35181 35182 35183 35184 35185 35186 |
# File 'lib/google/apis/compute_alpha/service.rb', line 35172 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, 'projects/{project}/regions/{region}/routers/{router}', ) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Updates the specified UrlMap resource with the data included in the request.
42576 42577 42578 42579 42580 42581 42582 42583 42584 42585 42586 42587 42588 42589 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42576 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, 'projects/{project}/global/urlMaps/{urlMap}', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
33437 33438 33439 33440 33441 33442 33443 33444 33445 33446 33447 33448 33449 33450 |
# File 'lib/google/apis/compute_alpha/service.rb', line 33437 def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/validate', ) command.request_representation = Google::Apis::ComputeAlpha::RegionUrlMapsValidateRequest::Representation command.request_object = region_url_maps_validate_request_object command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsValidateResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.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 |
#validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::UrlMapsValidateResponse
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
42617 42618 42619 42620 42621 42622 42623 42624 42625 42626 42627 42628 42629 |
# File 'lib/google/apis/compute_alpha/service.rb', line 42617 def validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/validate', ) command.request_representation = Google::Apis::ComputeAlpha::UrlMapsValidateRequest::Representation command.request_object = url_maps_validate_request_object command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsValidateResponse command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as DONE
or for the
request to approach the 2 minute deadline, and retrieves the specified
Operation resource. This method differs from the GET
method in that it waits
for no more than the default deadline (2 minutes) and then returns the current
state of the operation, which might be DONE
or still in progress. This
method is called on a best-effort basis. Specifically: - In uncommon cases,
when the server is overloaded, the request might return before the default
deadline is reached, or might return after zero seconds. - If the default
deadline is reached, there is no guarantee that the operation is actually done
when the method returns. Be prepared to retry if the operation is not DONE
.
7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 |
# File 'lib/google/apis/compute_alpha/service.rb', line 7355 def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/global/operations/{operation}/wait', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as DONE
or for the
request to approach the 2 minute deadline, and retrieves the specified
Operation resource. This method differs from the GET
method in that it waits
for no more than the default deadline (2 minutes) and then returns the current
state of the operation, which might be DONE
or still in progress. This
method is called on a best-effort basis. Specifically: - In uncommon cases,
when the server is overloaded, the request might return before the default
deadline is reached, or might return after zero seconds. - If the default
deadline is reached, there is no guarantee that the operation is actually done
when the method returns. Be prepared to retry if the operation is not DONE
.
31325 31326 31327 31328 31329 31330 31331 31332 31333 31334 31335 31336 |
# File 'lib/google/apis/compute_alpha/service.rb', line 31325 def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ComputeAlpha::Operation
Waits for the specified Operation resource to return as DONE
or for the
request to approach the 2 minute deadline, and retrieves the specified
Operation resource. This method waits for no more than the 2 minutes and then
returns the current state of the operation, which might be DONE
or still in
progress. This method is called on a best-effort basis. Specifically: - In
uncommon cases, when the server is overloaded, the request might return before
the default deadline is reached, or might return after zero seconds. - If the
default deadline is reached, there is no guarantee that the operation is
actually done when the method returns. Be prepared to retry if the operation
is not DONE
.
43666 43667 43668 43669 43670 43671 43672 43673 43674 43675 43676 43677 |
# File 'lib/google/apis/compute_alpha/service.rb', line 43666 def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/operations/{operation}/wait', ) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |