Compute Engine v1 API - Class NetworkAttachment (2.5.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

Google.Cloud.Compute.V1

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
RepeatedField<NetworkAttachmentConnectedEndpoint>

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
Boolean

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
Boolean

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
Boolean

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
Boolean

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasNetwork

public bool HasNetwork { get; }

Gets whether the "network" field is set

Property Value
TypeDescription
Boolean

HasRegion

public bool HasRegion { get; }

Gets whether the "region" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
TypeDescription
Boolean

Id

public ulong Id { get; set; }

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

Property Value
TypeDescription
UInt64

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
RepeatedField<String>

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
RepeatedField<String>

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
RepeatedField<String>