Compute Engine v1 API - Class NetworkAttachment (3.1.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
Name Description
other NetworkAttachment

Properties

ConnectionEndpoints

public RepeatedField<NetworkAttachmentConnectedEndpoint> ConnectionEndpoints { get; }

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

Property Value
Type Description
RepeatedFieldNetworkAttachmentConnectedEndpoint

ConnectionPreference

public string ConnectionPreference { get; set; }

Check the ConnectionPreference enum for the list of possible values.

Property Value
Type Description
string

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
Type Description
string

Description

public string Description { get; set; }

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

Property Value
Type Description
string

Fingerprint

public string Fingerprint { get; set; }

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
Type Description
string

HasConnectionPreference

public bool HasConnectionPreference { get; }

Gets whether the "connection_preference" field is set

Property Value
Type Description
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasNetwork

public bool HasNetwork { get; }

Gets whether the "network" field is set

Property Value
Type Description
bool

HasRegion

public bool HasRegion { get; }

Gets whether the "region" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

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

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of the resource.

Property Value
Type Description
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
Type Description
string

Network

public string Network { get; set; }

[Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
string
public string SelfLink { get; set; }

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

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

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

Property Value
Type Description
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
Type Description
RepeatedFieldstring