Google Cloud Compute API - Module Google::Cloud::Compute (v1.14.0) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Compute API module Google::Cloud::Compute.
Methods
.accelerator_types
defself.accelerator_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.accelerator_types_available?
defself.accelerator_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.addresses
defself.addresses(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.addresses_available?
defself.addresses_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.advice
defself.advice(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.advice_available?
defself.advice_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.autoscalers
defself.autoscalers(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.autoscalers_available?
defself.autoscalers_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.backend_buckets
defself.backend_buckets(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.backend_buckets_available?
defself.backend_buckets_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.backend_services
defself.backend_services(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.backend_services_available?
defself.backend_services_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.configure
defself.configure()->::Google::Cloud::ConfigConfigure 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.
- (::Google::Cloud.configure.compute)
- (::Google::Cloud::Config) — The default configuration used by this library
.cross_site_networks
defself.cross_site_networks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.cross_site_networks_available?
defself.cross_site_networks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.disk_types
defself.disk_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.disk_types_available?
defself.disk_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.disks
defself.disks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.disks_available?
defself.disks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.external_vpn_gateways
defself.external_vpn_gateways(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.external_vpn_gateways_available?
defself.external_vpn_gateways_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.firewall_policies
defself.firewall_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.firewall_policies_available?
defself.firewall_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.firewalls
defself.firewalls(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.firewalls_available?
defself.firewalls_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.forwarding_rules
defself.forwarding_rules(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.forwarding_rules_available?
defself.forwarding_rules_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.future_reservations
defself.future_reservations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.future_reservations_available?
defself.future_reservations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_addresses
defself.global_addresses(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_addresses_available?
defself.global_addresses_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_forwarding_rules
defself.global_forwarding_rules(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_forwarding_rules_available?
defself.global_forwarding_rules_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_network_endpoint_groups
defself.global_network_endpoint_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_network_endpoint_groups_available?
defself.global_network_endpoint_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_operations
defself.global_operations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_operations_available?
defself.global_operations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_organization_operations
defself.global_organization_operations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_organization_operations_available?
defself.global_organization_operations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.global_public_delegated_prefixes
defself.global_public_delegated_prefixes(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.global_public_delegated_prefixes_available?
defself.global_public_delegated_prefixes_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.health_checks
defself.health_checks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.health_checks_available?
defself.health_checks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.image_family_views
defself.image_family_views(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.image_family_views_available?
defself.image_family_views_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.images
defself.images(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.images_available?
defself.images_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instance_group_manager_resize_requests
defself.instance_group_manager_resize_requests(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instance_group_manager_resize_requests_available?
defself.instance_group_manager_resize_requests_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instance_group_managers
defself.instance_group_managers(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instance_group_managers_available?
defself.instance_group_managers_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instance_groups
defself.instance_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instance_groups_available?
defself.instance_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instance_settings_service
defself.instance_settings_service(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instance_settings_service_available?
defself.instance_settings_service_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instance_templates
defself.instance_templates(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instance_templates_available?
defself.instance_templates_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instances
defself.instances(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instances_available?
defself.instances_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.instant_snapshots
defself.instant_snapshots(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.instant_snapshots_available?
defself.instant_snapshots_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnect_attachment_groups
defself.interconnect_attachment_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnect_attachment_groups_available?
defself.interconnect_attachment_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnect_attachments
defself.interconnect_attachments(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnect_attachments_available?
defself.interconnect_attachments_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnect_groups
defself.interconnect_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnect_groups_available?
defself.interconnect_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnect_locations
defself.interconnect_locations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnect_locations_available?
defself.interconnect_locations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnect_remote_locations
defself.interconnect_remote_locations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnect_remote_locations_available?
defself.interconnect_remote_locations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.interconnects
defself.interconnects(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.interconnects_available?
defself.interconnects_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.license_codes
defself.license_codes(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.license_codes_available?
defself.license_codes_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.licenses
defself.licenses(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.licenses_available?
defself.licenses_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.machine_images
defself.machine_images(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.machine_images_available?
defself.machine_images_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.machine_types
defself.machine_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.machine_types_available?
defself.machine_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.network_attachments
defself.network_attachments(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.network_attachments_available?
defself.network_attachments_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.network_edge_security_services
defself.network_edge_security_services(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.network_edge_security_services_available?
defself.network_edge_security_services_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.network_endpoint_groups
defself.network_endpoint_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.network_endpoint_groups_available?
defself.network_endpoint_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.network_firewall_policies
defself.network_firewall_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.network_firewall_policies_available?
defself.network_firewall_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.network_profiles
defself.network_profiles(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.network_profiles_available?
defself.network_profiles_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.networks
defself.networks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.networks_available?
defself.networks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.node_groups
defself.node_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.node_groups_available?
defself.node_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.node_templates
defself.node_templates(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.node_templates_available?
defself.node_templates_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.node_types
defself.node_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.node_types_available?
defself.node_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.organization_security_policies
defself.organization_security_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.organization_security_policies_available?
defself.organization_security_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.packet_mirrorings
defself.packet_mirrorings(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.packet_mirrorings_available?
defself.packet_mirrorings_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.preview_features
defself.preview_features(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.preview_features_available?
defself.preview_features_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.projects
defself.projects(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.projects_available?
defself.projects_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.public_advertised_prefixes
defself.public_advertised_prefixes(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.public_advertised_prefixes_available?
defself.public_advertised_prefixes_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.public_delegated_prefixes
defself.public_delegated_prefixes(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.public_delegated_prefixes_available?
defself.public_delegated_prefixes_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_autoscalers
defself.region_autoscalers(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_autoscalers_available?
defself.region_autoscalers_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_backend_services
defself.region_backend_services(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_backend_services_available?
defself.region_backend_services_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_commitments
defself.region_commitments(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_commitments_available?
defself.region_commitments_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_disk_types
defself.region_disk_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_disk_types_available?
defself.region_disk_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_disks
defself.region_disks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_disks_available?
defself.region_disks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_health_check_services
defself.region_health_check_services(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_health_check_services_available?
defself.region_health_check_services_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_health_checks
defself.region_health_checks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_health_checks_available?
defself.region_health_checks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_instance_group_managers
defself.region_instance_group_managers(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_instance_group_managers_available?
defself.region_instance_group_managers_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_instance_groups
defself.region_instance_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_instance_groups_available?
defself.region_instance_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_instance_templates
defself.region_instance_templates(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_instance_templates_available?
defself.region_instance_templates_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_instances
defself.region_instances(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_instances_available?
defself.region_instances_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_instant_snapshots
defself.region_instant_snapshots(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_instant_snapshots_available?
defself.region_instant_snapshots_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_network_endpoint_groups
defself.region_network_endpoint_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_network_endpoint_groups_available?
defself.region_network_endpoint_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_network_firewall_policies
defself.region_network_firewall_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_network_firewall_policies_available?
defself.region_network_firewall_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_notification_endpoints
defself.region_notification_endpoints(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_notification_endpoints_available?
defself.region_notification_endpoints_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_operations
defself.region_operations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_operations_available?
defself.region_operations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_security_policies
defself.region_security_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_security_policies_available?
defself.region_security_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_ssl_certificates
defself.region_ssl_certificates(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_ssl_certificates_available?
defself.region_ssl_certificates_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_ssl_policies
defself.region_ssl_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_ssl_policies_available?
defself.region_ssl_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_target_http_proxies
defself.region_target_http_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_target_http_proxies_available?
defself.region_target_http_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_target_https_proxies
defself.region_target_https_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_target_https_proxies_available?
defself.region_target_https_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_target_tcp_proxies
defself.region_target_tcp_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_target_tcp_proxies_available?
defself.region_target_tcp_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_url_maps
defself.region_url_maps(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_url_maps_available?
defself.region_url_maps_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.region_zones
defself.region_zones(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.region_zones_available?
defself.region_zones_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.regions
defself.regions(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.regions_available?
defself.regions_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.reservation_blocks
defself.reservation_blocks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.reservation_blocks_available?
defself.reservation_blocks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.reservation_sub_blocks
defself.reservation_sub_blocks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.reservation_sub_blocks_available?
defself.reservation_sub_blocks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.reservations
defself.reservations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.reservations_available?
defself.reservations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.resource_policies
defself.resource_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.resource_policies_available?
defself.resource_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.routers
defself.routers(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.routers_available?
defself.routers_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.routes
defself.routes(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.routes_available?
defself.routes_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.security_policies
defself.security_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.security_policies_available?
defself.security_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.service_attachments
defself.service_attachments(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.service_attachments_available?
defself.service_attachments_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.snapshot_settings_service
defself.snapshot_settings_service(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.snapshot_settings_service_available?
defself.snapshot_settings_service_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.snapshots
defself.snapshots(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.snapshots_available?
defself.snapshots_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.ssl_certificates
defself.ssl_certificates(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.ssl_certificates_available?
defself.ssl_certificates_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.ssl_policies
defself.ssl_policies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.ssl_policies_available?
defself.ssl_policies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.storage_pool_types
defself.storage_pool_types(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.storage_pool_types_available?
defself.storage_pool_types_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.storage_pools
defself.storage_pools(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.storage_pools_available?
defself.storage_pools_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.subnetworks
defself.subnetworks(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.subnetworks_available?
defself.subnetworks_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_grpc_proxies
defself.target_grpc_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_grpc_proxies_available?
defself.target_grpc_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_http_proxies
defself.target_http_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_http_proxies_available?
defself.target_http_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_https_proxies
defself.target_https_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_https_proxies_available?
defself.target_https_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_instances
defself.target_instances(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_instances_available?
defself.target_instances_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_pools
defself.target_pools(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_pools_available?
defself.target_pools_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_ssl_proxies
defself.target_ssl_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_ssl_proxies_available?
defself.target_ssl_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_tcp_proxies
defself.target_tcp_proxies(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_tcp_proxies_available?
defself.target_tcp_proxies_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.target_vpn_gateways
defself.target_vpn_gateways(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.target_vpn_gateways_available?
defself.target_vpn_gateways_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.url_maps
defself.url_maps(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.url_maps_available?
defself.url_maps_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.vpn_gateways
defself.vpn_gateways(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.vpn_gateways_available?
defself.vpn_gateways_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.vpn_tunnels
defself.vpn_tunnels(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.vpn_tunnels_available?
defself.vpn_tunnels_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.wire_groups
defself.wire_groups(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.wire_groups_available?
defself.wire_groups_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.zone_operations
defself.zone_operations(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.zone_operations_available?
defself.zone_operations_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (boolean) — Whether the service is available.
.zones
defself.zones(version::v1,&block)->::ObjectCreate 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (::Object) — A client object for the specified version.
.zones_available?
defself.zones_available?(version::v1)->booleanDetermines 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.
- version (::String, ::Symbol)(defaults to: :v1) — The API version to connect to. Optional.Defaults to
:v1.
- (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.