Google Cloud Api Hub V1 Client - Class LookupApiHubInstanceRequest (0.1.0)

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

The LookupApiHubInstance method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

getParent

Required. There will always be only one Api Hub instance for a GCP project across all locations.

The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. There will always be only one Api Hub instance for a GCP project across all locations.

The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location} Please see Google\Cloud\ApiHub\V1\ProvisioningClient::locationName() for help formatting this field.

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