public sealed class NetworkSpec : IMessage<NetworkSpec>, IEquatable<NetworkSpec>, IDeepCloneable<NetworkSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class NetworkSpec.
Network spec.
Implements
IMessageNetworkSpec, IEquatableNetworkSpec, IDeepCloneableNetworkSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
NetworkSpec()
public NetworkSpec()
NetworkSpec(NetworkSpec)
public NetworkSpec(NetworkSpec other)
Parameter | |
---|---|
Name | Description |
other |
NetworkSpec |
Properties
EnableInternetAccess
public bool EnableInternetAccess { get; set; }
Whether to enable public internet access. Default false.
Property Value | |
---|---|
Type | Description |
bool |
Network
public string Network { get; set; }
The full name of the Google Compute Engine network
Property Value | |
---|---|
Type | Description |
string |
NetworkAsNetworkName
public NetworkName NetworkAsNetworkName { get; set; }
NetworkName-typed view over the Network resource name property.
Property Value | |
---|---|
Type | Description |
NetworkName |
Subnetwork
public string Subnetwork { get; set; }
The name of the subnet that this instance is in.
Format:
projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}
Property Value | |
---|---|
Type | Description |
string |
SubnetworkAsSubnetworkName
public SubnetworkName SubnetworkAsSubnetworkName { get; set; }
SubnetworkName-typed view over the Subnetwork resource name property.
Property Value | |
---|---|
Type | Description |
SubnetworkName |