3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0

    public sealed class IamPolicyAnalysisQuery.Types.AccessSelector : IMessage<IamPolicyAnalysisQuery.Types.AccessSelector>, IEquatable<IamPolicyAnalysisQuery.Types.AccessSelector>, IDeepCloneable<IamPolicyAnalysisQuery.Types.AccessSelector>, IBufferMessage, IMessage

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

Specifies roles and/or permissions to analyze, to determine both the
identities possessing them and the resources they control. If multiple
values are specified, results will include roles or permissions matching
any of them. The total number of roles and permissions should be equal or
less than 10.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> IamPolicyAnalysisQuery.Types.AccessSelector

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[IamPolicyAnalysisQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.md.txt)[AccessSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.AccessSelector.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IamPolicyAnalysisQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.md.txt)[AccessSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.AccessSelector.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[IamPolicyAnalysisQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.md.txt)[AccessSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.AccessSelector.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Asset.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.md.txt)

## Assembly

Google.Cloud.Asset.V1.dll

## Constructors

### AccessSelector()

    public AccessSelector()

### AccessSelector(AccessSelector)

    public AccessSelector(IamPolicyAnalysisQuery.Types.AccessSelector other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `IamPolicyAnalysisQueryTypesAccessSelector` |

## Properties

### Permissions

    public RepeatedField<string> Permissions { get; }

Optional. The permissions to appear in result.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Roles

    public RepeatedField<string> Roles { get; }

Optional. The roles to appear in result.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |