Google Cloud Asset Inventory v1 API - Class BatchGetEffectiveIamPoliciesRequest (3.2.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 searchable asset types. A maximum of 20 resources' effective policies can be retrieved in a batch.

Property Value
TypeDescription
RepeatedField<String>

ResourceNames

public ResourceNameList<IResourceName> ResourceNames { get; }

IResourceName-typed view over the Names resource name property.

Property Value
TypeDescription
ResourceNameList<IResourceName>

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