Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::AllocationPolicy::NetworkInterface.
A network interface.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#network
def network() -> ::String
Returns
- (::String) — The URL of the network resource.
#network=
def network=(value) -> ::String
Parameter
- value (::String) — The URL of the network resource.
Returns
- (::String) — The URL of the network resource.
#no_external_ip_address
def no_external_ip_address() -> ::Boolean
Returns
- (::Boolean) — Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external 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 and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
#no_external_ip_address=
def no_external_ip_address=(value) -> ::Boolean
Parameter
- value (::Boolean) — Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external 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 and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
Returns
- (::Boolean) — Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external 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 and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
#subnetwork
def subnetwork() -> ::String
Returns
- (::String) — The URL of the Subnetwork resource.
#subnetwork=
def subnetwork=(value) -> ::String
Parameter
- value (::String) — The URL of the Subnetwork resource.
Returns
- (::String) — The URL of the Subnetwork resource.