Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsRequest.
The request sent to the [ListCustomConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#page_size
defpage_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=
defpage_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
defpage_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=
defpage_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
defparent()->::String
Returns
(::String) —
Required. The target Google Cloud resource that parents the set of custom
constraints that will be returned from this call. Must be in one of the
following forms:
organizations/{organization_id}
#parent=
defparent=(value)->::String
Parameter
value (::String) —
Required. The target Google Cloud resource that parents the set of custom
constraints that will be returned from this call. Must be in one of the
following forms:
organizations/{organization_id}
Returns
(::String) —
Required. The target Google Cloud resource that parents the set of custom
constraints that will be returned from this call. Must be in one of the
following forms:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Policy Simulator V1 API - Class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsRequest (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsRequest) \nReference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsRequest.\n\nThe request sent to the \\[ListCustomConstraints\\]\n\\[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints\\] method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::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.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **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. \n**Returns**\n\n- (::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.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **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. \n**Returns**\n\n- (::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.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The target Google Cloud resource that parents the set of custom\n constraints that will be returned from this call. Must be in one of the\n following forms:\n\n - `organizations/{organization_id}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The target Google Cloud resource that parents the set of custom\n constraints that will be returned from this call. Must be in one of the\n following forms:\n- `organizations/{organization_id}` \n**Returns**\n\n- (::String) --- Required. The target Google Cloud resource that parents the set of custom\n constraints that will be returned from this call. Must be in one of the\n following forms:\n\n - `organizations/{organization_id}`"]]