Google Cloud Memorystore V1 Client - Class StartMigrationRequest (0.12.0)

Reference documentation and code samples for the Google Cloud Memorystore V1 Client class StartMigrationRequest.

Request for StartMigration.

Generated from protobuf message google.cloud.memorystore.v1.StartMigrationRequest

Namespace

Google \ Cloud \ Memorystore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ self_managed_source SelfManagedSource

Required. Configuration for migrating from a self-managed Valkey/Redis instance

↳ name string

Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}

getSelfManagedSource

Required. Configuration for migrating from a self-managed Valkey/Redis instance

Returns
Type Description
SelfManagedSource|null

hasSelfManagedSource

setSelfManagedSource

Required. Configuration for migrating from a self-managed Valkey/Redis instance

Parameter
Name Description
var SelfManagedSource
Returns
Type Description
$this

getName

Required. The resource name of the instance to start migration on.

Format: projects/{project}/locations/{location}/instances/{instance}

Returns
Type Description
string

setName

Required. The resource name of the instance to start migration on.

Format: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string