Compute Engine v1 API - Class Region (2.7.0)

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

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

Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

Inheritance

object > Region

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Region()

public Region()

Region(Region)

public Region(Region other)
Parameter
NameDescription
otherRegion

Properties

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

Deprecated

public DeprecationStatus Deprecated { get; set; }

[Output Only] The deprecation status associated with this region.

Property Value
TypeDescription
DeprecationStatus

Description

public string Description { get; set; }

[Output Only] Textual description of the resource.

Property Value
TypeDescription
string

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

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
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
bool

HasSupportsPzs

public bool HasSupportsPzs { get; }

Gets whether the "supports_pzs" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#region for regions.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

[Output Only] Name of the resource.

Property Value
TypeDescription
string

Quotas

public RepeatedField<Quota> Quotas { get; }

[Output Only] Quotas assigned to this region.

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

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

Property Value
TypeDescription
string

Status

public string Status { get; set; }

[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.

Property Value
TypeDescription
string

SupportsPzs

public bool SupportsPzs { get; set; }

[Output Only] Reserved for future use.

Property Value
TypeDescription
bool

Zones

public RepeatedField<string> Zones { get; }

[Output Only] A list of zones available in this region, in the form of resource URLs.

Property Value
TypeDescription
RepeatedFieldstring