0.6.0 (latest) 0.5.3 0.4.5 0.3.1 0.2.0 0.1.6 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. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apphub/latest/V1.GetServiceProjectAttachmentRequest` |   |