Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsResponse.
The response returned from the [ListCustomConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will
be empty if no custom or managed constraints are set on the organization
resource.
value (::Array<::Google::Cloud::OrgPolicy::V2::CustomConstraint>) — All custom and managed constraints that exist on the organization resource.
It will be empty if no custom constraints are set.
(::String) — Page token used to retrieve the next page. This is currently not used, but
the server may at any point start supplying a valid token.
#next_page_token=
defnext_page_token=(value)->::String
Parameter
value (::String) — Page token used to retrieve the next page. This is currently not used, but
the server may at any point start supplying a valid token.
Returns
(::String) — Page token used to retrieve the next page. This is currently not used, but
the server may at any point start supplying a valid token.
[[["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-09 UTC."],[],[],null,["# Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsResponse (v1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/ruby/docs/reference/google-cloud-org_policy-v2/latest/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [1.4.1](/ruby/docs/reference/google-cloud-org_policy-v2/1.4.1/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [1.3.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.3.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [1.2.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.2.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.1.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-org_policy-v2/1.0.1/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.10.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.9.2](/ruby/docs/reference/google-cloud-org_policy-v2/0.9.2/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.8.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.8.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.7.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.7.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.6.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.6.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.5.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.4.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.4.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.3.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.3.0/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse)\n- [0.2.6](/ruby/docs/reference/google-cloud-org_policy-v2/0.2.6/Google-Cloud-OrgPolicy-V2-ListCustomConstraintsResponse) \nReference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::ListCustomConstraintsResponse.\n\nThe response returned from the \\[ListCustomConstraints\\]\n\\[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints\\] method. It will\nbe empty if no custom or managed constraints are set on the organization\nresource. \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### #custom_constraints\n\n def custom_constraints() -\u003e ::Array\u003c::Google::Cloud::OrgPolicy::V2::CustomConstraint\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::OrgPolicy::V2::CustomConstraint](./Google-Cloud-OrgPolicy-V2-CustomConstraint)\\\u003e) --- All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.\n\n### #custom_constraints=\n\n def custom_constraints=(value) -\u003e ::Array\u003c::Google::Cloud::OrgPolicy::V2::CustomConstraint\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::OrgPolicy::V2::CustomConstraint](./Google-Cloud-OrgPolicy-V2-CustomConstraint)\\\u003e) --- All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::OrgPolicy::V2::CustomConstraint](./Google-Cloud-OrgPolicy-V2-CustomConstraint)\\\u003e) --- All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.\n\n### #next_page_token\n\n def next_page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.\n\n### #next_page_token=\n\n def next_page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token. \n**Returns**\n\n- (::String) --- Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token."]]