Google Cloud Compute API - Module Google::Cloud::Compute (v1.4.0)

Reference documentation and code samples for the Google Cloud Compute API module Google::Cloud::Compute.

Methods

.accelerator_types

def self.accelerator_types(version: :v1, &block) -> ::Object

Create a new client object for AcceleratorTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::AcceleratorTypes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the AcceleratorTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About AcceleratorTypes

Services

The AcceleratorTypes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.addresses

def self.addresses(version: :v1, &block) -> ::Object

Create a new client object for Addresses.

By default, this returns an instance of Google::Cloud::Compute::V1::Addresses::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Addresses service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Addresses

The Addresses API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.autoscalers

def self.autoscalers(version: :v1, &block) -> ::Object

Create a new client object for Autoscalers.

By default, this returns an instance of Google::Cloud::Compute::V1::Autoscalers::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Autoscalers service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Autoscalers

The Autoscalers API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.backend_buckets

def self.backend_buckets(version: :v1, &block) -> ::Object

Create a new client object for BackendBuckets.

By default, this returns an instance of Google::Cloud::Compute::V1::BackendBuckets::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the BackendBuckets service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About BackendBuckets

The BackendBuckets API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.backend_services

def self.backend_services(version: :v1, &block) -> ::Object

Create a new client object for BackendServices.

By default, this returns an instance of Google::Cloud::Compute::V1::BackendServices::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the BackendServices service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About BackendServices

The BackendServices API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.configure

def self.configure() -> ::Google::Cloud::Config

Configure the google-cloud-compute library.

The following configuration parameters are supported:

  • credentials (type: String, Hash, Google::Auth::Credentials) - The path to the keyfile as a String, the contents of the keyfile as a Hash, or a Google::Auth::Credentials object.
  • lib_name (type: String) - The library name as recorded in instrumentation and logging.
  • lib_version (type: String) - The library version as recorded in instrumentation and logging.
  • timeout (type: Numeric) - Default timeout in seconds.
  • metadata (type: Hash{Symbol=>String}) - Additional headers to be sent with the call.
  • retry_policy (type: Hash) - The retry policy. The value is a hash with the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.
Yields
  • (::Google::Cloud.configure.compute)
Returns
  • (::Google::Cloud::Config) — The default configuration used by this library

.disk_types

def self.disk_types(version: :v1, &block) -> ::Object

Create a new client object for DiskTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::DiskTypes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the DiskTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About DiskTypes

The DiskTypes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.disks

def self.disks(version: :v1, &block) -> ::Object

Create a new client object for Disks.

By default, this returns an instance of Google::Cloud::Compute::V1::Disks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Disks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Disks

The Disks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.external_vpn_gateways

def self.external_vpn_gateways(version: :v1, &block) -> ::Object

Create a new client object for ExternalVpnGateways.

By default, this returns an instance of Google::Cloud::Compute::V1::ExternalVpnGateways::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ExternalVpnGateways service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ExternalVpnGateways

The ExternalVpnGateways API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.firewall_policies

def self.firewall_policies(version: :v1, &block) -> ::Object

Create a new client object for FirewallPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::FirewallPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the FirewallPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About FirewallPolicies

The FirewallPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.firewalls

def self.firewalls(version: :v1, &block) -> ::Object

Create a new client object for Firewalls.

By default, this returns an instance of Google::Cloud::Compute::V1::Firewalls::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Firewalls service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Firewalls

The Firewalls API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.forwarding_rules

def self.forwarding_rules(version: :v1, &block) -> ::Object

Create a new client object for ForwardingRules.

By default, this returns an instance of Google::Cloud::Compute::V1::ForwardingRules::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ForwardingRules service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ForwardingRules

The ForwardingRules API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_addresses

def self.global_addresses(version: :v1, &block) -> ::Object

Create a new client object for GlobalAddresses.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalAddresses::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalAddresses service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalAddresses

The GlobalAddresses API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_forwarding_rules

def self.global_forwarding_rules(version: :v1, &block) -> ::Object

Create a new client object for GlobalForwardingRules.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalForwardingRules::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalForwardingRules service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalForwardingRules

The GlobalForwardingRules API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_network_endpoint_groups

def self.global_network_endpoint_groups(version: :v1, &block) -> ::Object

Create a new client object for GlobalNetworkEndpointGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalNetworkEndpointGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalNetworkEndpointGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalNetworkEndpointGroups

The GlobalNetworkEndpointGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_operations

def self.global_operations(version: :v1, &block) -> ::Object

Create a new client object for GlobalOperations.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalOperations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalOperations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalOperations

The GlobalOperations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_organization_operations

def self.global_organization_operations(version: :v1, &block) -> ::Object

Create a new client object for GlobalOrganizationOperations.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalOrganizationOperations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalOrganizationOperations

The GlobalOrganizationOperations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.global_public_delegated_prefixes

def self.global_public_delegated_prefixes(version: :v1, &block) -> ::Object

Create a new client object for GlobalPublicDelegatedPrefixes.

By default, this returns an instance of Google::Cloud::Compute::V1::GlobalPublicDelegatedPrefixes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the GlobalPublicDelegatedPrefixes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About GlobalPublicDelegatedPrefixes

The GlobalPublicDelegatedPrefixes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.health_checks

def self.health_checks(version: :v1, &block) -> ::Object

Create a new client object for HealthChecks.

By default, this returns an instance of Google::Cloud::Compute::V1::HealthChecks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the HealthChecks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About HealthChecks

The HealthChecks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.image_family_views

def self.image_family_views(version: :v1, &block) -> ::Object

Create a new client object for ImageFamilyViews.

By default, this returns an instance of Google::Cloud::Compute::V1::ImageFamilyViews::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ImageFamilyViews service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ImageFamilyViews

The ImageFamilyViews API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.images

def self.images(version: :v1, &block) -> ::Object

Create a new client object for Images.

By default, this returns an instance of Google::Cloud::Compute::V1::Images::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Images service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Images

The Images API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.instance_group_managers

def self.instance_group_managers(version: :v1, &block) -> ::Object

Create a new client object for InstanceGroupManagers.

By default, this returns an instance of Google::Cloud::Compute::V1::InstanceGroupManagers::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InstanceGroupManagers service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InstanceGroupManagers

The InstanceGroupManagers API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.instance_groups

def self.instance_groups(version: :v1, &block) -> ::Object

Create a new client object for InstanceGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::InstanceGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InstanceGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InstanceGroups

The InstanceGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.instance_templates

def self.instance_templates(version: :v1, &block) -> ::Object

Create a new client object for InstanceTemplates.

By default, this returns an instance of Google::Cloud::Compute::V1::InstanceTemplates::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InstanceTemplates service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InstanceTemplates

The InstanceTemplates API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.instances

def self.instances(version: :v1, &block) -> ::Object

Create a new client object for Instances.

By default, this returns an instance of Google::Cloud::Compute::V1::Instances::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Instances service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Instances

The Instances API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.interconnect_attachments

def self.interconnect_attachments(version: :v1, &block) -> ::Object

Create a new client object for InterconnectAttachments.

By default, this returns an instance of Google::Cloud::Compute::V1::InterconnectAttachments::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InterconnectAttachments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InterconnectAttachments

The InterconnectAttachments API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.interconnect_locations

def self.interconnect_locations(version: :v1, &block) -> ::Object

Create a new client object for InterconnectLocations.

By default, this returns an instance of Google::Cloud::Compute::V1::InterconnectLocations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InterconnectLocations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InterconnectLocations

The InterconnectLocations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.interconnect_remote_locations

def self.interconnect_remote_locations(version: :v1, &block) -> ::Object

Create a new client object for InterconnectRemoteLocations.

By default, this returns an instance of Google::Cloud::Compute::V1::InterconnectRemoteLocations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the InterconnectRemoteLocations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About InterconnectRemoteLocations

The InterconnectRemoteLocations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.interconnects

def self.interconnects(version: :v1, &block) -> ::Object

Create a new client object for Interconnects.

By default, this returns an instance of Google::Cloud::Compute::V1::Interconnects::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Interconnects service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Interconnects

The Interconnects API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.license_codes

def self.license_codes(version: :v1, &block) -> ::Object

Create a new client object for LicenseCodes.

By default, this returns an instance of Google::Cloud::Compute::V1::LicenseCodes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the LicenseCodes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About LicenseCodes

The LicenseCodes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.licenses

def self.licenses(version: :v1, &block) -> ::Object

Create a new client object for Licenses.

By default, this returns an instance of Google::Cloud::Compute::V1::Licenses::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Licenses service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Licenses

The Licenses API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.machine_images

def self.machine_images(version: :v1, &block) -> ::Object

Create a new client object for MachineImages.

By default, this returns an instance of Google::Cloud::Compute::V1::MachineImages::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the MachineImages service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About MachineImages

The MachineImages API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.machine_types

def self.machine_types(version: :v1, &block) -> ::Object

Create a new client object for MachineTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::MachineTypes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the MachineTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About MachineTypes

The MachineTypes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.network_attachments

def self.network_attachments(version: :v1, &block) -> ::Object

Create a new client object for NetworkAttachments.

By default, this returns an instance of Google::Cloud::Compute::V1::NetworkAttachments::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NetworkAttachments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NetworkAttachments

The NetworkAttachments API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.network_edge_security_services

def self.network_edge_security_services(version: :v1, &block) -> ::Object

Create a new client object for NetworkEdgeSecurityServices.

By default, this returns an instance of Google::Cloud::Compute::V1::NetworkEdgeSecurityServices::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NetworkEdgeSecurityServices service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NetworkEdgeSecurityServices

The NetworkEdgeSecurityServices API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.network_endpoint_groups

def self.network_endpoint_groups(version: :v1, &block) -> ::Object

Create a new client object for NetworkEndpointGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::NetworkEndpointGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NetworkEndpointGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NetworkEndpointGroups

The NetworkEndpointGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.network_firewall_policies

def self.network_firewall_policies(version: :v1, &block) -> ::Object

Create a new client object for NetworkFirewallPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::NetworkFirewallPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NetworkFirewallPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NetworkFirewallPolicies

The NetworkFirewallPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.networks

def self.networks(version: :v1, &block) -> ::Object

Create a new client object for Networks.

By default, this returns an instance of Google::Cloud::Compute::V1::Networks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Networks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Networks

The Networks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.node_groups

def self.node_groups(version: :v1, &block) -> ::Object

Create a new client object for NodeGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::NodeGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NodeGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NodeGroups

The NodeGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.node_templates

def self.node_templates(version: :v1, &block) -> ::Object

Create a new client object for NodeTemplates.

By default, this returns an instance of Google::Cloud::Compute::V1::NodeTemplates::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NodeTemplates service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NodeTemplates

The NodeTemplates API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.node_types

def self.node_types(version: :v1, &block) -> ::Object

Create a new client object for NodeTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::NodeTypes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the NodeTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About NodeTypes

The NodeTypes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.packet_mirrorings

def self.packet_mirrorings(version: :v1, &block) -> ::Object

Create a new client object for PacketMirrorings.

By default, this returns an instance of Google::Cloud::Compute::V1::PacketMirrorings::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the PacketMirrorings service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About PacketMirrorings

The PacketMirrorings API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.projects

def self.projects(version: :v1, &block) -> ::Object

Create a new client object for Projects.

By default, this returns an instance of Google::Cloud::Compute::V1::Projects::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Projects service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Projects

The Projects API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.public_advertised_prefixes

def self.public_advertised_prefixes(version: :v1, &block) -> ::Object

Create a new client object for PublicAdvertisedPrefixes.

By default, this returns an instance of Google::Cloud::Compute::V1::PublicAdvertisedPrefixes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the PublicAdvertisedPrefixes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About PublicAdvertisedPrefixes

The PublicAdvertisedPrefixes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.public_delegated_prefixes

def self.public_delegated_prefixes(version: :v1, &block) -> ::Object

Create a new client object for PublicDelegatedPrefixes.

By default, this returns an instance of Google::Cloud::Compute::V1::PublicDelegatedPrefixes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the PublicDelegatedPrefixes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About PublicDelegatedPrefixes

The PublicDelegatedPrefixes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_autoscalers

def self.region_autoscalers(version: :v1, &block) -> ::Object

Create a new client object for RegionAutoscalers.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionAutoscalers::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionAutoscalers service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionAutoscalers

The RegionAutoscalers API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_backend_services

def self.region_backend_services(version: :v1, &block) -> ::Object

Create a new client object for RegionBackendServices.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionBackendServices::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionBackendServices service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionBackendServices

The RegionBackendServices API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_commitments

def self.region_commitments(version: :v1, &block) -> ::Object

Create a new client object for RegionCommitments.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionCommitments::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionCommitments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionCommitments

The RegionCommitments API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_disk_types

def self.region_disk_types(version: :v1, &block) -> ::Object

Create a new client object for RegionDiskTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionDiskTypes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionDiskTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionDiskTypes

The RegionDiskTypes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_disks

def self.region_disks(version: :v1, &block) -> ::Object

Create a new client object for RegionDisks.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionDisks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionDisks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionDisks

The RegionDisks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_health_check_services

def self.region_health_check_services(version: :v1, &block) -> ::Object

Create a new client object for RegionHealthCheckServices.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionHealthCheckServices::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionHealthCheckServices service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionHealthCheckServices

The RegionHealthCheckServices API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_health_checks

def self.region_health_checks(version: :v1, &block) -> ::Object

Create a new client object for RegionHealthChecks.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionHealthChecks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionHealthChecks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionHealthChecks

The RegionHealthChecks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_instance_group_managers

def self.region_instance_group_managers(version: :v1, &block) -> ::Object

Create a new client object for RegionInstanceGroupManagers.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionInstanceGroupManagers::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionInstanceGroupManagers service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionInstanceGroupManagers

The RegionInstanceGroupManagers API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_instance_groups

def self.region_instance_groups(version: :v1, &block) -> ::Object

Create a new client object for RegionInstanceGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionInstanceGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionInstanceGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionInstanceGroups

The RegionInstanceGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_instance_templates

def self.region_instance_templates(version: :v1, &block) -> ::Object

Create a new client object for RegionInstanceTemplates.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionInstanceTemplates::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionInstanceTemplates service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionInstanceTemplates

The RegionInstanceTemplates API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_instances

def self.region_instances(version: :v1, &block) -> ::Object

Create a new client object for RegionInstances.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionInstances::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionInstances service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionInstances

The RegionInstances API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_network_endpoint_groups

def self.region_network_endpoint_groups(version: :v1, &block) -> ::Object

Create a new client object for RegionNetworkEndpointGroups.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionNetworkEndpointGroups::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionNetworkEndpointGroups service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionNetworkEndpointGroups

The RegionNetworkEndpointGroups API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_network_firewall_policies

def self.region_network_firewall_policies(version: :v1, &block) -> ::Object

Create a new client object for RegionNetworkFirewallPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionNetworkFirewallPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionNetworkFirewallPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionNetworkFirewallPolicies

The RegionNetworkFirewallPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_notification_endpoints

def self.region_notification_endpoints(version: :v1, &block) -> ::Object

Create a new client object for RegionNotificationEndpoints.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionNotificationEndpoints::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionNotificationEndpoints service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionNotificationEndpoints

The RegionNotificationEndpoints API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_operations

def self.region_operations(version: :v1, &block) -> ::Object

Create a new client object for RegionOperations.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionOperations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionOperations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionOperations

The RegionOperations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_security_policies

def self.region_security_policies(version: :v1, &block) -> ::Object

Create a new client object for RegionSecurityPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionSecurityPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionSecurityPolicies

The RegionSecurityPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_ssl_certificates

def self.region_ssl_certificates(version: :v1, &block) -> ::Object

Create a new client object for RegionSslCertificates.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionSslCertificates::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionSslCertificates service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionSslCertificates

The RegionSslCertificates API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_ssl_policies

def self.region_ssl_policies(version: :v1, &block) -> ::Object

Create a new client object for RegionSslPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionSslPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionSslPolicies

The RegionSslPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_target_http_proxies

def self.region_target_http_proxies(version: :v1, &block) -> ::Object

Create a new client object for RegionTargetHttpProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionTargetHttpProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionTargetHttpProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionTargetHttpProxies

The RegionTargetHttpProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_target_https_proxies

def self.region_target_https_proxies(version: :v1, &block) -> ::Object

Create a new client object for RegionTargetHttpsProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionTargetHttpsProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionTargetHttpsProxies

The RegionTargetHttpsProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_target_tcp_proxies

def self.region_target_tcp_proxies(version: :v1, &block) -> ::Object

Create a new client object for RegionTargetTcpProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionTargetTcpProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionTargetTcpProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionTargetTcpProxies

The RegionTargetTcpProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.region_url_maps

def self.region_url_maps(version: :v1, &block) -> ::Object

Create a new client object for RegionUrlMaps.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionUrlMaps::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the RegionUrlMaps service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About RegionUrlMaps

The RegionUrlMaps API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.regions

def self.regions(version: :v1, &block) -> ::Object

Create a new client object for Regions.

By default, this returns an instance of Google::Cloud::Compute::V1::Regions::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Regions service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Regions

The Regions API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.reservations

def self.reservations(version: :v1, &block) -> ::Object

Create a new client object for Reservations.

By default, this returns an instance of Google::Cloud::Compute::V1::Reservations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Reservations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Reservations

The Reservations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.resource_policies

def self.resource_policies(version: :v1, &block) -> ::Object

Create a new client object for ResourcePolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::ResourcePolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ResourcePolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ResourcePolicies

The ResourcePolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.routers

def self.routers(version: :v1, &block) -> ::Object

Create a new client object for Routers.

By default, this returns an instance of Google::Cloud::Compute::V1::Routers::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Routers service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Routers

The Routers API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.routes

def self.routes(version: :v1, &block) -> ::Object

Create a new client object for Routes.

By default, this returns an instance of Google::Cloud::Compute::V1::Routes::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Routes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Routes

The Routes API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.security_policies

def self.security_policies(version: :v1, &block) -> ::Object

Create a new client object for SecurityPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::SecurityPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the SecurityPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SecurityPolicies

The SecurityPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.service_attachments

def self.service_attachments(version: :v1, &block) -> ::Object

Create a new client object for ServiceAttachments.

By default, this returns an instance of Google::Cloud::Compute::V1::ServiceAttachments::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ServiceAttachments service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ServiceAttachments

The ServiceAttachments API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.snapshot_settings_service

def self.snapshot_settings_service(version: :v1, &block) -> ::Object

Create a new client object for SnapshotSettingsService.

By default, this returns an instance of Google::Cloud::Compute::V1::SnapshotSettingsService::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the SnapshotSettingsService service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SnapshotSettingsService

The SnapshotSettings API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.snapshots

def self.snapshots(version: :v1, &block) -> ::Object

Create a new client object for Snapshots.

By default, this returns an instance of Google::Cloud::Compute::V1::Snapshots::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Snapshots service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Snapshots

The Snapshots API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.ssl_certificates

def self.ssl_certificates(version: :v1, &block) -> ::Object

Create a new client object for SslCertificates.

By default, this returns an instance of Google::Cloud::Compute::V1::SslCertificates::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the SslCertificates service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SslCertificates

The SslCertificates API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.ssl_policies

def self.ssl_policies(version: :v1, &block) -> ::Object

Create a new client object for SslPolicies.

By default, this returns an instance of Google::Cloud::Compute::V1::SslPolicies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the SslPolicies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About SslPolicies

The SslPolicies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.subnetworks

def self.subnetworks(version: :v1, &block) -> ::Object

Create a new client object for Subnetworks.

By default, this returns an instance of Google::Cloud::Compute::V1::Subnetworks::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Subnetworks service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Subnetworks

The Subnetworks API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_grpc_proxies

def self.target_grpc_proxies(version: :v1, &block) -> ::Object

Create a new client object for TargetGrpcProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetGrpcProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetGrpcProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetGrpcProxies

The TargetGrpcProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_http_proxies

def self.target_http_proxies(version: :v1, &block) -> ::Object

Create a new client object for TargetHttpProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetHttpProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetHttpProxies

The TargetHttpProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_https_proxies

def self.target_https_proxies(version: :v1, &block) -> ::Object

Create a new client object for TargetHttpsProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetHttpsProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetHttpsProxies

The TargetHttpsProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_instances

def self.target_instances(version: :v1, &block) -> ::Object

Create a new client object for TargetInstances.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetInstances::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetInstances service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetInstances

The TargetInstances API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_pools

def self.target_pools(version: :v1, &block) -> ::Object

Create a new client object for TargetPools.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetPools::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetPools service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetPools

The TargetPools API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_ssl_proxies

def self.target_ssl_proxies(version: :v1, &block) -> ::Object

Create a new client object for TargetSslProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetSslProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetSslProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetSslProxies

The TargetSslProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_tcp_proxies

def self.target_tcp_proxies(version: :v1, &block) -> ::Object

Create a new client object for TargetTcpProxies.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetTcpProxies::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetTcpProxies service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetTcpProxies

The TargetTcpProxies API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.target_vpn_gateways

def self.target_vpn_gateways(version: :v1, &block) -> ::Object

Create a new client object for TargetVpnGateways.

By default, this returns an instance of Google::Cloud::Compute::V1::TargetVpnGateways::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the TargetVpnGateways service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About TargetVpnGateways

The TargetVpnGateways API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.url_maps

def self.url_maps(version: :v1, &block) -> ::Object

Create a new client object for UrlMaps.

By default, this returns an instance of Google::Cloud::Compute::V1::UrlMaps::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the UrlMaps service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About UrlMaps

The UrlMaps API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.vpn_gateways

def self.vpn_gateways(version: :v1, &block) -> ::Object

Create a new client object for VpnGateways.

By default, this returns an instance of Google::Cloud::Compute::V1::VpnGateways::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the VpnGateways service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About VpnGateways

The VpnGateways API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.vpn_tunnels

def self.vpn_tunnels(version: :v1, &block) -> ::Object

Create a new client object for VpnTunnels.

By default, this returns an instance of Google::Cloud::Compute::V1::VpnTunnels::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the VpnTunnels service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About VpnTunnels

The VpnTunnels API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.zone_operations

def self.zone_operations(version: :v1, &block) -> ::Object

Create a new client object for ZoneOperations.

By default, this returns an instance of Google::Cloud::Compute::V1::ZoneOperations::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the ZoneOperations service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About ZoneOperations

The ZoneOperations API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

.zones

def self.zones(version: :v1, &block) -> ::Object

Create a new client object for Zones.

By default, this returns an instance of Google::Cloud::Compute::V1::Zones::Rest::Client for a REST client for version V1 of the API. However, you can specify a different API version by passing it in the version parameter. If the Zones service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About Zones

The Zones API.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (::Object) — A client object for the specified version.

Constants

VERSION

value: "1.4.0"