(::String) — Required. The name of the constraint to analyze governed containers for.
The analysis only contains organization policies for the provided
constraint.
#constraint=
defconstraint=(value)->::String
Parameter
value (::String) — Required. The name of the constraint to analyze governed containers for.
The analysis only contains organization policies for the provided
constraint.
Returns
(::String) — Required. The name of the constraint to analyze governed containers for.
The analysis only contains organization policies for the provided
constraint.
When filtering by a specific field, the only supported operator is =.
For example, filtering by
parent="//cloudresourcemanager.googleapis.com/folders/001"
will return all the containers under "folders/001".
When filtering by a specific field, the only supported operator is =.
For example, filtering by
parent="//cloudresourcemanager.googleapis.com/folders/001"
will return all the containers under "folders/001".
When filtering by a specific field, the only supported operator is =.
For example, filtering by
parent="//cloudresourcemanager.googleapis.com/folders/001"
will return all the containers under "folders/001".
(::String) — The pagination token to retrieve the next page.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — The pagination token to retrieve the next page.
Returns
(::String) — The pagination token to retrieve the next page.
#scope
defscope()->::String
Returns
(::String) —
Required. The organization to scope the request. Only organization
policies within the scope will be analyzed. The output containers will
also be limited to the ones governed by those in-scope organization
policies.
Required. The organization to scope the request. Only organization
policies within the scope will be analyzed. The output containers will
also be limited to the ones governed by those in-scope organization
policies.
Required. The organization to scope the request. Only organization
policies within the scope will be analyzed. The output containers will
also be limited to the ones governed by those in-scope organization
policies.
[[["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,["# Cloud Asset V1 API - Class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersRequest) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest.\n\nA request message for\n[AssetService.AnalyzeOrgPolicyGovernedContainers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AssetService-Client#Google__Cloud__Asset__V1__AssetService__Client_analyze_org_policy_governed_containers_instance_ \"Google::Cloud::Asset::V1::AssetService::Client#analyze_org_policy_governed_containers (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### #constraint\n\n def constraint() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.\n\n### #constraint=\n\n def constraint=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint. \n**Returns**\n\n- (::String) --- Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The expression to filter [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\"). Filtering is currently available for bare literal values and the following fields:\n\n\n - parent\n - consolidated_policy.rules.enforce\n\n When filtering by a specific field, the only supported operator is `=`.\n For example, filtering by\n parent=\"//cloudresourcemanager.googleapis.com/folders/001\"\n will return all the containers under \"folders/001\".\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The expression to filter [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\"). Filtering is currently available for bare literal values and the following fields:\n\n\n - parent\n - consolidated_policy.rules.enforce\n\n When filtering by a specific field, the only supported operator is `=`.\n For example, filtering by\n parent=\"//cloudresourcemanager.googleapis.com/folders/001\"\nwill return all the containers under \"folders/001\". \n**Returns**\n\n- (::String) --- The expression to filter [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\"). Filtering is currently available for bare literal values and the following fields:\n\n\n - parent\n - consolidated_policy.rules.enforce\n\n When filtering by a specific field, the only supported operator is `=`.\n For example, filtering by\n parent=\"//cloudresourcemanager.googleapis.com/folders/001\"\n will return all the containers under \"folders/001\".\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The maximum number of items to return per page. If unspecified, [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\") will contain 100 items with a maximum of 200.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The maximum number of items to return per page. If unspecified, [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\") will contain 100 items with a maximum of 200. \n**Returns**\n\n- (::Integer) --- The maximum number of items to return per page. If unspecified, [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AnalyzeOrgPolicyGovernedContainersResponse#Google__Cloud__Asset__V1__AnalyzeOrgPolicyGovernedContainersResponse_governed_containers_instance_ \"Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers (method)\") will contain 100 items with a maximum of 200.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The pagination token to retrieve the next page.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The pagination token to retrieve the next page. \n**Returns**\n\n- (::String) --- The pagination token to retrieve the next page.\n\n### #scope\n\n def scope() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The organization to scope the request. Only organization\n policies within the scope will be analyzed. The output containers will\n also be limited to the ones governed by those in-scope organization\n policies.\n\n - organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")\n\n### #scope=\n\n def scope=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The organization to scope the request. Only organization\n policies within the scope will be analyzed. The output containers will\n also be limited to the ones governed by those in-scope organization\n policies.\n- organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\") \n**Returns**\n\n- (::String) --- Required. The organization to scope the request. Only organization\n policies within the scope will be analyzed. The output containers will\n also be limited to the ones governed by those in-scope organization\n policies.\n\n - organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")"]]