public sealed class Network : IMessage<Network>, IEquatable<Network>, IDeepCloneable<Network>, IBufferMessage, IMessage
Network describes the GCP network used to create workers in.
Implements
Google.Protobuf.IMessage<Network>, IEquatable<Network>, Google.Protobuf.IDeepCloneable<Network>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
Network()
public Network()
Network(Network)
public Network(Network other)
Parameter | |
---|---|
Name | Description |
other | Network |
Properties
Network_
public string Network_ { get; set; }
Network on which the workers are created. "default" network is used if empty.
Property Value | |
---|---|
Type | Description |
String |
ProjectId
public string ProjectId { get; set; }
Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
Property Value | |
---|---|
Type | Description |
String |
Subnetwork
public string Subnetwork { get; set; }
Subnetwork on which the workers are created. "default" subnetwork is used if empty.
Property Value | |
---|---|
Type | Description |
String |