Reference documentation and code samples for the Google Cloud Asset V1 Client class BatchGetEffectiveIamPoliciesRequest.
A request message for AssetService.BatchGetEffectiveIamPolicies .
Generated from protobuf message google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ scope
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 organization id, visit here . To know how to get folder or project id, visit here .
↳ names
array
Required. The names refer to the full_resource_names of searchable asset types . A maximum of 20 resources' effective policies can be retrieved in a batch.
getScope
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 organization id, visit here . To know how to get folder or project id, visit here .
Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setScope
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 organization id, visit here . To know how to get folder or project id, visit here .
Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getNames
Required. The names refer to the full_resource_names of searchable asset types .
A maximum of 20 resources' effective policies can be retrieved in a batch.
Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Google\Protobuf\Internal\RepeatedField
setNames
Required. The names refer to the full_resource_names of searchable asset types .
A maximum of 20 resources' effective policies can be retrieved in a batch.
Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string[]
$this