Google Cloud Api Hub V1 Client - Class GetHostProjectRegistrationRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class GetHostProjectRegistrationRequest.

The GetHostProjectRegistration method's request.

Generated from protobuf message google.cloud.apihub.v1.GetHostProjectRegistrationRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Host project registration resource name. projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id}

getName

Required. Host project registration resource name.

projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id}

Returns
Type Description
string

setName

Required. Host project registration resource name.

projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Host project registration resource name. projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id} Please see Google\Cloud\ApiHub\V1\HostProjectRegistrationServiceClient::hostProjectRegistrationName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiHub\V1\GetHostProjectRegistrationRequest