Cloud AI Platform v1 API - Class NetworkSpec (2.28.0)

public sealed class NetworkSpec : IMessage<NetworkSpec>, IEquatable<NetworkSpec>, IDeepCloneable<NetworkSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class NetworkSpec.

Network spec.

Inheritance

object > NetworkSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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