Google Cloud Asset V1 Client - Class AnalyzeOrgPolicyGovernedContainersResponse (1.11.3)

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

The response message for AssetService.AnalyzeOrgPolicyGovernedContainers.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ governed_containers array<Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>

The list of the analyzed governed containers.

↳ 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 AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

getGovernedContainers

The list of the analyzed governed containers.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGovernedContainers

The list of the analyzed governed containers.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>
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 AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

Returns
TypeDescription
string

setNextPageToken

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

Parameter
NameDescription
var string
Returns
TypeDescription
$this