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].
Implements
IMessageBatchGetEffectiveIamPoliciesRequest, IEquatableBatchGetEffectiveIamPoliciesRequest, IDeepCloneableBatchGetEffectiveIamPoliciesRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.AssetV1Assembly
Google.Cloud.Asset.V1.dll
Constructors
BatchGetEffectiveIamPoliciesRequest()
public BatchGetEffectiveIamPoliciesRequest()
BatchGetEffectiveIamPoliciesRequest(BatchGetEffectiveIamPoliciesRequest)
public BatchGetEffectiveIamPoliciesRequest(BatchGetEffectiveIamPoliciesRequest other)
Parameter | |
---|---|
Name | Description |
other | BatchGetEffectiveIamPoliciesRequest |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |
ResourceNames
public ResourceNameList<IResourceName> ResourceNames { get; }
IResourceName-typed view over the Names resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
ScopeAsResourceName
public IResourceName ScopeAsResourceName { get; set; }
IResourceName-typed view over the Scope resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |