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.ResourceSelector : IMessage<IamPolicyAnalysisQuery.Types.ResourceSelector>, IEquatable<IamPolicyAnalysisQuery.Types.ResourceSelector>, IDeepCloneable<IamPolicyAnalysisQuery.Types.ResourceSelector>, IBufferMessage, IMessage

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

Specifies the resource to analyze for access policies, which may be set
directly on the resource, or on ancestors such as organizations, folders or
projects.

## Inheritance

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

## 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)[ResourceSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.ResourceSelector.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)[ResourceSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.ResourceSelector.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)[ResourceSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.IamPolicyAnalysisQuery.Types.ResourceSelector.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

### ResourceSelector()

    public ResourceSelector()

### ResourceSelector(ResourceSelector)

    public ResourceSelector(IamPolicyAnalysisQuery.Types.ResourceSelector other)

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

## Properties

### FullResourceName

    public string FullResourceName { get; set; }

Required. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
of a resource of [supported resource
types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).

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