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

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
NameDescription
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
TypeDescription
string

setName

Required. The name of the spoke resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\NetworkConnectivity\V1\GetSpokeRequest