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

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

The LookupApiHubInstance method's response.`

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ api_hub_instance Google\Cloud\ApiHub\V1\ApiHubInstance

API Hub instance for a project if it exists, empty otherwise.

getApiHubInstance

API Hub instance for a project if it exists, empty otherwise.

Returns
Type Description
Google\Cloud\ApiHub\V1\ApiHubInstance|null

hasApiHubInstance

clearApiHubInstance

setApiHubInstance

API Hub instance for a project if it exists, empty otherwise.

Parameter
Name Description
var Google\Cloud\ApiHub\V1\ApiHubInstance
Returns
Type Description
$this