Class BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy (2.11.0)

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

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(BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy)

public EffectiveIamPolicy(BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy other)
Parameter
NameDescription
otherBatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy

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
TypeDescription
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
TypeDescription
RepeatedField<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo>