Google Cloud Design Center V1 Client - Class DeployedResource (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeployedResource.

DeployedResource represents a single deployed GCP resource.

Generated from protobuf message google.cloud.designcenter.v1.DeployedResource

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_id string

Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance

↳ project string

Optional. The project ID of the deployed resource.

↳ location string

Optional. The location of the deployed resource.

getResourceId

Required. The full resource name of the deployed GCP resource.

Example: projects/my-project/locations/us-central1-a/instances/my-instance

Returns
Type Description
string

setResourceId

Required. The full resource name of the deployed GCP resource.

Example: projects/my-project/locations/us-central1-a/instances/my-instance

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Optional. The project ID of the deployed resource.

Returns
Type Description
string

setProject

Optional. The project ID of the deployed resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

Optional. The location of the deployed resource.

Returns
Type Description
string

setLocation

Optional. The location of the deployed resource.

Parameter
Name Description
var string
Returns
Type Description
$this