class Google::Apis::GenomicsV1::Network

VM networking options.

Attributes

name[RW]

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. Corresponds to the JSON property `name` @return [String]

subnetwork[RW]

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. Corresponds to the JSON property `subnetwork` @return [String]

use_private_address[RW]

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 cloud.google.com/vpc/docs/configure- private-google-access for more information. Corresponds to the JSON property `usePrivateAddress` @return [Boolean]

use_private_address?[RW]

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 cloud.google.com/vpc/docs/configure- private-google-access for more information. Corresponds to the JSON property `usePrivateAddress` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v1/classes.rb, line 582
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/genomics_v1/classes.rb, line 587
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
  @use_private_address = args[:use_private_address] if args.key?(:use_private_address)
end