# Google Cloud Advisory Notifications V1 Client - Class GetSettingsRequest (1.2.4)

1.2.4 (latest) 1.2.3 1.1.1 1.0.3 0.8.3 0.7.0 0.6.0 0.5.1 0.4.0 0.3.2 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class GetSettingsRequest.

Request of GetSettings endpoint.

Generated from protobuf message `google.cloud.advisorynotifications.v1.GetSettingsRequest`

## Namespace

Google \\ Cloud \\ AdvisoryNotifications \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. |

### getName

Required. The resource name of the settings to retrieve.

Format:
organizations/{organization}/locations/{location}/settings or
projects/{projects}/locations/{location}/settings.

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

### setName

Required. The resource name of the settings to retrieve.

Format:
organizations/{organization}/locations/{location}/settings or
projects/{projects}/locations/{location}/settings.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. Please see AdvisoryNotificationsServiceClient::settingsName() for help formatting this field. |

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