Google Cloud Network Connectivity V1 Client - Class GetHubRequest (2.0.0)

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

Request for HubService.GetHub method.

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

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 hub resource to get.

getName

Required. The name of the hub resource to get.

Returns
Type Description
string

setName

Required. The name of the hub resource to get.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the hub resource to get. Please see Google\Cloud\NetworkConnectivity\V1\HubServiceClient::hubName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetworkConnectivity\V1\GetHubRequest