Class: Ansible::Ruby::Modules::Stackdriver

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb

Overview

Send code deploy and annotation events to Stackdriver

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#annotated_byString?

Returns The person or robot who the annotation should be attributed to.

Returns:

  • (String, nil)

    The person or robot who the annotation should be attributed to.



39
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 39

attribute :annotated_by

#deployed_byString?

Returns The person or robot responsible for deploying the code.

Returns:

  • (String, nil)

    The person or robot responsible for deploying the code



23
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 23

attribute :deployed_by

#deployed_toString?

Returns The environment code was deployed to. (ie: development, staging, production).

Returns:

  • (String, nil)

    The environment code was deployed to. (ie: development, staging, production)



27
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 27

attribute :deployed_to

#event:annotation, ...

Returns The type of event to send, either annotation or deploy.

Returns:

  • (:annotation, :deploy, nil)

    The type of event to send, either annotation or deploy



15
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 15

attribute :event

#event_epochObject?

Returns Unix timestamp of where the event should appear in the timeline, defaults to now. Be careful with this.

Returns:

  • (Object, nil)

    Unix timestamp of where the event should appear in the timeline, defaults to now. Be careful with this.



51
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 51

attribute :event_epoch

#instance_idString?

Returns id of an EC2 instance that this event should be attached to, which will limit the contexts where this event is shown.

Returns:

  • (String, nil)

    id of an EC2 instance that this event should be attached to, which will limit the contexts where this event is shown



47
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 47

attribute :instance_id

#keyString

Returns API key.

Returns:

  • (String)

    API key.



11
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 11

attribute :key

#level:INFO, ...

Returns one of INFO/WARN/ERROR, defaults to INFO if not supplied.  May affect display.

Returns:

  • (:INFO, :WARN, :ERROR, nil)

    one of INFO/WARN/ERROR, defaults to INFO if not supplied.  May affect display.



43
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 43

attribute :level

#msgString?

Returns The contents of the annotation message, in plain text.  Limited to 256 characters. Required for annotation.

Returns:

  • (String, nil)

    The contents of the annotation message, in plain text.  Limited to 256 characters. Required for annotation.



35
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 35

attribute :msg

#repositoryString?

Returns The repository (or project) deployed.

Returns:

  • (String, nil)

    The repository (or project) deployed



31
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 31

attribute :repository

#revision_idString?

Returns The revision of the code that was deployed. Required for deploy events.

Returns:

  • (String, nil)

    The revision of the code that was deployed. Required for deploy events



19
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 19

attribute :revision_id