Reference documentation and code samples for the Google Cloud App Hub V1 Client class LookupServiceProjectAttachmentRequest.
Request for LookupServiceProjectAttachment.
Generated from protobuf message google.cloud.apphub.v1.LookupServiceProjectAttachmentRequest
Namespace
Google \ Cloud \ AppHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Service project ID and location to lookup service project attachment for. Only global location is supported. Expected format: projects/{project}/locations/{location}.
getName
Required. Service project ID and location to lookup service project
attachment for. Only global location is supported. Expected format:
projects/{project}/locations/{location}.
Returns
Type
Description
string
setName
Required. Service project ID and location to lookup service project
attachment for. Only global location is supported. Expected format:
projects/{project}/locations/{location}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Service project ID and location to lookup service project
attachment for. Only global location is supported. Expected format:
projects/{project}/locations/{location}. Please see
AppHubClient::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-09-04 UTC."],[],[],null,["# Google Cloud App Hub V1 Client - Class LookupServiceProjectAttachmentRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/cloud-apphub/latest/V1.LookupServiceProjectAttachmentRequest)\n- [0.3.0](/php/docs/reference/cloud-apphub/0.3.0/V1.LookupServiceProjectAttachmentRequest)\n- [0.2.0](/php/docs/reference/cloud-apphub/0.2.0/V1.LookupServiceProjectAttachmentRequest)\n- [0.1.6](/php/docs/reference/cloud-apphub/0.1.6/V1.LookupServiceProjectAttachmentRequest) \nReference documentation and code samples for the Google Cloud App Hub V1 Client class LookupServiceProjectAttachmentRequest.\n\nRequest for LookupServiceProjectAttachment.\n\nGenerated from protobuf message `google.cloud.apphub.v1.LookupServiceProjectAttachmentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Service project ID and location to lookup service project\nattachment for. Only global location is supported. Expected format:\n`projects/{project}/locations/{location}`.\n\n### setName\n\nRequired. Service project ID and location to lookup service project\nattachment for. Only global location is supported. Expected format:\n`projects/{project}/locations/{location}`.\n\n### static::build"]]