Class: Ansible::Ruby::Modules::Gce_tag

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

attr_options, attribute, #initialize, #to_h, validates

Constructor Details

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

Instance Method Details

#instance_nameString

Returns the name of the GCE instance to add/remove tags.

Returns:

  • (String)

    the name of the GCE instance to add/remove tags



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 10

attribute :instance_name

#pem_fileObject?

Returns path to the pem file associated with the service account email.

Returns:

  • (Object, nil)

    path to the pem file associated with the service account email



29
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 29

attribute :pem_file

#project_idObject?

Returns your GCE project ID.

Returns:

  • (Object, nil)

    your GCE project ID



32
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 32

attribute :project_id

#service_account_emailObject?

Returns service account email.

Returns:

  • (Object, nil)

    service account email



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 26

attribute :service_account_email

#state:present, ...

Returns desired state of the tags.

Returns:

  • (:present, :absent, nil)

    desired state of the tags



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 18

attribute :state

#tagsArray<String>, String

Returns comma-separated list of tags to add or remove.

Returns:

  • (Array<String>, String)

    comma-separated list of tags to add or remove



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 14

attribute :tags

#zoneString?

Returns the zone of the disk specified by source.

Returns:

  • (String, nil)

    the zone of the disk specified by source



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/google/gce_tag.rb', line 22

attribute :zone