# Google Cloud Asset V1 Client - Class ResourceSelector (2.3.3)

2.3.3 (latest) 2.3.2 2.2.3 2.1.3 2.0.1 1.16.4 1.14.1 1.13.2 1.12.2 1.11.3 1.10.2 1.9.2 Reference documentation and code samples for the Google Cloud Asset V1 Client class 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.

Generated from protobuf message `google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector`

## Namespace

Google \\ Cloud \\ Asset \\ V1 \\ IamPolicyAnalysisQuery

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ full_resource_name` | `string` 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). |

### getFullResourceName

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).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFullResourceName

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).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |