Google Cloud Network Connectivity V1 Client - Class AcceptHubSpokeResponse (1.4.2)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class AcceptHubSpokeResponse.

The response for HubService.AcceptHubSpoke.

Generated from protobuf message google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ spoke Google\Cloud\NetworkConnectivity\V1\Spoke

The spoke that was operated on.

getSpoke

The spoke that was operated on.

Returns
TypeDescription
Google\Cloud\NetworkConnectivity\V1\Spoke|null

hasSpoke

clearSpoke

setSpoke

The spoke that was operated on.

Parameter
NameDescription
var Google\Cloud\NetworkConnectivity\V1\Spoke
Returns
TypeDescription
$this