# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::BackupGcpResource (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupGcpResource.

Minimum details to identify a Google Cloud resource for a backup.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gcp_resourcename

    def gcp_resourcename() -> ::String

**Returns**

- (::String) --- Name of the Google Cloud resource.

### #gcp_resourcename=

    def gcp_resourcename=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the Google Cloud resource.
**Returns**

- (::String) --- Name of the Google Cloud resource.

### #location

    def location() -> ::String

**Returns**

- (::String) --- Location of the resource:

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- Location of the resource:
**Returns**

- (::String) --- Location of the resource:

### #type

    def type() -> ::String

**Returns**

- (::String) --- Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
**Returns**

- (::String) --- Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.