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 ...
Implements
IMessage<NetworkAttachment>, IEquatable<NetworkAttachment>, IDeepCloneable<NetworkAttachment>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
RepeatedField<NetworkAttachmentConnectedEndpoint> |
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; }
[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 | |
---|---|
Type | Description |
String |
HasConnectionPreference
public bool HasConnectionPreference { get; }
Gets whether the "connection_preference" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasFingerprint
public bool HasFingerprint { get; }
Gets whether the "fingerprint" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasNetwork
public bool HasNetwork { get; }
Gets whether the "network" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasRegion
public bool HasRegion { get; }
Gets whether the "region" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLinkWithId
public bool HasSelfLinkWithId { get; }
Gets whether the "self_link_with_id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Id
public ulong Id { get; set; }
[Output Only] The unique identifier for the resource type. The server generates this identifier.
Property Value | |
---|---|
Type | Description |
UInt64 |
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.
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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
SelfLink
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 |
RepeatedField<String> |