Google Cloud Asset V1 Client - Class MoveAnalysis (1.12.2)

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

A message to group the analysis information.

Generated from protobuf message google.cloud.asset.v1.MoveAnalysis

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

↳ analysis Google\Cloud\Asset\V1\MoveAnalysisResult

Analysis result of moving the target resource.

↳ error Google\Rpc\Status

Description of error encountered when performing the analysis.

getDisplayName

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

Returns
TypeDescription
string

setDisplayName

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnalysis

Analysis result of moving the target resource.

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

hasAnalysis

setAnalysis

Analysis result of moving the target resource.

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

getError

Description of error encountered when performing the analysis.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

setError

Description of error encountered when performing the analysis.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getResult

Returns
TypeDescription
string