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