Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::ListConstraintsRequest (v1.0.1)

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

The request sent to the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] 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 Google Cloud resource that parents the constraint. 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 Google Cloud resource that parents the constraint. Must be in one of the following forms:

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

    Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms:

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