Google Cloud Compute API - Module Google::Cloud::Compute (v1.10.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the AcceleratorTypes service. You can determine whether the method will succeed by calling Compute.accelerator_types_available?.

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.

.accelerator_types_available?

def self.accelerator_types_available?(version: :v1) -> boolean

Determines whether the AcceleratorTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.accelerator_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the AcceleratorTypes service, or if the versioned client gem needs an update to support the AcceleratorTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Addresses service. You can determine whether the method will succeed by calling Compute.addresses_available?.

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.

.addresses_available?

def self.addresses_available?(version: :v1) -> boolean

Determines whether the Addresses service is supported by the current client. If true, you can retrieve a client object by calling Compute.addresses. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Addresses service, or if the versioned client gem needs an update to support the Addresses service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Autoscalers service. You can determine whether the method will succeed by calling Compute.autoscalers_available?.

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.

.autoscalers_available?

def self.autoscalers_available?(version: :v1) -> boolean

Determines whether the Autoscalers service is supported by the current client. If true, you can retrieve a client object by calling Compute.autoscalers. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Autoscalers service, or if the versioned client gem needs an update to support the Autoscalers service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the BackendBuckets service. You can determine whether the method will succeed by calling Compute.backend_buckets_available?.

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_buckets_available?

def self.backend_buckets_available?(version: :v1) -> boolean

Determines whether the BackendBuckets service is supported by the current client. If true, you can retrieve a client object by calling Compute.backend_buckets. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the BackendBuckets service, or if the versioned client gem needs an update to support the BackendBuckets service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the BackendServices service. You can determine whether the method will succeed by calling Compute.backend_services_available?.

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.

.backend_services_available?

def self.backend_services_available?(version: :v1) -> boolean

Determines whether the BackendServices service is supported by the current client. If true, you can retrieve a client object by calling Compute.backend_services. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the BackendServices service, or if the versioned client gem needs an update to support the BackendServices service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the DiskTypes service. You can determine whether the method will succeed by calling Compute.disk_types_available?.

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.

.disk_types_available?

def self.disk_types_available?(version: :v1) -> boolean

Determines whether the DiskTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.disk_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the DiskTypes service, or if the versioned client gem needs an update to support the DiskTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Disks service. You can determine whether the method will succeed by calling Compute.disks_available?.

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.

.disks_available?

def self.disks_available?(version: :v1) -> boolean

Determines whether the Disks service is supported by the current client. If true, you can retrieve a client object by calling Compute.disks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Disks service, or if the versioned client gem needs an update to support the Disks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ExternalVpnGateways service. You can determine whether the method will succeed by calling Compute.external_vpn_gateways_available?.

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.

.external_vpn_gateways_available?

def self.external_vpn_gateways_available?(version: :v1) -> boolean

Determines whether the ExternalVpnGateways service is supported by the current client. If true, you can retrieve a client object by calling Compute.external_vpn_gateways. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ExternalVpnGateways service, or if the versioned client gem needs an update to support the ExternalVpnGateways service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the FirewallPolicies service. You can determine whether the method will succeed by calling Compute.firewall_policies_available?.

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.

.firewall_policies_available?

def self.firewall_policies_available?(version: :v1) -> boolean

Determines whether the FirewallPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.firewall_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the FirewallPolicies service, or if the versioned client gem needs an update to support the FirewallPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Firewalls service. You can determine whether the method will succeed by calling Compute.firewalls_available?.

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.

.firewalls_available?

def self.firewalls_available?(version: :v1) -> boolean

Determines whether the Firewalls service is supported by the current client. If true, you can retrieve a client object by calling Compute.firewalls. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Firewalls service, or if the versioned client gem needs an update to support the Firewalls service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ForwardingRules service. You can determine whether the method will succeed by calling Compute.forwarding_rules_available?.

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.

.forwarding_rules_available?

def self.forwarding_rules_available?(version: :v1) -> boolean

Determines whether the ForwardingRules service is supported by the current client. If true, you can retrieve a client object by calling Compute.forwarding_rules. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ForwardingRules service, or if the versioned client gem needs an update to support the ForwardingRules service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalAddresses service. You can determine whether the method will succeed by calling Compute.global_addresses_available?.

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_addresses_available?

def self.global_addresses_available?(version: :v1) -> boolean

Determines whether the GlobalAddresses service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_addresses. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalAddresses service, or if the versioned client gem needs an update to support the GlobalAddresses service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalForwardingRules service. You can determine whether the method will succeed by calling Compute.global_forwarding_rules_available?.

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_forwarding_rules_available?

def self.global_forwarding_rules_available?(version: :v1) -> boolean

Determines whether the GlobalForwardingRules service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_forwarding_rules. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalForwardingRules service, or if the versioned client gem needs an update to support the GlobalForwardingRules service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalNetworkEndpointGroups service. You can determine whether the method will succeed by calling Compute.global_network_endpoint_groups_available?.

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_network_endpoint_groups_available?

def self.global_network_endpoint_groups_available?(version: :v1) -> boolean

Determines whether the GlobalNetworkEndpointGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_network_endpoint_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalNetworkEndpointGroups service, or if the versioned client gem needs an update to support the GlobalNetworkEndpointGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalOperations service. You can determine whether the method will succeed by calling Compute.global_operations_available?.

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_operations_available?

def self.global_operations_available?(version: :v1) -> boolean

Determines whether the GlobalOperations service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_operations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalOperations service, or if the versioned client gem needs an update to support the GlobalOperations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalOrganizationOperations service. You can determine whether the method will succeed by calling Compute.global_organization_operations_available?.

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_organization_operations_available?

def self.global_organization_operations_available?(version: :v1) -> boolean

Determines whether the GlobalOrganizationOperations service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_organization_operations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalOrganizationOperations service, or if the versioned client gem needs an update to support the GlobalOrganizationOperations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the GlobalPublicDelegatedPrefixes service. You can determine whether the method will succeed by calling Compute.global_public_delegated_prefixes_available?.

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.

.global_public_delegated_prefixes_available?

def self.global_public_delegated_prefixes_available?(version: :v1) -> boolean

Determines whether the GlobalPublicDelegatedPrefixes service is supported by the current client. If true, you can retrieve a client object by calling Compute.global_public_delegated_prefixes. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the GlobalPublicDelegatedPrefixes service, or if the versioned client gem needs an update to support the GlobalPublicDelegatedPrefixes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the HealthChecks service. You can determine whether the method will succeed by calling Compute.health_checks_available?.

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.

.health_checks_available?

def self.health_checks_available?(version: :v1) -> boolean

Determines whether the HealthChecks service is supported by the current client. If true, you can retrieve a client object by calling Compute.health_checks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the HealthChecks service, or if the versioned client gem needs an update to support the HealthChecks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ImageFamilyViews service. You can determine whether the method will succeed by calling Compute.image_family_views_available?.

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.

.image_family_views_available?

def self.image_family_views_available?(version: :v1) -> boolean

Determines whether the ImageFamilyViews service is supported by the current client. If true, you can retrieve a client object by calling Compute.image_family_views. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ImageFamilyViews service, or if the versioned client gem needs an update to support the ImageFamilyViews service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Images service. You can determine whether the method will succeed by calling Compute.images_available?.

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.

.images_available?

def self.images_available?(version: :v1) -> boolean

Determines whether the Images service is supported by the current client. If true, you can retrieve a client object by calling Compute.images. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Images service, or if the versioned client gem needs an update to support the Images service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.instance_group_manager_resize_requests

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

Create a new client object for InstanceGroupManagerResizeRequests.

By default, this returns an instance of Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequests::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 InstanceGroupManagerResizeRequests service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstanceGroupManagerResizeRequests service. You can determine whether the method will succeed by calling Compute.instance_group_manager_resize_requests_available?.

About InstanceGroupManagerResizeRequests

The InstanceGroupManagerResizeRequests 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_manager_resize_requests_available?

def self.instance_group_manager_resize_requests_available?(version: :v1) -> boolean

Determines whether the InstanceGroupManagerResizeRequests service is supported by the current client. If true, you can retrieve a client object by calling Compute.instance_group_manager_resize_requests. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstanceGroupManagerResizeRequests service, or if the versioned client gem needs an update to support the InstanceGroupManagerResizeRequests service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstanceGroupManagers service. You can determine whether the method will succeed by calling Compute.instance_group_managers_available?.

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_group_managers_available?

def self.instance_group_managers_available?(version: :v1) -> boolean

Determines whether the InstanceGroupManagers service is supported by the current client. If true, you can retrieve a client object by calling Compute.instance_group_managers. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstanceGroupManagers service, or if the versioned client gem needs an update to support the InstanceGroupManagers service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstanceGroups service. You can determine whether the method will succeed by calling Compute.instance_groups_available?.

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_groups_available?

def self.instance_groups_available?(version: :v1) -> boolean

Determines whether the InstanceGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.instance_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstanceGroups service, or if the versioned client gem needs an update to support the InstanceGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.instance_settings_service

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

Create a new client object for InstanceSettingsService.

By default, this returns an instance of Google::Cloud::Compute::V1::InstanceSettingsService::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 InstanceSettingsService service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstanceSettingsService service. You can determine whether the method will succeed by calling Compute.instance_settings_service_available?.

About InstanceSettingsService

The InstanceSettings 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_settings_service_available?

def self.instance_settings_service_available?(version: :v1) -> boolean

Determines whether the InstanceSettingsService service is supported by the current client. If true, you can retrieve a client object by calling Compute.instance_settings_service. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstanceSettingsService service, or if the versioned client gem needs an update to support the InstanceSettingsService service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstanceTemplates service. You can determine whether the method will succeed by calling Compute.instance_templates_available?.

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.

.instance_templates_available?

def self.instance_templates_available?(version: :v1) -> boolean

Determines whether the InstanceTemplates service is supported by the current client. If true, you can retrieve a client object by calling Compute.instance_templates. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstanceTemplates service, or if the versioned client gem needs an update to support the InstanceTemplates service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Instances service. You can determine whether the method will succeed by calling Compute.instances_available?.

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.

.instances_available?

def self.instances_available?(version: :v1) -> boolean

Determines whether the Instances service is supported by the current client. If true, you can retrieve a client object by calling Compute.instances. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Instances service, or if the versioned client gem needs an update to support the Instances service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.instant_snapshots

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

Create a new client object for InstantSnapshots.

By default, this returns an instance of Google::Cloud::Compute::V1::InstantSnapshots::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 InstantSnapshots service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InstantSnapshots service. You can determine whether the method will succeed by calling Compute.instant_snapshots_available?.

About InstantSnapshots

The InstantSnapshots 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.

.instant_snapshots_available?

def self.instant_snapshots_available?(version: :v1) -> boolean

Determines whether the InstantSnapshots service is supported by the current client. If true, you can retrieve a client object by calling Compute.instant_snapshots. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InstantSnapshots service, or if the versioned client gem needs an update to support the InstantSnapshots service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InterconnectAttachments service. You can determine whether the method will succeed by calling Compute.interconnect_attachments_available?.

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_attachments_available?

def self.interconnect_attachments_available?(version: :v1) -> boolean

Determines whether the InterconnectAttachments service is supported by the current client. If true, you can retrieve a client object by calling Compute.interconnect_attachments. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InterconnectAttachments service, or if the versioned client gem needs an update to support the InterconnectAttachments service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InterconnectLocations service. You can determine whether the method will succeed by calling Compute.interconnect_locations_available?.

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_locations_available?

def self.interconnect_locations_available?(version: :v1) -> boolean

Determines whether the InterconnectLocations service is supported by the current client. If true, you can retrieve a client object by calling Compute.interconnect_locations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InterconnectLocations service, or if the versioned client gem needs an update to support the InterconnectLocations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the InterconnectRemoteLocations service. You can determine whether the method will succeed by calling Compute.interconnect_remote_locations_available?.

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.

.interconnect_remote_locations_available?

def self.interconnect_remote_locations_available?(version: :v1) -> boolean

Determines whether the InterconnectRemoteLocations service is supported by the current client. If true, you can retrieve a client object by calling Compute.interconnect_remote_locations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the InterconnectRemoteLocations service, or if the versioned client gem needs an update to support the InterconnectRemoteLocations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Interconnects service. You can determine whether the method will succeed by calling Compute.interconnects_available?.

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.

.interconnects_available?

def self.interconnects_available?(version: :v1) -> boolean

Determines whether the Interconnects service is supported by the current client. If true, you can retrieve a client object by calling Compute.interconnects. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Interconnects service, or if the versioned client gem needs an update to support the Interconnects service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the LicenseCodes service. You can determine whether the method will succeed by calling Compute.license_codes_available?.

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.

.license_codes_available?

def self.license_codes_available?(version: :v1) -> boolean

Determines whether the LicenseCodes service is supported by the current client. If true, you can retrieve a client object by calling Compute.license_codes. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the LicenseCodes service, or if the versioned client gem needs an update to support the LicenseCodes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Licenses service. You can determine whether the method will succeed by calling Compute.licenses_available?.

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.

.licenses_available?

def self.licenses_available?(version: :v1) -> boolean

Determines whether the Licenses service is supported by the current client. If true, you can retrieve a client object by calling Compute.licenses. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Licenses service, or if the versioned client gem needs an update to support the Licenses service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the MachineImages service. You can determine whether the method will succeed by calling Compute.machine_images_available?.

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_images_available?

def self.machine_images_available?(version: :v1) -> boolean

Determines whether the MachineImages service is supported by the current client. If true, you can retrieve a client object by calling Compute.machine_images. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the MachineImages service, or if the versioned client gem needs an update to support the MachineImages service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the MachineTypes service. You can determine whether the method will succeed by calling Compute.machine_types_available?.

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.

.machine_types_available?

def self.machine_types_available?(version: :v1) -> boolean

Determines whether the MachineTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.machine_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the MachineTypes service, or if the versioned client gem needs an update to support the MachineTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NetworkAttachments service. You can determine whether the method will succeed by calling Compute.network_attachments_available?.

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_attachments_available?

def self.network_attachments_available?(version: :v1) -> boolean

Determines whether the NetworkAttachments service is supported by the current client. If true, you can retrieve a client object by calling Compute.network_attachments. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NetworkAttachments service, or if the versioned client gem needs an update to support the NetworkAttachments service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NetworkEdgeSecurityServices service. You can determine whether the method will succeed by calling Compute.network_edge_security_services_available?.

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_edge_security_services_available?

def self.network_edge_security_services_available?(version: :v1) -> boolean

Determines whether the NetworkEdgeSecurityServices service is supported by the current client. If true, you can retrieve a client object by calling Compute.network_edge_security_services. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NetworkEdgeSecurityServices service, or if the versioned client gem needs an update to support the NetworkEdgeSecurityServices service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NetworkEndpointGroups service. You can determine whether the method will succeed by calling Compute.network_endpoint_groups_available?.

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_endpoint_groups_available?

def self.network_endpoint_groups_available?(version: :v1) -> boolean

Determines whether the NetworkEndpointGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.network_endpoint_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NetworkEndpointGroups service, or if the versioned client gem needs an update to support the NetworkEndpointGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NetworkFirewallPolicies service. You can determine whether the method will succeed by calling Compute.network_firewall_policies_available?.

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.

.network_firewall_policies_available?

def self.network_firewall_policies_available?(version: :v1) -> boolean

Determines whether the NetworkFirewallPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.network_firewall_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NetworkFirewallPolicies service, or if the versioned client gem needs an update to support the NetworkFirewallPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.network_profiles

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

Create a new client object for NetworkProfiles.

By default, this returns an instance of Google::Cloud::Compute::V1::NetworkProfiles::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 NetworkProfiles service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NetworkProfiles service. You can determine whether the method will succeed by calling Compute.network_profiles_available?.

About NetworkProfiles

The NetworkProfiles 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_profiles_available?

def self.network_profiles_available?(version: :v1) -> boolean

Determines whether the NetworkProfiles service is supported by the current client. If true, you can retrieve a client object by calling Compute.network_profiles. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NetworkProfiles service, or if the versioned client gem needs an update to support the NetworkProfiles service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Networks service. You can determine whether the method will succeed by calling Compute.networks_available?.

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.

.networks_available?

def self.networks_available?(version: :v1) -> boolean

Determines whether the Networks service is supported by the current client. If true, you can retrieve a client object by calling Compute.networks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Networks service, or if the versioned client gem needs an update to support the Networks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NodeGroups service. You can determine whether the method will succeed by calling Compute.node_groups_available?.

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_groups_available?

def self.node_groups_available?(version: :v1) -> boolean

Determines whether the NodeGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.node_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NodeGroups service, or if the versioned client gem needs an update to support the NodeGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NodeTemplates service. You can determine whether the method will succeed by calling Compute.node_templates_available?.

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_templates_available?

def self.node_templates_available?(version: :v1) -> boolean

Determines whether the NodeTemplates service is supported by the current client. If true, you can retrieve a client object by calling Compute.node_templates. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NodeTemplates service, or if the versioned client gem needs an update to support the NodeTemplates service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the NodeTypes service. You can determine whether the method will succeed by calling Compute.node_types_available?.

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.

.node_types_available?

def self.node_types_available?(version: :v1) -> boolean

Determines whether the NodeTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.node_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the NodeTypes service, or if the versioned client gem needs an update to support the NodeTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the PacketMirrorings service. You can determine whether the method will succeed by calling Compute.packet_mirrorings_available?.

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.

.packet_mirrorings_available?

def self.packet_mirrorings_available?(version: :v1) -> boolean

Determines whether the PacketMirrorings service is supported by the current client. If true, you can retrieve a client object by calling Compute.packet_mirrorings. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the PacketMirrorings service, or if the versioned client gem needs an update to support the PacketMirrorings service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Projects service. You can determine whether the method will succeed by calling Compute.projects_available?.

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.

.projects_available?

def self.projects_available?(version: :v1) -> boolean

Determines whether the Projects service is supported by the current client. If true, you can retrieve a client object by calling Compute.projects. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Projects service, or if the versioned client gem needs an update to support the Projects service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the PublicAdvertisedPrefixes service. You can determine whether the method will succeed by calling Compute.public_advertised_prefixes_available?.

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_advertised_prefixes_available?

def self.public_advertised_prefixes_available?(version: :v1) -> boolean

Determines whether the PublicAdvertisedPrefixes service is supported by the current client. If true, you can retrieve a client object by calling Compute.public_advertised_prefixes. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the PublicAdvertisedPrefixes service, or if the versioned client gem needs an update to support the PublicAdvertisedPrefixes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the PublicDelegatedPrefixes service. You can determine whether the method will succeed by calling Compute.public_delegated_prefixes_available?.

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.

.public_delegated_prefixes_available?

def self.public_delegated_prefixes_available?(version: :v1) -> boolean

Determines whether the PublicDelegatedPrefixes service is supported by the current client. If true, you can retrieve a client object by calling Compute.public_delegated_prefixes. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the PublicDelegatedPrefixes service, or if the versioned client gem needs an update to support the PublicDelegatedPrefixes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionAutoscalers service. You can determine whether the method will succeed by calling Compute.region_autoscalers_available?.

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_autoscalers_available?

def self.region_autoscalers_available?(version: :v1) -> boolean

Determines whether the RegionAutoscalers service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_autoscalers. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionAutoscalers service, or if the versioned client gem needs an update to support the RegionAutoscalers service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionBackendServices service. You can determine whether the method will succeed by calling Compute.region_backend_services_available?.

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_backend_services_available?

def self.region_backend_services_available?(version: :v1) -> boolean

Determines whether the RegionBackendServices service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_backend_services. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionBackendServices service, or if the versioned client gem needs an update to support the RegionBackendServices service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionCommitments service. You can determine whether the method will succeed by calling Compute.region_commitments_available?.

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_commitments_available?

def self.region_commitments_available?(version: :v1) -> boolean

Determines whether the RegionCommitments service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_commitments. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionCommitments service, or if the versioned client gem needs an update to support the RegionCommitments service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionDiskTypes service. You can determine whether the method will succeed by calling Compute.region_disk_types_available?.

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_disk_types_available?

def self.region_disk_types_available?(version: :v1) -> boolean

Determines whether the RegionDiskTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_disk_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionDiskTypes service, or if the versioned client gem needs an update to support the RegionDiskTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionDisks service. You can determine whether the method will succeed by calling Compute.region_disks_available?.

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_disks_available?

def self.region_disks_available?(version: :v1) -> boolean

Determines whether the RegionDisks service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_disks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionDisks service, or if the versioned client gem needs an update to support the RegionDisks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionHealthCheckServices service. You can determine whether the method will succeed by calling Compute.region_health_check_services_available?.

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_check_services_available?

def self.region_health_check_services_available?(version: :v1) -> boolean

Determines whether the RegionHealthCheckServices service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_health_check_services. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionHealthCheckServices service, or if the versioned client gem needs an update to support the RegionHealthCheckServices service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionHealthChecks service. You can determine whether the method will succeed by calling Compute.region_health_checks_available?.

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_health_checks_available?

def self.region_health_checks_available?(version: :v1) -> boolean

Determines whether the RegionHealthChecks service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_health_checks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionHealthChecks service, or if the versioned client gem needs an update to support the RegionHealthChecks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionInstanceGroupManagers service. You can determine whether the method will succeed by calling Compute.region_instance_group_managers_available?.

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_group_managers_available?

def self.region_instance_group_managers_available?(version: :v1) -> boolean

Determines whether the RegionInstanceGroupManagers service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_instance_group_managers. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionInstanceGroupManagers service, or if the versioned client gem needs an update to support the RegionInstanceGroupManagers service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionInstanceGroups service. You can determine whether the method will succeed by calling Compute.region_instance_groups_available?.

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_groups_available?

def self.region_instance_groups_available?(version: :v1) -> boolean

Determines whether the RegionInstanceGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_instance_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionInstanceGroups service, or if the versioned client gem needs an update to support the RegionInstanceGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionInstanceTemplates service. You can determine whether the method will succeed by calling Compute.region_instance_templates_available?.

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_instance_templates_available?

def self.region_instance_templates_available?(version: :v1) -> boolean

Determines whether the RegionInstanceTemplates service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_instance_templates. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionInstanceTemplates service, or if the versioned client gem needs an update to support the RegionInstanceTemplates service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionInstances service. You can determine whether the method will succeed by calling Compute.region_instances_available?.

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_instances_available?

def self.region_instances_available?(version: :v1) -> boolean

Determines whether the RegionInstances service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_instances. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionInstances service, or if the versioned client gem needs an update to support the RegionInstances service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.region_instant_snapshots

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

Create a new client object for RegionInstantSnapshots.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionInstantSnapshots::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 RegionInstantSnapshots service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionInstantSnapshots service. You can determine whether the method will succeed by calling Compute.region_instant_snapshots_available?.

About RegionInstantSnapshots

The RegionInstantSnapshots 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_instant_snapshots_available?

def self.region_instant_snapshots_available?(version: :v1) -> boolean

Determines whether the RegionInstantSnapshots service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_instant_snapshots. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionInstantSnapshots service, or if the versioned client gem needs an update to support the RegionInstantSnapshots service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionNetworkEndpointGroups service. You can determine whether the method will succeed by calling Compute.region_network_endpoint_groups_available?.

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_endpoint_groups_available?

def self.region_network_endpoint_groups_available?(version: :v1) -> boolean

Determines whether the RegionNetworkEndpointGroups service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_network_endpoint_groups. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionNetworkEndpointGroups service, or if the versioned client gem needs an update to support the RegionNetworkEndpointGroups service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionNetworkFirewallPolicies service. You can determine whether the method will succeed by calling Compute.region_network_firewall_policies_available?.

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_network_firewall_policies_available?

def self.region_network_firewall_policies_available?(version: :v1) -> boolean

Determines whether the RegionNetworkFirewallPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_network_firewall_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionNetworkFirewallPolicies service, or if the versioned client gem needs an update to support the RegionNetworkFirewallPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionNotificationEndpoints service. You can determine whether the method will succeed by calling Compute.region_notification_endpoints_available?.

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_notification_endpoints_available?

def self.region_notification_endpoints_available?(version: :v1) -> boolean

Determines whether the RegionNotificationEndpoints service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_notification_endpoints. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionNotificationEndpoints service, or if the versioned client gem needs an update to support the RegionNotificationEndpoints service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionOperations service. You can determine whether the method will succeed by calling Compute.region_operations_available?.

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_operations_available?

def self.region_operations_available?(version: :v1) -> boolean

Determines whether the RegionOperations service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_operations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionOperations service, or if the versioned client gem needs an update to support the RegionOperations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionSecurityPolicies service. You can determine whether the method will succeed by calling Compute.region_security_policies_available?.

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_security_policies_available?

def self.region_security_policies_available?(version: :v1) -> boolean

Determines whether the RegionSecurityPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_security_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionSecurityPolicies service, or if the versioned client gem needs an update to support the RegionSecurityPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionSslCertificates service. You can determine whether the method will succeed by calling Compute.region_ssl_certificates_available?.

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_certificates_available?

def self.region_ssl_certificates_available?(version: :v1) -> boolean

Determines whether the RegionSslCertificates service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_ssl_certificates. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionSslCertificates service, or if the versioned client gem needs an update to support the RegionSslCertificates service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionSslPolicies service. You can determine whether the method will succeed by calling Compute.region_ssl_policies_available?.

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_ssl_policies_available?

def self.region_ssl_policies_available?(version: :v1) -> boolean

Determines whether the RegionSslPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_ssl_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionSslPolicies service, or if the versioned client gem needs an update to support the RegionSslPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionTargetHttpProxies service. You can determine whether the method will succeed by calling Compute.region_target_http_proxies_available?.

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_http_proxies_available?

def self.region_target_http_proxies_available?(version: :v1) -> boolean

Determines whether the RegionTargetHttpProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_target_http_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionTargetHttpProxies service, or if the versioned client gem needs an update to support the RegionTargetHttpProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionTargetHttpsProxies service. You can determine whether the method will succeed by calling Compute.region_target_https_proxies_available?.

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_https_proxies_available?

def self.region_target_https_proxies_available?(version: :v1) -> boolean

Determines whether the RegionTargetHttpsProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_target_https_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionTargetHttpsProxies service, or if the versioned client gem needs an update to support the RegionTargetHttpsProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionTargetTcpProxies service. You can determine whether the method will succeed by calling Compute.region_target_tcp_proxies_available?.

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_target_tcp_proxies_available?

def self.region_target_tcp_proxies_available?(version: :v1) -> boolean

Determines whether the RegionTargetTcpProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_target_tcp_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionTargetTcpProxies service, or if the versioned client gem needs an update to support the RegionTargetTcpProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionUrlMaps service. You can determine whether the method will succeed by calling Compute.region_url_maps_available?.

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.

.region_url_maps_available?

def self.region_url_maps_available?(version: :v1) -> boolean

Determines whether the RegionUrlMaps service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_url_maps. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionUrlMaps service, or if the versioned client gem needs an update to support the RegionUrlMaps service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.region_zones

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

Create a new client object for RegionZones.

By default, this returns an instance of Google::Cloud::Compute::V1::RegionZones::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 RegionZones service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the RegionZones service. You can determine whether the method will succeed by calling Compute.region_zones_available?.

About RegionZones

The RegionZones 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_zones_available?

def self.region_zones_available?(version: :v1) -> boolean

Determines whether the RegionZones service is supported by the current client. If true, you can retrieve a client object by calling Compute.region_zones. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the RegionZones service, or if the versioned client gem needs an update to support the RegionZones service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Regions service. You can determine whether the method will succeed by calling Compute.regions_available?.

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.

.regions_available?

def self.regions_available?(version: :v1) -> boolean

Determines whether the Regions service is supported by the current client. If true, you can retrieve a client object by calling Compute.regions. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Regions service, or if the versioned client gem needs an update to support the Regions service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Reservations service. You can determine whether the method will succeed by calling Compute.reservations_available?.

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.

.reservations_available?

def self.reservations_available?(version: :v1) -> boolean

Determines whether the Reservations service is supported by the current client. If true, you can retrieve a client object by calling Compute.reservations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Reservations service, or if the versioned client gem needs an update to support the Reservations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ResourcePolicies service. You can determine whether the method will succeed by calling Compute.resource_policies_available?.

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.

.resource_policies_available?

def self.resource_policies_available?(version: :v1) -> boolean

Determines whether the ResourcePolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.resource_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ResourcePolicies service, or if the versioned client gem needs an update to support the ResourcePolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Routers service. You can determine whether the method will succeed by calling Compute.routers_available?.

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.

.routers_available?

def self.routers_available?(version: :v1) -> boolean

Determines whether the Routers service is supported by the current client. If true, you can retrieve a client object by calling Compute.routers. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Routers service, or if the versioned client gem needs an update to support the Routers service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Routes service. You can determine whether the method will succeed by calling Compute.routes_available?.

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.

.routes_available?

def self.routes_available?(version: :v1) -> boolean

Determines whether the Routes service is supported by the current client. If true, you can retrieve a client object by calling Compute.routes. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Routes service, or if the versioned client gem needs an update to support the Routes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the SecurityPolicies service. You can determine whether the method will succeed by calling Compute.security_policies_available?.

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.

.security_policies_available?

def self.security_policies_available?(version: :v1) -> boolean

Determines whether the SecurityPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.security_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the SecurityPolicies service, or if the versioned client gem needs an update to support the SecurityPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ServiceAttachments service. You can determine whether the method will succeed by calling Compute.service_attachments_available?.

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.

.service_attachments_available?

def self.service_attachments_available?(version: :v1) -> boolean

Determines whether the ServiceAttachments service is supported by the current client. If true, you can retrieve a client object by calling Compute.service_attachments. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ServiceAttachments service, or if the versioned client gem needs an update to support the ServiceAttachments service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the SnapshotSettingsService service. You can determine whether the method will succeed by calling Compute.snapshot_settings_service_available?.

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.

.snapshot_settings_service_available?

def self.snapshot_settings_service_available?(version: :v1) -> boolean

Determines whether the SnapshotSettingsService service is supported by the current client. If true, you can retrieve a client object by calling Compute.snapshot_settings_service. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the SnapshotSettingsService service, or if the versioned client gem needs an update to support the SnapshotSettingsService service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Snapshots service. You can determine whether the method will succeed by calling Compute.snapshots_available?.

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.

.snapshots_available?

def self.snapshots_available?(version: :v1) -> boolean

Determines whether the Snapshots service is supported by the current client. If true, you can retrieve a client object by calling Compute.snapshots. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Snapshots service, or if the versioned client gem needs an update to support the Snapshots service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the SslCertificates service. You can determine whether the method will succeed by calling Compute.ssl_certificates_available?.

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_certificates_available?

def self.ssl_certificates_available?(version: :v1) -> boolean

Determines whether the SslCertificates service is supported by the current client. If true, you can retrieve a client object by calling Compute.ssl_certificates. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the SslCertificates service, or if the versioned client gem needs an update to support the SslCertificates service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the SslPolicies service. You can determine whether the method will succeed by calling Compute.ssl_policies_available?.

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.

.ssl_policies_available?

def self.ssl_policies_available?(version: :v1) -> boolean

Determines whether the SslPolicies service is supported by the current client. If true, you can retrieve a client object by calling Compute.ssl_policies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the SslPolicies service, or if the versioned client gem needs an update to support the SslPolicies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.storage_pool_types

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

Create a new client object for StoragePoolTypes.

By default, this returns an instance of Google::Cloud::Compute::V1::StoragePoolTypes::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 StoragePoolTypes service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the StoragePoolTypes service. You can determine whether the method will succeed by calling Compute.storage_pool_types_available?.

About StoragePoolTypes

The StoragePoolTypes 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.

.storage_pool_types_available?

def self.storage_pool_types_available?(version: :v1) -> boolean

Determines whether the StoragePoolTypes service is supported by the current client. If true, you can retrieve a client object by calling Compute.storage_pool_types. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the StoragePoolTypes service, or if the versioned client gem needs an update to support the StoragePoolTypes service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.storage_pools

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

Create a new client object for StoragePools.

By default, this returns an instance of Google::Cloud::Compute::V1::StoragePools::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 StoragePools service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for the given API version does not support the StoragePools service. You can determine whether the method will succeed by calling Compute.storage_pools_available?.

About StoragePools

The StoragePools 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.

.storage_pools_available?

def self.storage_pools_available?(version: :v1) -> boolean

Determines whether the StoragePools service is supported by the current client. If true, you can retrieve a client object by calling Compute.storage_pools. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the StoragePools service, or if the versioned client gem needs an update to support the StoragePools service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Subnetworks service. You can determine whether the method will succeed by calling Compute.subnetworks_available?.

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.

.subnetworks_available?

def self.subnetworks_available?(version: :v1) -> boolean

Determines whether the Subnetworks service is supported by the current client. If true, you can retrieve a client object by calling Compute.subnetworks. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Subnetworks service, or if the versioned client gem needs an update to support the Subnetworks service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetGrpcProxies service. You can determine whether the method will succeed by calling Compute.target_grpc_proxies_available?.

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_grpc_proxies_available?

def self.target_grpc_proxies_available?(version: :v1) -> boolean

Determines whether the TargetGrpcProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_grpc_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetGrpcProxies service, or if the versioned client gem needs an update to support the TargetGrpcProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetHttpProxies service. You can determine whether the method will succeed by calling Compute.target_http_proxies_available?.

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_http_proxies_available?

def self.target_http_proxies_available?(version: :v1) -> boolean

Determines whether the TargetHttpProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_http_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetHttpProxies service, or if the versioned client gem needs an update to support the TargetHttpProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetHttpsProxies service. You can determine whether the method will succeed by calling Compute.target_https_proxies_available?.

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_https_proxies_available?

def self.target_https_proxies_available?(version: :v1) -> boolean

Determines whether the TargetHttpsProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_https_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetHttpsProxies service, or if the versioned client gem needs an update to support the TargetHttpsProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetInstances service. You can determine whether the method will succeed by calling Compute.target_instances_available?.

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_instances_available?

def self.target_instances_available?(version: :v1) -> boolean

Determines whether the TargetInstances service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_instances. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetInstances service, or if the versioned client gem needs an update to support the TargetInstances service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetPools service. You can determine whether the method will succeed by calling Compute.target_pools_available?.

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_pools_available?

def self.target_pools_available?(version: :v1) -> boolean

Determines whether the TargetPools service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_pools. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetPools service, or if the versioned client gem needs an update to support the TargetPools service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetSslProxies service. You can determine whether the method will succeed by calling Compute.target_ssl_proxies_available?.

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_ssl_proxies_available?

def self.target_ssl_proxies_available?(version: :v1) -> boolean

Determines whether the TargetSslProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_ssl_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetSslProxies service, or if the versioned client gem needs an update to support the TargetSslProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetTcpProxies service. You can determine whether the method will succeed by calling Compute.target_tcp_proxies_available?.

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_tcp_proxies_available?

def self.target_tcp_proxies_available?(version: :v1) -> boolean

Determines whether the TargetTcpProxies service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_tcp_proxies. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetTcpProxies service, or if the versioned client gem needs an update to support the TargetTcpProxies service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the TargetVpnGateways service. You can determine whether the method will succeed by calling Compute.target_vpn_gateways_available?.

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.

.target_vpn_gateways_available?

def self.target_vpn_gateways_available?(version: :v1) -> boolean

Determines whether the TargetVpnGateways service is supported by the current client. If true, you can retrieve a client object by calling Compute.target_vpn_gateways. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the TargetVpnGateways service, or if the versioned client gem needs an update to support the TargetVpnGateways service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the UrlMaps service. You can determine whether the method will succeed by calling Compute.url_maps_available?.

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.

.url_maps_available?

def self.url_maps_available?(version: :v1) -> boolean

Determines whether the UrlMaps service is supported by the current client. If true, you can retrieve a client object by calling Compute.url_maps. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the UrlMaps service, or if the versioned client gem needs an update to support the UrlMaps service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the VpnGateways service. You can determine whether the method will succeed by calling Compute.vpn_gateways_available?.

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_gateways_available?

def self.vpn_gateways_available?(version: :v1) -> boolean

Determines whether the VpnGateways service is supported by the current client. If true, you can retrieve a client object by calling Compute.vpn_gateways. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the VpnGateways service, or if the versioned client gem needs an update to support the VpnGateways service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the VpnTunnels service. You can determine whether the method will succeed by calling Compute.vpn_tunnels_available?.

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.

.vpn_tunnels_available?

def self.vpn_tunnels_available?(version: :v1) -> boolean

Determines whether the VpnTunnels service is supported by the current client. If true, you can retrieve a client object by calling Compute.vpn_tunnels. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the VpnTunnels service, or if the versioned client gem needs an update to support the VpnTunnels service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the ZoneOperations service. You can determine whether the method will succeed by calling Compute.zone_operations_available?.

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.

.zone_operations_available?

def self.zone_operations_available?(version: :v1) -> boolean

Determines whether the ZoneOperations service is supported by the current client. If true, you can retrieve a client object by calling Compute.zone_operations. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the ZoneOperations service, or if the versioned client gem needs an update to support the ZoneOperations service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

.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.

Raises an exception if the currently installed versioned client gem for the given API version does not support the Zones service. You can determine whether the method will succeed by calling Compute.zones_available?.

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.

.zones_available?

def self.zones_available?(version: :v1) -> boolean

Determines whether the Zones service is supported by the current client. If true, you can retrieve a client object by calling Compute.zones. If false, that method will raise an exception. This could happen if the given API version does not exist or does not support the Zones service, or if the versioned client gem needs an update to support the Zones service.

Parameter
  • version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional. Defaults to :v1.
Returns
  • (boolean) — Whether the service is available.

Constants

VERSION

value: "1.10.0"