Class: Google::Cloud::Monitoring::V3::CreateSnoozeRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/snooze_service.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

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

projects/[PROJECT_ID_OR_NUMBER].

Returns:

  • (::String)

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

    projects/[PROJECT_ID_OR_NUMBER]
    


37
38
39
40
# File 'proto_docs/google/monitoring/v3/snooze_service.rb', line 37

class CreateSnoozeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#snooze::Google::Cloud::Monitoring::V3::Snooze

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

Returns:



37
38
39
40
# File 'proto_docs/google/monitoring/v3/snooze_service.rb', line 37

class CreateSnoozeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end