Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::ListPoliciesRequest (v0.5.0)

Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::ListPoliciesRequest.

The request sent to the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
Returns
  • (::Integer) — Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
Returns
  • (::String) — Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.

#parent

def parent() -> ::String
Returns
  • (::String) —

    Required. The target Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms:

    • projects/{project_number}
    • projects/{project_id}
    • folders/{folder_id}
    • organizations/{organization_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) —

    Required. The target Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms:

    • projects/{project_number}
    • projects/{project_id}
    • folders/{folder_id}
    • organizations/{organization_id}
Returns
  • (::String) —

    Required. The target Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms:

    • projects/{project_number}
    • projects/{project_id}
    • folders/{folder_id}
    • organizations/{organization_id}