Google Cloud Asset V1 Client - Class AnalyzeMoveRequest (1.12.2)

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

The request message for performing resource move analysis.

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource string

Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as "projects/my-project-id") or a project number (such as "projects/12345").

↳ destination_parent string

Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a folder number (such as "folders/123") or an organization number (such as "organizations/123").

↳ view int

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

getResource

Required. Name of the resource to perform the analysis against.

Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as "projects/my-project-id") or a project number (such as "projects/12345").

Returns
TypeDescription
string

setResource

Required. Name of the resource to perform the analysis against.

Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as "projects/my-project-id") or a project number (such as "projects/12345").

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestinationParent

Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a folder number (such as "folders/123") or an organization number (such as "organizations/123").

Returns
TypeDescription
string

setDestinationParent

Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a folder number (such as "folders/123") or an organization number (such as "organizations/123").

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

Returns
TypeDescription
int

setView

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

Parameter
NameDescription
var int
Returns
TypeDescription
$this