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

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

UnregisteredResource represents a GCP resource that failed to register and apphub was not able to discover.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ deployed_resource DeployedResource

Output only. The deployed GCP resource that failed to register.

↳ reason string

Output only. The reason for the failure of registration.

getDeployedResource

Output only. The deployed GCP resource that failed to register.

Returns
Type Description
DeployedResource|null

hasDeployedResource

clearDeployedResource

setDeployedResource

Output only. The deployed GCP resource that failed to register.

Parameter
Name Description
var DeployedResource
Returns
Type Description
$this

getReason

Output only. The reason for the failure of registration.

Returns
Type Description
string

setReason

Output only. The reason for the failure of registration.

Parameter
Name Description
var string
Returns
Type Description
$this