Google Cloud Asset V1 Client - Class AnalyzeOrgPolicyGovernedContainersResponse (2.1.1)

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ governed_containers array<AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>

The list of the analyzed governed containers.

↳ constraint 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
Type Description
Google\Protobuf\Internal\RepeatedField

setGovernedContainers

The list of the analyzed governed containers.

Parameter
Name Description
var array<AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>
Returns
Type Description
$this

getConstraint

The definition of the constraint in the request.

Returns
Type Description
AnalyzerOrgPolicyConstraint|null

hasConstraint

clearConstraint

setConstraint

The definition of the constraint in the request.

Parameter
Name Description
var AnalyzerOrgPolicyConstraint
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this