Class: Ansible::Ruby::Modules::Gcdns_record
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcdns_record
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb
Overview
Creates or removes resource records in Google Cloud DNS.
Instance Method Summary collapse
-
#credentials_file ⇒ Object?
The path to the JSON file associated with the service account email.
-
#overwrite ⇒ :yes, ...
Whether an attempt to overwrite an existing record should succeed or fail.
-
#pem_file ⇒ Object?
The path to the PEM file associated with the service account email.,This option is deprecated and may be removed in a future release.
-
#project_id ⇒ Object?
The Google Cloud Platform project ID to use.
-
#record ⇒ String
The fully-qualified domain name of the resource record.
-
#record_data ⇒ Array<String>, ...
The record_data to use for the resource record.,I(record_data) must be specified if I(state) is C(present) or I(overwrite) is C(True), or the module will fail.,Valid record_data vary based on the record’s I(type).
-
#service_account_email ⇒ Object?
The e-mail address for a service account with access to Google Cloud DNS.
-
#state ⇒ :present, ...
Whether the given resource record should or should not be present.
-
#ttl ⇒ Integer?
The amount of time in seconds that a resource record will remain cached by a caching resolver.
-
#type ⇒ :A, ...
The type of resource record to add.
-
#zone ⇒ String?
The DNS domain name of the zone (e.g., example.com).,One of either I(zone) or I(zone_id) must be specified as an option, or the module will fail.,If both I(zone) and I(zone_id) are specified, I(zone_id) will be used.
-
#zone_id ⇒ String?
The Google Cloud ID of the zone (e.g., example-com).,One of either I(zone) or I(zone_id) must be specified as an option, or the module will fail.,These usually take the form of domain names with the dots replaced with dashes.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#credentials_file ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 50 attribute :credentials_file |
#overwrite ⇒ :yes, ...
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 40 attribute :overwrite |
#pem_file ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 47 attribute :pem_file |
#project_id ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 53 attribute :project_id |
#record ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 16 attribute :record |
#record_data ⇒ Array<String>, ...
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 32 attribute :record_data |
#service_account_email ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 44 attribute :service_account_email |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 12 attribute :state |
#ttl ⇒ Integer?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 36 attribute :ttl |
#type ⇒ :A, ...
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 28 attribute :type |
#zone ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 20 attribute :zone |
#zone_id ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcdns_record.rb', line 24 attribute :zone_id |