## storage.global.gdc.goog/v1

Contains API Schema definitions for the storage.global.gdc.goog v1 API group.

### FileShareSource

*Appears in:*
- [VolumeReplicationSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationsource)

| Field | Description |
|---|---|
| `fileShareRef` *string* | A name reference to the `FileShare` resource to be replicated. |

### LocalVolume

Represents a volume within the local storage system.

*Appears in:*
- [VolumeReplicationRelationshipReplicaStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplicastatus)

| Field | Description |
|---|---|
| `storageClassName` *string* | The name of the storage class defined by the `PersistentVolumeClaim`. |
| `storageClusterName` *string* | The storage cluster on which the Volume was allocated, as used inside of the peering between zones. |
| `internalVolumeName` *string* | The name of the internal volume on the storage appliance. |
| `requestedStorageSize` *string* | The storage size of the volume requested by the `PersistentVolumeClaim`. |
| `volumeMode` *[PersistentVolumeMode](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#persistentvolumemode-v1-core)* | The mode of the internal volume on the storage appliance. |
| `isDeleted` *boolean* | Specifies whether PVC has been deleted |

### PVCVolumeDestination

*Appears in:*
- [VolumeReplicationDestination](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationdestination)

| Field | Description |
|---|---|
| `clusterRef` *string* | A reference to the `Cluster` custom resource where the destination PVC is created. |

### PVCVolumeSource

*Appears in:*
- [VolumeReplicationSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationsource)

| Field | Description |
|---|---|
| `clusterRef` *string* | A reference to the `Cluster` custom resource where the PVC to be replicated exists. |
| `pvcRef` *string* | A name reference to the `PersistentVolumeClaim` resource to be replicated. |

### VirtualMachineDiskVolumeSource

*Appears in:*
- [VolumeReplicationSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationsource)

| Field | Description |
|---|---|
| `virtualMachineDiskRef` *string* | A name reference to the `VirtualMachineDisk` resource to be replicated. |

### VolumeReplicationDestination

Defines the target location for a volume replication operation.

*Appears in:*
- [VolumeReplicationRelationshipSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipspec)

| Field | Description |
|---|---|
| `zoneRef` *string* | A reference to the `Zone` custom resource. |
| `pvc` *[PVCVolumeDestination](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#pvcvolumedestination)* | A reference to a `PersistentVolumeClaim` resource. |
| `volumeOverrideName` *string* | The desired name for the destination volume. The default is to use the same name as the source volume. |

### VolumeReplicationRelationship

Defines the Schema for the 'VolumeReplicationRelationship' API.

*Appears in:*
- [VolumeReplicationRelationshipList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshiplist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `storage.global.gdc.goog/v1` |
| `kind` *string* | `VolumeReplicationRelationship` |
| `metadata` *[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` *[VolumeReplicationRelationshipSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipspec)* |   |
| `status` *[VolumeReplicationRelationshipStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipstatus)* |   |

### VolumeReplicationRelationshipList

Represents a list of 'VolumeReplicationRelationship'

| Field | Description |
|---|---|
| `apiVersion` *string* | `storage.global.gdc.goog/v1` |
| `kind` *string* | `VolumeReplicationRelationshipList` |
| `metadata` *[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#listmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `items` *[VolumeReplicationRelationship](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationship) array* |   |

### VolumeReplicationRelationshipReplica

Defines the Schema for the `VolumeReplicationRelationshipReplica` API.

*Appears in:*
- [VolumeReplicationRelationshipReplicaList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplicalist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `storage.global.gdc.goog/v1` |
| `kind` *string* | `VolumeReplicationRelationshipReplica` |
| `metadata` *[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` *[VolumeReplicationRelationshipSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipspec)* |   |
| `status` *[VolumeReplicationRelationshipReplicaStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplicastatus)* |   |

### VolumeReplicationRelationshipReplicaList

Contains a list of `VolumeReplicationRelationshipReplica` resources.

| Field | Description |
|---|---|
| `apiVersion` *string* | `storage.global.gdc.goog/v1` |
| `kind` *string* | `VolumeReplicationRelationshipReplicaList` |
| `metadata` *[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#listmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `items` *[VolumeReplicationRelationshipReplica](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplica) array* |   |

### VolumeReplicationRelationshipReplicaStatus

Defines the observed state of the `VolumeReplicationRelationshipReplica`.

*Appears in:*
- [VolumeReplicationRelationshipReplica](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplica)
- [VolumeReplicationRelationshipZoneStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipzonestatus)

| Field | Description |
|---|---|
| `state` *[VolumeReplicationState](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationstate)* | The current status of the volume replication relationship. |
| `message` *string* | A human-readable message indicating details about why the volume replication relationship is in this state. |
| `replicationID` *UUID* | The unique UUID identifying a SnapMirror relationship |
| `sourceVolume` *[LocalVolume](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#localvolume)* | The cached information about the source volume. This information is only populated by the source zone. |
| `destinationVolume` *[LocalVolume](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#localvolume)* | The cached information about the destination volume. This information is only populated by the destination zone. |
| `lagTime` *string* | The timestamp of when the last snapshot was exported |
| `exportedSnapshotName` *string* | The name of the last exported snapshot |
| `lastTransferType` *string* | The type of the last transfer operation, such as a snapshot. |
| `lastTransferTime` *string* | The timestamp of when the last transfer operation occurred |
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The information on the overall state of the `VolumeReplicationRelationshipReplica`. |

### VolumeReplicationRelationshipSpec

Defines the desired state of VolumeReplicationRelationship.

*Appears in:*
- [VolumeReplicationRelationship](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationship)
- [VolumeReplicationRelationshipReplica](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplica)

| Field | Description |
|---|---|
| `source` *[VolumeReplicationSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationsource)* |   |
| `destination` *[VolumeReplicationDestination](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationdestination)* |   |

### VolumeReplicationRelationshipStatus

Defines the observed state of the 'VolumeReplicationRelationship'.

*Appears in:*
- [VolumeReplicationRelationship](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationship)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The observations of the overall state of the resource. Known condition types: Ready. |
| `rollout` *[RolloutStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#rolloutstatus)* | The current strategy used to roll out the resource to each zone. |
| `zones` *[VolumeReplicationRelationshipZoneStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipzonestatus) array* | The list of zone status' where this resource is rolled out to. |

### VolumeReplicationRelationshipZoneStatus

Defines the observed state of the `VolumeReplicationRelationshipReplica` of a particular zone.

*Appears in:*
- [VolumeReplicationRelationshipStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipstatus)

| Field | Description |
|---|---|
| `name` *string* | The name of the zone where the replica this status represents is in. |
| `rolloutStatus` *[ZoneRolloutStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#zonerolloutstatus)* | The status of rolling out the replica to the zone. |
| `replicaStatus` *[VolumeReplicationRelationshipReplicaStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplicastatus)* | The reconciliation status of the replica collected from the zone. |

### VolumeReplicationSource

Defines the origin of a volume replication operation.

*Appears in:*
- [VolumeReplicationRelationshipSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipspec)

| Field | Description |
|---|---|
| `zoneRef` *string* | A reference to the 'Zone' custom resource. |
| `pvc` *[PVCVolumeSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#pvcvolumesource)* | A reference to a `PersistentVolumeClaim` resource. |
| `virtualMachineDisk` *[VirtualMachineDiskVolumeSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#virtualmachinediskvolumesource)* | A reference to a `VirtualMachineDisk` resource. |
| `fileShare` *[FileShareSource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#filesharesource)* | A reference to a `FileShare` resource. |

### VolumeReplicationState

*Underlying type:* `string`
Defines the state of the volume replication used in the `VolumeReplicationRelationshipStatus`.

*Appears in:*
- [VolumeReplicationRelationshipReplicaStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/storage/v1/global-storage-v1.md.txt#volumereplicationrelationshipreplicastatus)