Google Cloud Network Connectivity V1 Client - Class AcceptHubSpokeResponse (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Cloud\NetworkConnectivity\V1\Spoke|null

hasSpoke

clearSpoke

setSpoke

The spoke that was operated on.

Parameter
Name Description
var Google\Cloud\NetworkConnectivity\V1\Spoke
Returns
Type Description
$this