1.8.4 (latest) 1.7.2 1.6.0 1.5.0 1.4.0 1.3.1 1.2.1 1.1.3 1.0.0 0.6.5 0.5.1 0.4.4 0.3.13 Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class VPCSCConfig.

The Artifact Registry VPC SC config that apply to a Project.

Generated from protobuf message `google.devtools.artifactregistry.v1.VPCSCConfig`

## Namespace

Google \\ Cloud \\ ArtifactRegistry \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of the project's VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set |
| `↳ vpcsc_policy` | `int` The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny). |

### getName

The name of the project's VPC SC Config.

Always of the form:
projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set
In response: always set

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

### setName

The name of the project's VPC SC Config.

Always of the form:
projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set
In response: always set

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

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

### getVpcscPolicy

The project per location VPC SC policy that defines the VPC SC behavior for
the Remote Repository (Allow/Deny).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VPCSCPolicy](https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.VPCSCConfig.VPCSCPolicy). |

### setVpcscPolicy

The project per location VPC SC policy that defines the VPC SC behavior for
the Remote Repository (Allow/Deny).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VPCSCPolicy](https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.VPCSCConfig.VPCSCPolicy). |

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