Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class SelfManagedSource.
Details of the self-managed source instance.
Generated from protobuf message google.cloud.memorystore.v1beta.SelfManagedSource
Namespace
Google \ Cloud \ Memorystore \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ip_address |
string
Required. The IP address of the source instance. This IP address should be a stable IP address that can be accessed by the Memorystore instance throughout the migration process. |
↳ port |
int
Required. The port of the source instance. This port should be a stable port that can be accessed by the Memorystore instance throughout the migration process. |
↳ network_attachment |
string
Required. The resource name of the Private Service Connect Network Attachment used to establish connectivity to the source instance. This network attachment has the following requirements: 1. It must be in the same project as the Memorystore instance. 2. It must be in the same region as the Memorystore instance. 3. The subnet attached to the network attachment must be in the same VPC network as the source instance nodes. Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment} |
getIpAddress
Required. The IP address of the source instance.
This IP address should be a stable IP address that can be accessed by the Memorystore instance throughout the migration process.
| Returns | |
|---|---|
| Type | Description |
string |
|
setIpAddress
Required. The IP address of the source instance.
This IP address should be a stable IP address that can be accessed by the Memorystore instance throughout the migration process.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPort
Required. The port of the source instance.
This port should be a stable port that can be accessed by the Memorystore instance throughout the migration process.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPort
Required. The port of the source instance.
This port should be a stable port that can be accessed by the Memorystore instance throughout the migration process.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetworkAttachment
Required. The resource name of the Private Service Connect Network Attachment used to establish connectivity to the source instance. This network attachment has the following requirements:
It must be in the same project as the Memorystore instance.
It must be in the same region as the Memorystore instance.
- The subnet attached to the network attachment must be in the same VPC network as the source instance nodes. Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment}
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetworkAttachment
Required. The resource name of the Private Service Connect Network Attachment used to establish connectivity to the source instance. This network attachment has the following requirements:
It must be in the same project as the Memorystore instance.
It must be in the same region as the Memorystore instance.
- The subnet attached to the network attachment must be in the same VPC network as the source instance nodes. Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|