Backup and DR Service v1 API - Class DataSourceGcpResource (2.0.0)

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

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

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

Inheritance

object > DataSourceGcpResource

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

DataSourceGcpResource()

public DataSourceGcpResource()

DataSourceGcpResource(DataSourceGcpResource)

public DataSourceGcpResource(DataSourceGcpResource other)
Parameter
Name Description
other DataSourceGcpResource

Properties

ComputeInstanceDatasourceProperties

public ComputeInstanceDataSourceProperties ComputeInstanceDatasourceProperties { get; set; }

ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

Property Value
Type Description
ComputeInstanceDataSourceProperties

GcpResourcePropertiesCase

public DataSourceGcpResource.GcpResourcePropertiesOneofCase GcpResourcePropertiesCase { get; }
Property Value
Type Description
DataSourceGcpResourceGcpResourcePropertiesOneofCase

GcpResourcename

public string GcpResourcename { get; set; }

Output only. Full resource pathname URL of the source 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; }

The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

Property Value
Type Description
string