Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPoliciesResponse (3.11.0)

public sealed class AnalyzeOrgPoliciesResponse : IMessage<AnalyzeOrgPoliciesResponse>, IEquatable<AnalyzeOrgPoliciesResponse>, IDeepCloneable<AnalyzeOrgPoliciesResponse>, IBufferMessage, IMessage, IPageResponse<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEnumerable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEnumerable

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPoliciesResponse.

The response message for [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].

Inheritance

object > AnalyzeOrgPoliciesResponse

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

AnalyzeOrgPoliciesResponse()

public AnalyzeOrgPoliciesResponse()

AnalyzeOrgPoliciesResponse(AnalyzeOrgPoliciesResponse)

public AnalyzeOrgPoliciesResponse(AnalyzeOrgPoliciesResponse other)
Parameter
Name Description
other AnalyzeOrgPoliciesResponse

Properties

Constraint

public AnalyzerOrgPolicyConstraint Constraint { get; set; }

The definition of the constraint in the request.

Property Value
Type Description
AnalyzerOrgPolicyConstraint

NextPageToken

public string NextPageToken { get; set; }

The page token to fetch the next page for [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].

Property Value
Type Description
string

OrgPolicyResults

public RepeatedField<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult> OrgPolicyResults { get; }

The organization policies under the [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope] with the [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].

Property Value
Type Description
RepeatedFieldAnalyzeOrgPoliciesResponseTypesOrgPolicyResult

Methods

GetEnumerator()

public IEnumerator<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorAnalyzeOrgPoliciesResponseTypesOrgPolicyResult