Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPolicyGovernedContainersRequest (3.5.0)

public sealed class AnalyzeOrgPolicyGovernedContainersRequest : IMessage<AnalyzeOrgPolicyGovernedContainersRequest>, IEquatable<AnalyzeOrgPolicyGovernedContainersRequest>, IDeepCloneable<AnalyzeOrgPolicyGovernedContainersRequest>, IBufferMessage, IMessage, IPageRequest

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

A request message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].

Inheritance

object > AnalyzeOrgPolicyGovernedContainersRequest

Namespace

GoogleCloudGoogle.Cloud.AssetV1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

AnalyzeOrgPolicyGovernedContainersRequest()

public AnalyzeOrgPolicyGovernedContainersRequest()

AnalyzeOrgPolicyGovernedContainersRequest(AnalyzeOrgPolicyGovernedContainersRequest)

public AnalyzeOrgPolicyGovernedContainersRequest(AnalyzeOrgPolicyGovernedContainersRequest other)
Parameter
NameDescription
otherAnalyzeOrgPolicyGovernedContainersRequest

Properties

Constraint

public string Constraint { get; set; }

Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.

Property Value
TypeDescription
string

Filter

public string Filter { get; set; }

The expression to filter the governed containers in result. The only supported field is parent, and the only supported operator is =.

Example: parent="//cloudresourcemanager.googleapis.com/folders/001" will return all containers under "folders/001".

Property Value
TypeDescription
string

HasPageSize

public bool HasPageSize { get; }

Gets whether the "page_size" field is set

Property Value
TypeDescription
bool

PageSize

public int PageSize { get; set; }

The maximum number of items to return per page. If unspecified, [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers] will contain 100 items with a maximum of 200.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

The pagination token to retrieve the next page.

Property Value
TypeDescription
string

Scope

public string Scope { get; set; }

Required. The organization to scope the request. Only organization policies within the scope will be analyzed. The output containers will also be limited to the ones governed by those in-scope organization policies.

  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
Property Value
TypeDescription
string