Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String-
(::String) —
Required. The project in which a
Snoozeshould be created. The format is:projects/[PROJECT_ID_OR_NUMBER]
#parent=
def parent=(value) -> ::String-
value (::String) —
Required. The project in which a
Snoozeshould be created. The format is:projects/[PROJECT_ID_OR_NUMBER]
-
(::String) —
Required. The project in which a
Snoozeshould be created. The format is:projects/[PROJECT_ID_OR_NUMBER]
#snooze
def snooze() -> ::Google::Cloud::Monitoring::V3::Snooze-
(::Google::Cloud::Monitoring::V3::Snooze) — Required. The
Snoozeto create. Omit thenamefield, as it will be filled in by the API.
#snooze=
def snooze=(value) -> ::Google::Cloud::Monitoring::V3::Snooze-
value (::Google::Cloud::Monitoring::V3::Snooze) — Required. The
Snoozeto create. Omit thenamefield, as it will be filled in by the API.
-
(::Google::Cloud::Monitoring::V3::Snooze) — Required. The
Snoozeto create. Omit thenamefield, as it will be filled in by the API.