Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class StartMigrationRequest.
Request for StartMigration.
Generated from protobuf message google.cloud.memorystore.v1beta.StartMigrationRequest
Namespace
Google \ Cloud \ Memorystore \ V1betaMethods
__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 |
|