Class: Ansible::Ruby::Modules::Stackdriver
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Stackdriver
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb
Overview
Send code deploy and annotation events to Stackdriver
Instance Method Summary collapse
-
#annotated_by ⇒ String?
The person or robot who the annotation should be attributed to.
-
#deployed_by ⇒ String?
The person or robot responsible for deploying the code.
-
#deployed_to ⇒ String?
The environment code was deployed to.
-
#event ⇒ :annotation, ...
The type of event to send, either annotation or deploy.
-
#event_epoch ⇒ Object?
Unix timestamp of where the event should appear in the timeline, defaults to now.
-
#instance_id ⇒ String?
Id of an EC2 instance that this event should be attached to, which will limit the contexts where this event is shown.
-
#key ⇒ String
API key.
-
#level ⇒ :INFO, ...
One of INFO/WARN/ERROR, defaults to INFO if not supplied.
-
#msg ⇒ String?
The contents of the annotation message, in plain text.
-
#repository ⇒ String?
The repository (or project) deployed.
-
#revision_id ⇒ String?
The revision of the code that was deployed.
Methods inherited from Base
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_by ⇒ String?
Returns 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_by ⇒ String?
Returns 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_to ⇒ String?
Returns 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.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 15 attribute :event |
#event_epoch ⇒ Object?
Returns 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_id ⇒ String?
Returns 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 |
#key ⇒ String
Returns 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.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 43 attribute :level |
#msg ⇒ String?
Returns 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 |
#repository ⇒ String?
Returns The repository (or project) deployed.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 31 attribute :repository |
#revision_id ⇒ String?
Returns 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 |