# Google Cloud Monitoring v3 API - Class SnoozeServiceClientImpl (3.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.16.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.15.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.15.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.14.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.14.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.13.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.12.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.11.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.10.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.9.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.8.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.7.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.6.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.5.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.4.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.3.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.2.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.1.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/3.0.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/2.6.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/2.5.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/2.4.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/2.3.0/Google.Cloud.Monitoring.V3.SnoozeServiceClientImpl)

    public sealed class SnoozeServiceClientImpl : SnoozeServiceClient

Reference documentation and code samples for the Google Cloud Monitoring v3 API class SnoozeServiceClientImpl.

SnoozeService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SnoozeServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient) \> SnoozeServiceClientImpl

## Inherited Members

[SnoozeServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_DefaultEndpoint) [SnoozeServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_DefaultScopes) [SnoozeServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ServiceMetadata) [SnoozeServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateAsync_System_Threading_CancellationToken_) [SnoozeServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_Create) [SnoozeServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ShutdownDefaultChannelsAsync) [SnoozeServiceClient.CreateSnoozeAsync(CreateSnoozeRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_Google_Cloud_Monitoring_V3_CreateSnoozeRequest_System_Threading_CancellationToken_) [SnoozeServiceClient.CreateSnooze(string, Snooze, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnooze_System_String_Google_Cloud_Monitoring_V3_Snooze_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.CreateSnoozeAsync(string, Snooze, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_System_String_Google_Cloud_Monitoring_V3_Snooze_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.CreateSnoozeAsync(string, Snooze, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_System_String_Google_Cloud_Monitoring_V3_Snooze_System_Threading_CancellationToken_) [SnoozeServiceClient.CreateSnooze(ProjectName, Snooze, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnooze_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Monitoring_V3_Snooze_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.CreateSnoozeAsync(ProjectName, Snooze, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Monitoring_V3_Snooze_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.CreateSnoozeAsync(ProjectName, Snooze, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Monitoring_V3_Snooze_System_Threading_CancellationToken_) [SnoozeServiceClient.ListSnoozes(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozes_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.ListSnoozesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.ListSnoozes(ProjectName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozes_Google_Api_Gax_ResourceNames_ProjectName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.ListSnoozesAsync(ProjectName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozesAsync_Google_Api_Gax_ResourceNames_ProjectName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.GetSnoozeAsync(GetSnoozeRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_Google_Cloud_Monitoring_V3_GetSnoozeRequest_System_Threading_CancellationToken_) [SnoozeServiceClient.GetSnooze(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnooze_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.GetSnoozeAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.GetSnoozeAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_System_String_System_Threading_CancellationToken_) [SnoozeServiceClient.GetSnooze(SnoozeName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnooze_Google_Cloud_Monitoring_V3_SnoozeName_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.GetSnoozeAsync(SnoozeName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_Google_Cloud_Monitoring_V3_SnoozeName_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.GetSnoozeAsync(SnoozeName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_Google_Cloud_Monitoring_V3_SnoozeName_System_Threading_CancellationToken_) [SnoozeServiceClient.UpdateSnoozeAsync(UpdateSnoozeRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnoozeAsync_Google_Cloud_Monitoring_V3_UpdateSnoozeRequest_System_Threading_CancellationToken_) [SnoozeServiceClient.UpdateSnooze(Snooze, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnooze_Google_Cloud_Monitoring_V3_Snooze_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.UpdateSnoozeAsync(Snooze, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnoozeAsync_Google_Cloud_Monitoring_V3_Snooze_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [SnoozeServiceClient.UpdateSnoozeAsync(Snooze, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnoozeAsync_Google_Cloud_Monitoring_V3_Snooze_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Monitoring.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3)

## Assembly

Google.Cloud.Monitoring.V3.dll

## Remarks

The SnoozeService API is used to temporarily prevent an alert policy from
generating alerts. A Snooze is a description of the criteria under which one
or more alert policies should not fire alerts for the specified duration.

## Constructors

### SnoozeServiceClientImpl(SnoozeServiceClient, SnoozeServiceSettings, ILogger)

    public SnoozeServiceClientImpl(SnoozeService.SnoozeServiceClient grpcClient, SnoozeServiceSettings settings, ILogger logger)

Constructs a client wrapper for the SnoozeService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeService.SnoozeServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceSettings` The base [SnoozeServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override SnoozeService.SnoozeServiceClient GrpcClient { get; }

The underlying gRPC SnoozeService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeService.SnoozeServiceClient` |   |

**Overrides** [SnoozeServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GrpcClient)

## Methods

### CreateSnooze(CreateSnoozeRequest, CallSettings)

    public override Snooze CreateSnooze(CreateSnoozeRequest request, CallSettings callSettings = null)

Creates a `Snooze` that will prevent alerts, which match the provided
criteria, from being opened. The `Snooze` applies for a specific time
interval.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.CreateSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | The RPC response. |

**Overrides** [SnoozeServiceClient.CreateSnooze(CreateSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnooze_Google_Cloud_Monitoring_V3_CreateSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateSnoozeAsync(CreateSnoozeRequest, CallSettings)

    public override Task<Snooze> CreateSnoozeAsync(CreateSnoozeRequest request, CallSettings callSettings = null)

Creates a `Snooze` that will prevent alerts, which match the provided
criteria, from being opened. The `Snooze` applies for a specific time
interval.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.CreateSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | A Task containing the RPC response. |

**Overrides** [SnoozeServiceClient.CreateSnoozeAsync(CreateSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_CreateSnoozeAsync_Google_Cloud_Monitoring_V3_CreateSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetSnooze(GetSnoozeRequest, CallSettings)

    public override Snooze GetSnooze(GetSnoozeRequest request, CallSettings callSettings = null)

Retrieves a `Snooze` by `name`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.GetSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | The RPC response. |

**Overrides** [SnoozeServiceClient.GetSnooze(GetSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnooze_Google_Cloud_Monitoring_V3_GetSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetSnoozeAsync(GetSnoozeRequest, CallSettings)

    public override Task<Snooze> GetSnoozeAsync(GetSnoozeRequest request, CallSettings callSettings = null)

Retrieves a `Snooze` by `name`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.GetSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | A Task containing the RPC response. |

**Overrides** [SnoozeServiceClient.GetSnoozeAsync(GetSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_GetSnoozeAsync_Google_Cloud_Monitoring_V3_GetSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListSnoozes(ListSnoozesRequest, CallSettings)

    public override PagedEnumerable<ListSnoozesResponse, Snooze> ListSnoozes(ListSnoozesRequest request, CallSettings callSettings = null)

Lists the `Snooze`s associated with a project. Can optionally pass in
`filter`, which specifies predicates to match `Snooze`s.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.ListSnoozesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.ListSnoozesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | A pageable sequence of [Snooze](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze) resources. |

**Overrides** [SnoozeServiceClient.ListSnoozes(ListSnoozesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozes_Google_Cloud_Monitoring_V3_ListSnoozesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListSnoozesAsync(ListSnoozesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListSnoozesResponse, Snooze> ListSnoozesAsync(ListSnoozesRequest request, CallSettings callSettings = null)

Lists the `Snooze`s associated with a project. Can optionally pass in
`filter`, which specifies predicates to match `Snooze`s.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.ListSnoozesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.ListSnoozesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | A pageable asynchronous sequence of [Snooze](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze) resources. |

**Overrides** [SnoozeServiceClient.ListSnoozesAsync(ListSnoozesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_ListSnoozesAsync_Google_Cloud_Monitoring_V3_ListSnoozesRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateSnooze(UpdateSnoozeRequest, CallSettings)

    public override Snooze UpdateSnooze(UpdateSnoozeRequest request, CallSettings callSettings = null)

Updates a `Snooze`, identified by its `name`, with the parameters in the
given `Snooze` object.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.UpdateSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | The RPC response. |

**Overrides** [SnoozeServiceClient.UpdateSnooze(UpdateSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnooze_Google_Cloud_Monitoring_V3_UpdateSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateSnoozeAsync(UpdateSnoozeRequest, CallSettings)

    public override Task<Snooze> UpdateSnoozeAsync(UpdateSnoozeRequest request, CallSettings callSettings = null)

Updates a `Snooze`, identified by its `name`, with the parameters in the
given `Snooze` object.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.UpdateSnoozeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.Snooze` | A Task containing the RPC response. |

**Overrides** [SnoozeServiceClient.UpdateSnoozeAsync(UpdateSnoozeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Monitoring.V3/latest/Google.Cloud.Monitoring.V3.SnoozeServiceClient#Google_Cloud_Monitoring_V3_SnoozeServiceClient_UpdateSnoozeAsync_Google_Cloud_Monitoring_V3_UpdateSnoozeRequest_Google_Api_Gax_Grpc_CallSettings_)