Google Cloud Parallelstore V1beta Client - Class TransferOperationMetadata (0.4.0)

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

Represents the metadata of the long-running operation.

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

Namespace

Google \ Cloud \ Parallelstore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_parallelstore Google\Cloud\Parallelstore\V1beta\SourceParallelstore

Output only. Parallelstore source.

↳ source_gcs_bucket Google\Cloud\Parallelstore\V1beta\SourceGcsBucket

Output only. Cloud Storage source.

↳ destination_gcs_bucket Google\Cloud\Parallelstore\V1beta\DestinationGcsBucket

Output only. Cloud Storage destination.

↳ destination_parallelstore Google\Cloud\Parallelstore\V1beta\DestinationParallelstore

Output only. Parallelstore destination.

↳ counters Google\Cloud\Parallelstore\V1beta\TransferCounters

Output only. Information about 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\V1beta\SourceParallelstore|null

hasSourceParallelstore

setSourceParallelstore

Output only. Parallelstore source.

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

getSourceGcsBucket

Output only. Cloud Storage source.

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

hasSourceGcsBucket

setSourceGcsBucket

Output only. Cloud Storage source.

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

getDestinationGcsBucket

Output only. Cloud Storage destination.

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

hasDestinationGcsBucket

setDestinationGcsBucket

Output only. Cloud Storage destination.

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

getDestinationParallelstore

Output only. Parallelstore destination.

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

hasDestinationParallelstore

setDestinationParallelstore

Output only. Parallelstore destination.

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

getCounters

Output only. Information about the progress of the transfer operation.

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

hasCounters

clearCounters

setCounters

Output only. Information about the progress of the transfer operation.

Parameter
Name Description
var Google\Cloud\Parallelstore\V1beta\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