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

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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

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

setName

Required. Host project registration resource name.

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

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

Returns
TypeDescription
GetHostProjectRegistrationRequest