Compute Engine v1 API - Class NetworkAttachment (2.7.0)

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

Reference documentation and code samples for the Compute Engine v1 API class NetworkAttachment.

NetworkAttachments A network attachment resource ...

Inheritance

object > NetworkAttachment

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NetworkAttachment()

public NetworkAttachment()

NetworkAttachment(NetworkAttachment)

public NetworkAttachment(NetworkAttachment other)
Parameter
NameDescription
otherNetworkAttachment

Properties

ConnectionEndpoints

public RepeatedField<NetworkAttachmentConnectedEndpoint> ConnectionEndpoints { get; }

[Output Only] An array of connections for all the producers connected to this network attachment.

Property Value
TypeDescription
RepeatedFieldNetworkAttachmentConnectedEndpoint

ConnectionPreference

public string ConnectionPreference { get; set; }

Check the ConnectionPreference enum for the list of possible values.

Property Value
TypeDescription
string

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

Description

public string Description { get; set; }

An optional description of this resource. Provide this property when you create the resource.

Property Value
TypeDescription
string

Fingerprint

public string Fingerprint { get; set; }

[Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.

Property Value
TypeDescription
string

HasConnectionPreference

public bool HasConnectionPreference { get; }

Gets whether the "connection_preference" field is set

Property Value
TypeDescription
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasNetwork

public bool HasNetwork { get; }

Gets whether the "network" field is set

Property Value
TypeDescription
bool

HasRegion

public bool HasRegion { get; }

Gets whether the "region" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource type. The server generates this identifier.

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of the resource.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Property Value
TypeDescription
string

Network

public string Network { get; set; }

[Output Only] The URL of the network which the Network Attachment belongs to.

Property Value
TypeDescription
string

ProducerAcceptLists

public RepeatedField<string> ProducerAcceptLists { get; }

Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.

Property Value
TypeDescription
RepeatedFieldstring

ProducerRejectLists

public RepeatedField<string> ProducerRejectLists { get; }

Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.

Property Value
TypeDescription
RepeatedFieldstring

Region

public string Region { get; set; }

[Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Property Value
TypeDescription
string
public string SelfLink { get; set; }

[Output Only] Server-defined URL for the resource.

Property Value
TypeDescription
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

[Output Only] Server-defined URL for this resource's resource id.

Property Value
TypeDescription
string

Subnetworks

public RepeatedField<string> Subnetworks { get; }

An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.

Property Value
TypeDescription
RepeatedFieldstring