# Google Cloud Dataform V1 Client - Class PrivateResourceMetadata (0.11.0)

0.11.0 (latest) 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class PrivateResourceMetadata.

Metadata used to identify if a resource is user scoped.

Generated from protobuf message `google.cloud.dataform.v1.PrivateResourceMetadata`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ user_scoped` | `bool` Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace. |

### getUserScoped

Output only. If true, this resource is user-scoped, meaning it is either a
workspace or sourced from a workspace.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUserScoped

Output only. If true, this resource is user-scoped, meaning it is either a
workspace or sourced from a workspace.

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

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