Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class NextHopInterconnectAttachment.
A route next hop that leads to an interconnect attachment resource.
Generated from protobuf message google.cloud.networkconnectivity.v1.NextHopInterconnectAttachment
Namespace
Google \ Cloud \ NetworkConnectivity \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ uri
string
The URI of the interconnect attachment resource.
↳ vpc_network
string
The VPC network where this interconnect attachment is located.
↳ site_to_site_data_transfer
bool
Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations.
getUri
The URI of the interconnect attachment resource.
Returns
Type
Description
string
setUri
The URI of the interconnect attachment resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVpcNetwork
The VPC network where this interconnect attachment is located.
Returns
Type
Description
string
setVpcNetwork
The VPC network where this interconnect attachment is located.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSiteToSiteDataTransfer
Indicates whether site-to-site data transfer is allowed for this
interconnect attachment resource. Data transfer is available only in
supported
locations.
Returns
Type
Description
bool
setSiteToSiteDataTransfer
Indicates whether site-to-site data transfer is allowed for this
interconnect attachment resource. Data transfer is available only in
supported
locations.
[[["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-08-28 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class NextHopInterconnectAttachment (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.NextHopInterconnectAttachment)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.NextHopInterconnectAttachment)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.NextHopInterconnectAttachment)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.NextHopInterconnectAttachment)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.NextHopInterconnectAttachment)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.NextHopInterconnectAttachment)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.NextHopInterconnectAttachment)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.NextHopInterconnectAttachment)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.NextHopInterconnectAttachment)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.NextHopInterconnectAttachment) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class NextHopInterconnectAttachment.\n\nA route next hop that leads to an interconnect attachment resource.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.NextHopInterconnectAttachment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUri\n\nThe URI of the interconnect attachment resource.\n\n### setUri\n\nThe URI of the interconnect attachment resource.\n\n### getVpcNetwork\n\nThe VPC network where this interconnect attachment is located.\n\n### setVpcNetwork\n\nThe VPC network where this interconnect attachment is located.\n\n### getSiteToSiteDataTransfer\n\nIndicates whether site-to-site data transfer is allowed for this\ninterconnect attachment resource. Data transfer is available only in\n[supported\nlocations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).\n\n### setSiteToSiteDataTransfer\n\nIndicates whether site-to-site data transfer is allowed for this\ninterconnect attachment resource. Data transfer is available only in\n[supported\nlocations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations)."]]