(::Array<::String>) — Required. The names refer to the full_resource_names
of the asset types supported by search
APIs.
A maximum of 20 resources' effective policies can be retrieved in a batch.
#names=
defnames=(value)->::Array<::String>
Parameter
value (::Array<::String>) — Required. The names refer to the full_resource_names
of the asset types supported by search
APIs.
A maximum of 20 resources' effective policies can be retrieved in a batch.
Returns
(::Array<::String>) — Required. The names refer to the full_resource_names
of the asset types supported by search
APIs.
A maximum of 20 resources' effective policies can be retrieved in a batch.
#scope
defscope()->::String
Returns
(::String) — Required. Only IAM policies on or below the scope will be returned.
This can only be an organization number (such as "organizations/123"), a
folder number (such as "folders/123"), a project ID (such as
"projects/my-project-id"), or a project number (such as "projects/12345").
To know how to get folder or project ID, visit here
.
#scope=
defscope=(value)->::String
Parameter
value (::String) — Required. Only IAM policies on or below the scope will be returned.
This can only be an organization number (such as "organizations/123"), a
folder number (such as "folders/123"), a project ID (such as
"projects/my-project-id"), or a project number (such as "projects/12345").
To know how to get folder or project ID, visit here
.
Returns
(::String) — Required. Only IAM policies on or below the scope will be returned.
This can only be an organization number (such as "organizations/123"), a
folder number (such as "folders/123"), a project ID (such as
"projects/my-project-id"), or a project number (such as "projects/12345").
[[["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::BatchGetEffectiveIamPoliciesRequest (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-BatchGetEffectiveIamPoliciesRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-BatchGetEffectiveIamPoliciesRequest) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesRequest.\n\nA request message for\n[AssetService.BatchGetEffectiveIamPolicies](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-AssetService-Client#Google__Cloud__Asset__V1__AssetService__Client_batch_get_effective_iam_policies_instance_ \"Google::Cloud::Asset::V1::AssetService::Client#batch_get_effective_iam_policies (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### #names\n\n def names() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. The names refer to the [full_resource_names](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types [supported by search\n APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). A maximum of 20 resources' effective policies can be retrieved in a batch.\n\n### #names=\n\n def names=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Required. The names refer to the [full_resource_names](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types [supported by search\nAPIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). A maximum of 20 resources' effective policies can be retrieved in a batch. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. The names refer to the [full_resource_names](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types [supported by search\n APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). A maximum of 20 resources' effective policies can be retrieved in a batch.\n\n### #scope\n\n def scope() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Only IAM policies on or below the scope will be returned.\n\n This can only be an organization number (such as \"organizations/123\"), a\n folder number (such as \"folders/123\"), a project ID (such as\n \"projects/my-project-id\"), or a project number (such as \"projects/12345\").\n\n To know how to get organization ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\n To know how to get folder or project ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).\n\n### #scope=\n\n def scope=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Only IAM policies on or below the scope will be returned.\n\n\n This can only be an organization number (such as \"organizations/123\"), a\n folder number (such as \"folders/123\"), a project ID (such as\n \"projects/my-project-id\"), or a project number (such as \"projects/12345\").\n\n To know how to get organization ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\nTo know how to get folder or project ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects). \n**Returns**\n\n- (::String) --- Required. Only IAM policies on or below the scope will be returned.\n\n This can only be an organization number (such as \"organizations/123\"), a\n folder number (such as \"folders/123\"), a project ID (such as\n \"projects/my-project-id\"), or a project number (such as \"projects/12345\").\n\n To know how to get organization ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\n\n To know how to get folder or project ID, visit [here](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects)."]]