# Google Ads Marketing Platform Admin V1alpha Client - Class SetPropertyServiceLevelRequest (0.1.1)

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Ads Marketing Platform Admin V1alpha Client class SetPropertyServiceLevelRequest.

Request message for SetPropertyServiceLevel RPC.

Generated from protobuf message `google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest`

## Namespace

Google \\ Ads \\ MarketingPlatform \\ Admin \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ analytics_account_link` | `string` Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |
| `↳ analytics_property` | `string` Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id} |
| `↳ service_level` | `int` Required. The service level to set for this property. |

### getAnalyticsAccountLink

Required. The parent AnalyticsAccountLink scope where this property is in.

Format:
organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

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

### setAnalyticsAccountLink

Required. The parent AnalyticsAccountLink scope where this property is in.

Format:
organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

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

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

### getAnalyticsProperty

Required. The Analytics property to change the ServiceLevel setting. This
field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

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

### setAnalyticsProperty

Required. The Analytics property to change the ServiceLevel setting. This
field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

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

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

### getServiceLevel

Required. The service level to set for this property.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setServiceLevel

Required. The service level to set for this property.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `analyticsAccountLink` | `string` Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/googleads/marketingplatform-admin/latest/V1alpha.SetPropertyServiceLevelRequest` |   |