Google Cloud Asset V1 Client - Class AnalyzeOrgPolicyGovernedAssetsResponse (1.13.2)

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

The response message for AssetService.AnalyzeOrgPolicyGovernedAssets.

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ governed_assets array<Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedAsset>

The list of the analyzed governed assets.

↳ constraint Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint

The definition of the constraint in the request.

↳ next_page_token string

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

getGovernedAssets

The list of the analyzed governed assets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGovernedAssets

The list of the analyzed governed assets.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedAsset>
Returns
TypeDescription
$this

getConstraint

The definition of the constraint in the request.

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

hasConstraint

clearConstraint

setConstraint

The definition of the constraint in the request.

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

getNextPageToken

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

Returns
TypeDescription
string

setNextPageToken

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

Parameter
NameDescription
var string
Returns
TypeDescription
$this