Google Cloud Asset V1 Client - Class Resource (1.12.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class Resource.

A Google Cloud resource under analysis.

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult.Resource

Namespace

Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ full_resource_name string

The full resource name

↳ analysis_state Google\Cloud\Asset\V1\IamPolicyAnalysisState

The analysis state of this resource.

getFullResourceName

Returns
TypeDescription
string

setFullResourceName

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnalysisState

The analysis state of this resource.

Returns
TypeDescription
Google\Cloud\Asset\V1\IamPolicyAnalysisState|null

hasAnalysisState

clearAnalysisState

setAnalysisState

The analysis state of this resource.

Parameter
NameDescription
var Google\Cloud\Asset\V1\IamPolicyAnalysisState
Returns
TypeDescription
$this