Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GcpResource.
Minimum details to identify a Google Cloud resource
Generated from protobuf message google.cloud.backupdr.v1.GcpResource
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcp_resourcename
string
Name of the Google Cloud resource.
↳ location
string
Location of the resource:
↳ type
string
Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
getGcpResourcename
Name of the Google Cloud resource.
string
setGcpResourcename
Name of the Google Cloud resource.
var
string
$this
getLocation
Location of the resource:
string
setLocation
Location of the resource:
var
string
$this
getType
Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string
setType
Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
var
string
$this