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

The exported artifact file.

Generated from protobuf message `google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile`

## Namespace

Google \\ Cloud \\ ArtifactRegistry \\ V1 \\ ExportArtifactMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_object_path` | `string` Cloud Storage Object path of the exported file. Examples: `dst_bucket/file1`, `dst_bucket/sub_dir/file1` |
| `↳ name` | `string` Name of the exported artifact file. Format: `projects/p1/locations/us/repositories/repo1/files/file1` |
| `↳ hashes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Hash>` The hashes of the file content. |

### getGcsObjectPath

Cloud Storage Object path of the exported file. Examples:
`dst_bucket/file1`, `dst_bucket/sub_dir/file1`

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

### hasGcsObjectPath

### setGcsObjectPath

Cloud Storage Object path of the exported file. Examples:
`dst_bucket/file1`, `dst_bucket/sub_dir/file1`

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

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

### getName

Name of the exported artifact file.

Format: `projects/p1/locations/us/repositories/repo1/files/file1`

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

### setName

Name of the exported artifact file.

Format: `projects/p1/locations/us/repositories/repo1/files/file1`

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

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

### getHashes

The hashes of the file content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Hash>` |   |

### setHashes

The hashes of the file content.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Hash>` |

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

### getDestination

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