Google Cloud Asset V1 Client - Class AnalyzeOrgPoliciesResponse (1.16.4)

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

The response message for AssetService.AnalyzeOrgPolicies.

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ org_policy_results array<Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse\OrgPolicyResult>

The organization policies under the AnalyzeOrgPoliciesRequest.scope with the AnalyzeOrgPoliciesRequest.constraint.

↳ 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 AnalyzeOrgPoliciesResponse.org_policy_results.

getOrgPolicyResults

The organization policies under the AnalyzeOrgPoliciesRequest.scope with the AnalyzeOrgPoliciesRequest.constraint.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOrgPolicyResults

The organization policies under the AnalyzeOrgPoliciesRequest.scope with the AnalyzeOrgPoliciesRequest.constraint.

Parameter
Name Description
var array<Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse\OrgPolicyResult>
Returns
Type Description
$this

getConstraint

The definition of the constraint in the request.

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

hasConstraint

clearConstraint

setConstraint

The definition of the constraint in the request.

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

getNextPageToken

The page token to fetch the next page for AnalyzeOrgPoliciesResponse.org_policy_results.

Returns
Type Description
string

setNextPageToken

The page token to fetch the next page for AnalyzeOrgPoliciesResponse.org_policy_results.

Parameter
Name Description
var string
Returns
Type Description
$this