Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsRequest (v1.4.0)

Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsRequest.

ListOrgPolicyViolationsPreviewsRequest is the request message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — 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.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#page_token

def page_token() -> ::String
Returns
  • (::String) — 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.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location}

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

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location}

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

Returns
  • (::String) — Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location}

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