Class: Ansible::Ruby::Modules::Gce_tag
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gce_tag
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb
Overview
This module can add or remove tags U(cloud.google.com/compute/docs/instances/#tags) to/from GCE instance.
Instance Method Summary collapse
-
#instance_name ⇒ String
The name of the GCE instance to add/remove tags.
-
#pem_file ⇒ Object?
Path to the pem file associated with the service account email.
-
#project_id ⇒ Object?
Your GCE project ID.
-
#service_account_email ⇒ Object?
Service account email.
-
#state ⇒ :present, ...
Desired state of the tags.
-
#tags ⇒ Array<String>, String
Comma-separated list of tags to add or remove.
-
#zone ⇒ String?
The zone of the disk specified by source.
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
#instance_name ⇒ String
Returns the name of the GCE instance to add/remove tags.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 11 attribute :instance_name |
#pem_file ⇒ Object?
Returns path to the pem file associated with the service account email.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 30 attribute :pem_file |
#project_id ⇒ Object?
Returns your GCE project ID.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 33 attribute :project_id |
#service_account_email ⇒ Object?
Returns service account email.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 27 attribute :service_account_email |
#state ⇒ :present, ...
Returns desired state of the tags.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 19 attribute :state |
#tags ⇒ Array<String>, String
Returns comma-separated list of tags to add or remove.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 15 attribute :tags |
#zone ⇒ String?
Returns the zone of the disk specified by source.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 23 attribute :zone |