Cloud Life Sciences V2beta API - Class Google::Cloud::LifeSciences::V2beta::Network (v0.8.1)

Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::Network.

VM networking options.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#network

def network() -> ::String
Returns
  • (::String) — The network name to attach the VM's network interface to. The value will be prefixed with global/networks/ unless it contains a /, in which case it is assumed to be a fully specified network resource URL.

    If unspecified, the global default network is used.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — The network name to attach the VM's network interface to. The value will be prefixed with global/networks/ unless it contains a /, in which case it is assumed to be a fully specified network resource URL.

    If unspecified, the global default network is used.

Returns
  • (::String) — The network name to attach the VM's network interface to. The value will be prefixed with global/networks/ unless it contains a /, in which case it is assumed to be a fully specified network resource URL.

    If unspecified, the global default network is used.

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here.

    The value is prefixed with regions/*/subnetworks/ unless it contains a /, in which case it is assumed to be a fully specified subnetwork resource URL.

    If the * character appears in the value, it is replaced with the region that the virtual machine has been allocated in.

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here.

    The value is prefixed with regions/*/subnetworks/ unless it contains a /, in which case it is assumed to be a fully specified subnetwork resource URL.

    If the * character appears in the value, it is replaced with the region that the virtual machine has been allocated in.

Returns
  • (::String) — If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here.

    The value is prefixed with regions/*/subnetworks/ unless it contains a /, in which case it is assumed to be a fully specified subnetwork resource URL.

    If the * character appears in the value, it is replaced with the region that the virtual machine has been allocated in.

#use_private_address

def use_private_address() -> ::Boolean
Returns
  • (::Boolean) — If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.

    See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.

#use_private_address=

def use_private_address=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.

    See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.

Returns
  • (::Boolean) — If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services.

    See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.