Policy Simulator v1 API - Class ListOrgPolicyViolationsPreviewsRequest (1.3.0)

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

Reference documentation and code samples for the Policy Simulator v1 API class ListOrgPolicyViolationsPreviewsRequest.

ListOrgPolicyViolationsPreviewsRequest is the request message for [OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews][google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews].

Inheritance

object > ListOrgPolicyViolationsPreviewsRequest

Namespace

Google.Cloud.PolicySimulator.V1

Assembly

Google.Cloud.PolicySimulator.V1.dll

Constructors

ListOrgPolicyViolationsPreviewsRequest()

public ListOrgPolicyViolationsPreviewsRequest()

ListOrgPolicyViolationsPreviewsRequest(ListOrgPolicyViolationsPreviewsRequest)

public ListOrgPolicyViolationsPreviewsRequest(ListOrgPolicyViolationsPreviewsRequest other)
Parameter
Name Description
other ListOrgPolicyViolationsPreviewsRequest

Properties

PageSize

public int PageSize { get; set; }

Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 5 items will be returned. The maximum value is 10; values above 10 will be coerced to 10.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page.

When paginating, all other parameters must match the call that provided the page token.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location}

Example: organizations/my-example-org/locations/global

Property Value
Type Description
string

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationLocationName