Interface CreateSnoozeRequestOrBuilder (3.53.0)

public interface CreateSnoozeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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

 projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

 projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSnooze()

public abstract Snooze getSnooze()

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

.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Snooze

The snooze.

getSnoozeOrBuilder()

public abstract SnoozeOrBuilder getSnoozeOrBuilder()

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

.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SnoozeOrBuilder

hasSnooze()

public abstract boolean hasSnooze()

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

.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the snooze field is set.