# Stackdriver Monitoring V3 Client - Class Telemetry (2.2.2)

2.2.2 (latest) 2.2.1 2.1.2 2.0.1 1.12.1 1.11.1 1.10.3 1.9.0 1.8.0 1.7.1 1.6.0 1.5.1 1.4.0 1.3.2 1.2.2 Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Telemetry.

Configuration for how to query telemetry on a Service.

Generated from protobuf message `google.monitoring.v3.Service.Telemetry`

## Namespace

Google \\ Cloud \\ Monitoring \\ V3 \\ Service

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resource_name` | `string` The full name of the resource that defines this service. Formatted as described in <https://cloud.google.com/apis/design/resource_names>. |

### getResourceName

The full name of the resource that defines this service. Formatted as
described in <https://cloud.google.com/apis/design/resource_names>.

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

### setResourceName

The full name of the resource that defines this service. Formatted as
described in <https://cloud.google.com/apis/design/resource_names>.

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

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