Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::GcpResource (v0.3.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::GcpResource.

Minimum details to identify a Google Cloud resource

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.