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 ProvisioningClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Api Hub V1 Client - Class LookupApiHubInstanceRequest (0.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.1 (latest)](/php/docs/reference/cloud-apihub/latest/V1.LookupApiHubInstanceRequest)\n- [0.2.0](/php/docs/reference/cloud-apihub/0.2.0/V1.LookupApiHubInstanceRequest)\n- [0.1.4](/php/docs/reference/cloud-apihub/0.1.4/V1.LookupApiHubInstanceRequest) \nReference documentation and code samples for the Google Cloud Api Hub V1 Client class LookupApiHubInstanceRequest.\n\nThe\n[LookupApiHubInstance](/php/docs/reference/cloud-apihub/latest/V1.Client.ProvisioningClient#_Google_Cloud_ApiHub_V1_Client_ProvisioningClient__lookupApiHubInstance__)\nmethod's request.\n\nGenerated from protobuf message `google.cloud.apihub.v1.LookupApiHubInstanceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. There will always be only one Api Hub instance for a GCP project\nacross all locations.\n\nThe parent resource for the Api Hub instance resource.\nFormat: `projects/{project}/locations/{location}`\n\n### setParent\n\nRequired. There will always be only one Api Hub instance for a GCP project\nacross all locations.\n\nThe parent resource for the Api Hub instance resource.\nFormat: `projects/{project}/locations/{location}`\n\n### static::build"]]