Google Cloud Asset Inventory v1 API - Class BatchGetEffectiveIamPoliciesRequest (3.10.0)

public sealed class BatchGetEffectiveIamPoliciesRequest : IMessage<BatchGetEffectiveIamPoliciesRequest>, IEquatable<BatchGetEffectiveIamPoliciesRequest>, IDeepCloneable<BatchGetEffectiveIamPoliciesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class BatchGetEffectiveIamPoliciesRequest.

A request message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].

Inheritance

object > BatchGetEffectiveIamPoliciesRequest

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

BatchGetEffectiveIamPoliciesRequest()

public BatchGetEffectiveIamPoliciesRequest()

BatchGetEffectiveIamPoliciesRequest(BatchGetEffectiveIamPoliciesRequest)

public BatchGetEffectiveIamPoliciesRequest(BatchGetEffectiveIamPoliciesRequest other)
Parameter
NameDescription
otherBatchGetEffectiveIamPoliciesRequest

Properties

Names

public RepeatedField<string> Names { get; }

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.

Property Value
TypeDescription
RepeatedFieldstring

ResourceNames

public ResourceNameList<IResourceName> ResourceNames { get; }

IResourceName-typed view over the Names resource name property.

Property Value
TypeDescription
ResourceNameListIResourceName

Scope

public string Scope { get; set; }

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 .

Property Value
TypeDescription
string

ScopeAsResourceName

public IResourceName ScopeAsResourceName { get; set; }

IResourceName-typed view over the Scope resource name property.

Property Value
TypeDescription
IResourceName