Google Cloud Asset V1 Client - Class MoveAnalysis (1.16.4)

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
Name Description
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
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getAnalysis

Analysis result of moving the target resource.

Returns
Type Description
Google\Cloud\Asset\V1\MoveAnalysisResult|null

hasAnalysis

setAnalysis

Analysis result of moving the target resource.

Parameter
Name Description
var Google\Cloud\Asset\V1\MoveAnalysisResult
Returns
Type Description
$this

getError

Description of error encountered when performing the analysis.

Returns
Type Description
Google\Rpc\Status|null

hasError

setError

Description of error encountered when performing the analysis.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getResult

Returns
Type Description
string