Google Cloud Asset Inventory v1 API - Class BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy (3.12.0)

public sealed class BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy : IMessage<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy>, IEquatable<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy>, IDeepCloneable<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.

The effective IAM policies on one resource.

Inheritance

object > BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

EffectiveIamPolicy()

public EffectiveIamPolicy()

EffectiveIamPolicy(EffectiveIamPolicy)

public EffectiveIamPolicy(BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy other)
Parameter
Name Description
other BatchGetEffectiveIamPoliciesResponseTypesEffectiveIamPolicy

Properties

FullResourceName

public string FullResourceName { get; set; }

The full_resource_name for which the [policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies] are computed. This is one of the [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names] the caller provides in the request.

Property Value
Type Description
string

Policies

public RepeatedField<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo> Policies { get; }

The effective policies for the [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].

These policies include the policy set on the [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name] and those set on its parents and ancestors up to the [BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope]. Note that these policies are not filtered according to the resource type of the [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].

These policies are hierarchically ordered by [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource] starting from [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name] itself to its parents and ancestors, such that policies[i]'s [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource] is the child of policies[i+1]'s [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource], if policies[i+1] exists.

Property Value
Type Description
RepeatedFieldBatchGetEffectiveIamPoliciesResponseTypesEffectiveIamPolicyTypesPolicyInfo