Google Cloud Network Connectivity V1 Client - Class GetSpokeRequest (2.1.1)

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

The request for HubService.GetSpoke.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the spoke resource.

getName

Required. The name of the spoke resource.

Returns
Type Description
string

setName

Required. The name of the spoke resource.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the spoke resource. Please see HubServiceClient::spokeName() for help formatting this field.

Returns
Type Description
GetSpokeRequest