Backup and DR Service v1 API - Class GcpResource (1.2.0)

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

Reference documentation and code samples for the Backup and DR Service v1 API class GcpResource.

Minimum details to identify a Google Cloud resource

Inheritance

object > GcpResource

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

GcpResource()

public GcpResource()

GcpResource(GcpResource)

public GcpResource(GcpResource other)
Parameter
Name Description
other GcpResource

Properties

GcpResourcename

public string GcpResourcename { get; set; }

Name of the Google Cloud resource.

Property Value
Type Description
string

Location

public string Location { get; set; }

Location of the resource: <region>/<zone>/"global"/"unspecified".

Property Value
Type Description
string

Type

public string Type { get; set; }

Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

Property Value
Type Description
string