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
.
Implements
IMessageCreateSnoozeRequest, IEquatableCreateSnoozeRequest, IDeepCloneableCreateSnoozeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
CreateSnoozeRequest()
public CreateSnoozeRequest()
CreateSnoozeRequest(CreateSnoozeRequest)
public CreateSnoozeRequest(CreateSnoozeRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateSnoozeRequest |
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 | |
---|---|
Type | Description |
string |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Snooze |