Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class Migration.
Specification for migration with source and target resource names.
Generated from protobuf message google.cloud.networkconnectivity.v1.InternalRange.Migration
Namespace
Google \ Cloud \ NetworkConnectivity \ V1 \ InternalRange
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ source
string
Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
↳ target
string
Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
getSource
Immutable. Resource path as an URI of the source resource, for example a
subnet. The project for the source resource should match the project for
the InternalRange. An example:
/projects/{project}/regions/{region}/subnetworks/{subnet}
Returns
Type
Description
string
setSource
Immutable. Resource path as an URI of the source resource, for example a
subnet. The project for the source resource should match the project for
the InternalRange. An example:
/projects/{project}/regions/{region}/subnetworks/{subnet}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTarget
Immutable. Resource path of the target resource. The target project can
be different, as in the cases when migrating to peer networks. For
example:
/projects/{project}/regions/{region}/subnetworks/{subnet}
Returns
Type
Description
string
setTarget
Immutable. Resource path of the target resource. The target project can
be different, as in the cases when migrating to peer networks. For
example:
/projects/{project}/regions/{region}/subnetworks/{subnet}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class Migration (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.InternalRange.Migration)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.InternalRange.Migration)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.InternalRange.Migration)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.InternalRange.Migration)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.InternalRange.Migration)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.InternalRange.Migration)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.InternalRange.Migration)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.InternalRange.Migration)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.InternalRange.Migration)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.InternalRange.Migration) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class Migration.\n\nSpecification for migration with source and target resource names.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.InternalRange.Migration`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1 \\\\ InternalRange\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSource\n\nImmutable. Resource path as an URI of the source resource, for example a\nsubnet. The project for the source resource should match the project for\nthe InternalRange. An example:\n/projects/{project}/regions/{region}/subnetworks/{subnet}\n\n### setSource\n\nImmutable. Resource path as an URI of the source resource, for example a\nsubnet. The project for the source resource should match the project for\nthe InternalRange. An example:\n/projects/{project}/regions/{region}/subnetworks/{subnet}\n\n### getTarget\n\nImmutable. Resource path of the target resource. The target project can\nbe different, as in the cases when migrating to peer networks. For\nexample:\n/projects/{project}/regions/{region}/subnetworks/{subnet}\n\n### setTarget\n\nImmutable. Resource path of the target resource. The target project can\nbe different, as in the cases when migrating to peer networks. For\nexample:\n/projects/{project}/regions/{region}/subnetworks/{subnet}"]]