public sealed class AllocationPolicy.Types.NetworkInterface : IMessage<AllocationPolicy.Types.NetworkInterface>, IEquatable<AllocationPolicy.Types.NetworkInterface>, IDeepCloneable<AllocationPolicy.Types.NetworkInterface>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.NetworkInterface.
A network interface.
Implements
IMessageAllocationPolicyTypesNetworkInterface, IEquatableAllocationPolicyTypesNetworkInterface, IDeepCloneableAllocationPolicyTypesNetworkInterface, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
NetworkInterface()
public NetworkInterface()
NetworkInterface(NetworkInterface)
public NetworkInterface(AllocationPolicy.Types.NetworkInterface other)
Parameter | |
---|---|
Name | Description |
other | AllocationPolicyTypesNetworkInterface |
Properties
Network
public string Network { get; set; }
The URL of an existing network resource. You can specify the network as a full or partial URL.
For example, the following are all valid URLs: <pre><code>https://www.googleapis.com/compute/v1/projects/<var class="apiparam">project</var>/global/networks/<var class="apiparam">network</var></code></pre> <pre><code>projects/<var class="apiparam">project</var>/global/networks/<var class="apiparam">network</var></code></pre> <pre><code>global/networks/<var class="apiparam">network</var></code></pre>
Property Value | |
---|---|
Type | Description |
string |
NoExternalIpAddress
public bool NoExternalIpAddress { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
Subnetwork
public string Subnetwork { get; set; }
The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL.
For example, the following are all valid URLs: <pre><code>https://www.googleapis.com/compute/v1/projects/<var class="apiparam">project</var>/regions/<var class="apiparam">region</var>/subnetworks/<var class="apiparam">subnetwork</var></code></pre> <pre><code>projects/<var class="apiparam">project</var>/regions/<var class="apiparam">region</var>/subnetworks/<var class="apiparam">subnetwork</var></code></pre> <pre><code>regions/<var class="apiparam">region</var>/subnetworks/<var class="apiparam">subnetwork</var></code></pre>
Property Value | |
---|---|
Type | Description |
string |