0.4.4 (latest) 0.4.3 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class GetStyleGuideContentsRequest.

The
[GetStyleGuideContents](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.Client.LintingServiceClient#_Google_Cloud_ApiHub_V1_Client_LintingServiceClient__getStyleGuideContents__)
method's request.

Generated from protobuf message `google.cloud.apihub.v1.GetStyleGuideContentsRequest`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. |

### getName

Required. The name of the StyleGuide whose contents need to be retrieved.

There is exactly one style guide resource per project per location.
The expected format is
`projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The name of the StyleGuide whose contents need to be retrieved.

There is exactly one style guide resource per project per location.
The expected format is
`projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. Please see LintingServiceClient::styleGuideName() for help formatting this field. |

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