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

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

Methods

.accelerator_types

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

Create a new client object for AcceleratorTypes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the AcceleratorTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.accelerator_types.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Addresses.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Addresses service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.addresses.If false, that method will raise an exception. This could happen if the givenAPI 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.

.advice

defself.advice(version::v1,&block)->::Object

Create a new client object for Advice.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::Advice::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the Advice service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Advice service.You can determine whether the method will succeed by callingCompute.advice_available?.

About Advice

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

.advice_available?

defself.advice_available?(version::v1)->boolean

Determines whether the Advice service is supported by the current client.If true, you can retrieve a client object by callingCompute.advice.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the Advice service,or if the versioned client gem needs an update to support the Advice 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

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

Create a new client object for Autoscalers.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Autoscalers service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.autoscalers.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for BackendBuckets.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the BackendBuckets service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.backend_buckets.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for BackendServices.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the BackendServices service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.backend_services.If false, that method will raise an exception. This could happen if the givenAPI 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

defself.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 aHash, 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

.cross_site_networks

defself.cross_site_networks(version::v1,&block)->::Object

Create a new client object for CrossSiteNetworks.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::CrossSiteNetworks::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the CrossSiteNetworks service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the CrossSiteNetworks service.You can determine whether the method will succeed by callingCompute.cross_site_networks_available?.

About CrossSiteNetworks

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

.cross_site_networks_available?

defself.cross_site_networks_available?(version::v1)->boolean

Determines whether the CrossSiteNetworks service is supported by the current client.If true, you can retrieve a client object by callingCompute.cross_site_networks.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the CrossSiteNetworks service,or if the versioned client gem needs an update to support the CrossSiteNetworks 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.

.disk_types

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

Create a new client object for DiskTypes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the DiskTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.disk_types.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Disks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Disks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.disks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for ExternalVpnGateways.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ExternalVpnGateways service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.external_vpn_gateways.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for FirewallPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the FirewallPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.firewall_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Firewalls.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Firewalls service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.firewalls.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for ForwardingRules.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ForwardingRules service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.forwarding_rules.If false, that method will raise an exception. This could happen if the givenAPI 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.

.future_reservations

defself.future_reservations(version::v1,&block)->::Object

Create a new client object for FutureReservations.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::FutureReservations::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the FutureReservations service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the FutureReservations service.You can determine whether the method will succeed by callingCompute.future_reservations_available?.

About FutureReservations

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

.future_reservations_available?

defself.future_reservations_available?(version::v1)->boolean

Determines whether the FutureReservations service is supported by the current client.If true, you can retrieve a client object by callingCompute.future_reservations.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the FutureReservations service,or if the versioned client gem needs an update to support the FutureReservations 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

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

Create a new client object for GlobalAddresses.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalAddresses service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_addresses.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for GlobalForwardingRules.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalForwardingRules service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_forwarding_rules.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for GlobalNetworkEndpointGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalNetworkEndpointGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_network_endpoint_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for GlobalOperations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalOperations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_operations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for GlobalOrganizationOperations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalOrganizationOperations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_organization_operations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for GlobalPublicDelegatedPrefixes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the GlobalPublicDelegatedPrefixes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.global_public_delegated_prefixes.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for HealthChecks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the HealthChecks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.health_checks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for ImageFamilyViews.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ImageFamilyViews service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.image_family_views.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Images.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Images service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.images.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstanceGroupManagerResizeRequests.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::InstanceGroupManagerResizeRequests::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the InstanceGroupManagerResizeRequests service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstanceGroupManagerResizeRequests service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instance_group_manager_resize_requests.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstanceGroupManagers.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstanceGroupManagers service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instance_group_managers.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstanceGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstanceGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instance_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstanceSettingsService.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::InstanceSettingsService::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the InstanceSettingsService service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstanceSettingsService service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instance_settings_service.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstanceTemplates.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstanceTemplates service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instance_templates.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Instances.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Instances service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instances.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InstantSnapshots.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::InstantSnapshots::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the InstantSnapshots service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InstantSnapshots service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.instant_snapshots.If false, that method will raise an exception. This could happen if the givenAPI 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_attachment_groups

defself.interconnect_attachment_groups(version::v1,&block)->::Object

Create a new client object for InterconnectAttachmentGroups.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::InterconnectAttachmentGroups::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the InterconnectAttachmentGroups service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InterconnectAttachmentGroups service.You can determine whether the method will succeed by callingCompute.interconnect_attachment_groups_available?.

About InterconnectAttachmentGroups

The InterconnectAttachmentGroups 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_attachment_groups_available?

defself.interconnect_attachment_groups_available?(version::v1)->boolean

Determines whether the InterconnectAttachmentGroups service is supported by the current client.If true, you can retrieve a client object by callingCompute.interconnect_attachment_groups.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the InterconnectAttachmentGroups service,or if the versioned client gem needs an update to support the InterconnectAttachmentGroups 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

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

Create a new client object for InterconnectAttachments.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InterconnectAttachments service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.interconnect_attachments.If false, that method will raise an exception. This could happen if the givenAPI 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_groups

defself.interconnect_groups(version::v1,&block)->::Object

Create a new client object for InterconnectGroups.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::InterconnectGroups::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the InterconnectGroups service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InterconnectGroups service.You can determine whether the method will succeed by callingCompute.interconnect_groups_available?.

About InterconnectGroups

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

defself.interconnect_groups_available?(version::v1)->boolean

Determines whether the InterconnectGroups service is supported by the current client.If true, you can retrieve a client object by callingCompute.interconnect_groups.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the InterconnectGroups service,or if the versioned client gem needs an update to support the InterconnectGroups 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

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

Create a new client object for InterconnectLocations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InterconnectLocations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.interconnect_locations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for InterconnectRemoteLocations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the InterconnectRemoteLocations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.interconnect_remote_locations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Interconnects.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Interconnects service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.interconnects.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for LicenseCodes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the LicenseCodes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.license_codes.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Licenses.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Licenses service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.licenses.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for MachineImages.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the MachineImages service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.machine_images.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for MachineTypes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the MachineTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.machine_types.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NetworkAttachments.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NetworkAttachments service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.network_attachments.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NetworkEdgeSecurityServices.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NetworkEdgeSecurityServices service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.network_edge_security_services.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NetworkEndpointGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NetworkEndpointGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.network_endpoint_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NetworkFirewallPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NetworkFirewallPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.network_firewall_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NetworkProfiles.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::NetworkProfiles::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the NetworkProfiles service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NetworkProfiles service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.network_profiles.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Networks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Networks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.networks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NodeGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NodeGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.node_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NodeTemplates.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NodeTemplates service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.node_templates.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for NodeTypes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the NodeTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.node_types.If false, that method will raise an exception. This could happen if the givenAPI 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.

.organization_security_policies

defself.organization_security_policies(version::v1,&block)->::Object

Create a new client object for OrganizationSecurityPolicies.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::OrganizationSecurityPolicies::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the OrganizationSecurityPolicies service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the OrganizationSecurityPolicies service.You can determine whether the method will succeed by callingCompute.organization_security_policies_available?.

About OrganizationSecurityPolicies

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

.organization_security_policies_available?

defself.organization_security_policies_available?(version::v1)->boolean

Determines whether the OrganizationSecurityPolicies service is supported by the current client.If true, you can retrieve a client object by callingCompute.organization_security_policies.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the OrganizationSecurityPolicies service,or if the versioned client gem needs an update to support the OrganizationSecurityPolicies 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

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

Create a new client object for PacketMirrorings.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the PacketMirrorings service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.packet_mirrorings.If false, that method will raise an exception. This could happen if the givenAPI 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.

.preview_features

defself.preview_features(version::v1,&block)->::Object

Create a new client object for PreviewFeatures.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::PreviewFeatures::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the PreviewFeatures service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the PreviewFeatures service.You can determine whether the method will succeed by callingCompute.preview_features_available?.

About PreviewFeatures

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

.preview_features_available?

defself.preview_features_available?(version::v1)->boolean

Determines whether the PreviewFeatures service is supported by the current client.If true, you can retrieve a client object by callingCompute.preview_features.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the PreviewFeatures service,or if the versioned client gem needs an update to support the PreviewFeatures 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

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

Create a new client object for Projects.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Projects service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.projects.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for PublicAdvertisedPrefixes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the PublicAdvertisedPrefixes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.public_advertised_prefixes.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for PublicDelegatedPrefixes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the PublicDelegatedPrefixes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.public_delegated_prefixes.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionAutoscalers.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionAutoscalers service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_autoscalers.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionBackendServices.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionBackendServices service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_backend_services.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionCommitments.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionCommitments service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_commitments.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionDiskTypes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionDiskTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_disk_types.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionDisks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionDisks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_disks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionHealthCheckServices.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionHealthCheckServices service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_health_check_services.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionHealthChecks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionHealthChecks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_health_checks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionInstanceGroupManagers.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionInstanceGroupManagers service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_instance_group_managers.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionInstanceGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionInstanceGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_instance_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionInstanceTemplates.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionInstanceTemplates service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_instance_templates.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionInstances.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionInstances service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_instances.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionInstantSnapshots.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::RegionInstantSnapshots::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the RegionInstantSnapshots service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionInstantSnapshots service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_instant_snapshots.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionNetworkEndpointGroups.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionNetworkEndpointGroups service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_network_endpoint_groups.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionNetworkFirewallPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionNetworkFirewallPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_network_firewall_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionNotificationEndpoints.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionNotificationEndpoints service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_notification_endpoints.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionOperations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionOperations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_operations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionSecurityPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionSecurityPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_security_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionSslCertificates.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionSslCertificates service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_ssl_certificates.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionSslPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionSslPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_ssl_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionTargetHttpProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionTargetHttpProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_target_http_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionTargetHttpsProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionTargetHttpsProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_target_https_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionTargetTcpProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionTargetTcpProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_target_tcp_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionUrlMaps.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionUrlMaps service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_url_maps.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for RegionZones.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::RegionZones::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the RegionZones service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the RegionZones service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.region_zones.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Regions.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Regions service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.regions.If false, that method will raise an exception. This could happen if the givenAPI 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.

.reservation_blocks

defself.reservation_blocks(version::v1,&block)->::Object

Create a new client object for ReservationBlocks.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::ReservationBlocks::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the ReservationBlocks service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ReservationBlocks service.You can determine whether the method will succeed by callingCompute.reservation_blocks_available?.

About ReservationBlocks

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

.reservation_blocks_available?

defself.reservation_blocks_available?(version::v1)->boolean

Determines whether the ReservationBlocks service is supported by the current client.If true, you can retrieve a client object by callingCompute.reservation_blocks.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the ReservationBlocks service,or if the versioned client gem needs an update to support the ReservationBlocks 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.

.reservation_sub_blocks

defself.reservation_sub_blocks(version::v1,&block)->::Object

Create a new client object for ReservationSubBlocks.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::ReservationSubBlocks::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the ReservationSubBlocks service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ReservationSubBlocks service.You can determine whether the method will succeed by callingCompute.reservation_sub_blocks_available?.

About ReservationSubBlocks

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

.reservation_sub_blocks_available?

defself.reservation_sub_blocks_available?(version::v1)->boolean

Determines whether the ReservationSubBlocks service is supported by the current client.If true, you can retrieve a client object by callingCompute.reservation_sub_blocks.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the ReservationSubBlocks service,or if the versioned client gem needs an update to support the ReservationSubBlocks 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

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

Create a new client object for Reservations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Reservations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.reservations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for ResourcePolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ResourcePolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.resource_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Routers.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Routers service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.routers.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Routes.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Routes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.routes.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for SecurityPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the SecurityPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.security_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for ServiceAttachments.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ServiceAttachments service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.service_attachments.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for SnapshotSettingsService.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the SnapshotSettingsService service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.snapshot_settings_service.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Snapshots.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Snapshots service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.snapshots.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for SslCertificates.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the SslCertificates service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.ssl_certificates.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for SslPolicies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the SslPolicies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.ssl_policies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for StoragePoolTypes.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::StoragePoolTypes::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the StoragePoolTypes service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the StoragePoolTypes service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.storage_pool_types.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for StoragePools.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::StoragePools::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the StoragePools service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the StoragePools service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.storage_pools.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Subnetworks.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Subnetworks service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.subnetworks.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetGrpcProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetGrpcProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_grpc_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetHttpProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetHttpProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_http_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetHttpsProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetHttpsProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_https_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetInstances.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetInstances service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_instances.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetPools.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetPools service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_pools.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetSslProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetSslProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_ssl_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetTcpProxies.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetTcpProxies service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_tcp_proxies.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for TargetVpnGateways.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the TargetVpnGateways service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.target_vpn_gateways.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for UrlMaps.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the UrlMaps service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.url_maps.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for VpnGateways.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the VpnGateways service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.vpn_gateways.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for VpnTunnels.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the VpnTunnels service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.vpn_tunnels.If false, that method will raise an exception. This could happen if the givenAPI 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.

.wire_groups

defself.wire_groups(version::v1,&block)->::Object

Create a new client object for WireGroups.

By default, this returns an instance ofGoogle::Cloud::Compute::V1::WireGroups::Rest::Clientfor a REST client for version V1 of the API.However, you can specify a different API version by passing it in theversion parameter. If the WireGroups service issupported by that API version, and the corresponding gem is available, theappropriate versioned client will be returned.

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the WireGroups service.You can determine whether the method will succeed by callingCompute.wire_groups_available?.

About WireGroups

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

.wire_groups_available?

defself.wire_groups_available?(version::v1)->boolean

Determines whether the WireGroups service is supported by the current client.If true, you can retrieve a client object by callingCompute.wire_groups.If false, that method will raise an exception. This could happen if the givenAPI version does not exist or does not support the WireGroups service,or if the versioned client gem needs an update to support the WireGroups 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

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

Create a new client object for ZoneOperations.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the ZoneOperations service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.zone_operations.If false, that method will raise an exception. This could happen if the givenAPI 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

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

Create a new client object for Zones.

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

Raises an exception if the currently installed versioned client gem for thegiven API version does not support the Zones service.You can determine whether the method will succeed by callingCompute.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?

defself.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 callingCompute.zones.If false, that method will raise an exception. This could happen if the givenAPI 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.14.0"

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-16 UTC.