Google Cloud Monitoring v3 API - Class CreateSnoozeRequest (3.7.0)

public sealed class CreateSnoozeRequest : IMessage<CreateSnoozeRequest>, IEquatable<CreateSnoozeRequest>, IDeepCloneable<CreateSnoozeRequest>, IBufferMessage, IMessage

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

The message definition for creating a Snooze. Users must provide the body of the Snooze to be created but must omit the Snooze field, name.

Inheritance

object > CreateSnoozeRequest

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

CreateSnoozeRequest()

public CreateSnoozeRequest()

CreateSnoozeRequest(CreateSnoozeRequest)

public CreateSnoozeRequest(CreateSnoozeRequest other)
Parameter
NameDescription
otherCreateSnoozeRequest

Properties

Parent

public string Parent { get; set; }

Required. The project in which a Snooze should be created. The format is:

projects/[PROJECT_ID_OR_NUMBER]
Property Value
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

Snooze

public Snooze Snooze { get; set; }

Required. The Snooze to create. Omit the name field, as it will be filled in by the API.

Property Value
TypeDescription
Snooze