Google Cloud Parallelstore V1 Client - Class TransferOperationMetadata (0.7.0)

Reference documentation and code samples for the Google Cloud Parallelstore V1 Client class TransferOperationMetadata.

Long-running operation metadata related to a data transfer.

Generated from protobuf message google.cloud.parallelstore.v1.TransferOperationMetadata

Namespace

Google \ Cloud \ Parallelstore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_parallelstore Google\Cloud\Parallelstore\V1\SourceParallelstore

Output only. Parallelstore source.

↳ source_gcs_bucket Google\Cloud\Parallelstore\V1\SourceGcsBucket

Output only. Cloud Storage source.

↳ destination_gcs_bucket Google\Cloud\Parallelstore\V1\DestinationGcsBucket

Output only. Cloud Storage destination.

↳ destination_parallelstore Google\Cloud\Parallelstore\V1\DestinationParallelstore

Output only. Parallelstore destination.

↳ counters Google\Cloud\Parallelstore\V1\TransferCounters

Output only. The progress of the transfer operation.

↳ transfer_type int

Output only. The type of transfer occurring.

getSourceParallelstore

Output only. Parallelstore source.

Returns
Type Description
Google\Cloud\Parallelstore\V1\SourceParallelstore|null

hasSourceParallelstore

setSourceParallelstore

Output only. Parallelstore source.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1\SourceParallelstore
Returns
Type Description
$this

getSourceGcsBucket

Output only. Cloud Storage source.

Returns
Type Description
Google\Cloud\Parallelstore\V1\SourceGcsBucket|null

hasSourceGcsBucket

setSourceGcsBucket

Output only. Cloud Storage source.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1\SourceGcsBucket
Returns
Type Description
$this

getDestinationGcsBucket

Output only. Cloud Storage destination.

Returns
Type Description
Google\Cloud\Parallelstore\V1\DestinationGcsBucket|null

hasDestinationGcsBucket

setDestinationGcsBucket

Output only. Cloud Storage destination.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1\DestinationGcsBucket
Returns
Type Description
$this

getDestinationParallelstore

Output only. Parallelstore destination.

Returns
Type Description
Google\Cloud\Parallelstore\V1\DestinationParallelstore|null

hasDestinationParallelstore

setDestinationParallelstore

Output only. Parallelstore destination.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1\DestinationParallelstore
Returns
Type Description
$this

getCounters

Output only. The progress of the transfer operation.

Returns
Type Description
Google\Cloud\Parallelstore\V1\TransferCounters|null

hasCounters

clearCounters

setCounters

Output only. The progress of the transfer operation.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1\TransferCounters
Returns
Type Description
$this

getTransferType

Output only. The type of transfer occurring.

Returns
Type Description
int

setTransferType

Output only. The type of transfer occurring.

Parameter
Name Description
var int
Returns
Type Description
$this

getSource

Returns
Type Description
string

getDestination

Returns
Type Description
string