Class: Ansible::Ruby::Modules::Gcp_sql_database

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

Overview

Represents a SQL database inside the Cloud SQL instance, hosted in Google’s cloud.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#charsetString?

Returns The MySQL charset value.

Returns:

  • (String, nil)

    The MySQL charset value.



16
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_database.rb', line 16

attribute :charset

#collationObject?

Returns The MySQL collation value.

Returns:

  • (Object, nil)

    The MySQL collation value.



20
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_database.rb', line 20

attribute :collation

#instanceString

Returns The name of the Cloud SQL instance. This does not include the project ID.

Returns:

  • (String)

    The name of the Cloud SQL instance. This does not include the project ID.



27
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_database.rb', line 27

attribute :instance

#nameString?

Returns The name of the database in the Cloud SQL instance.,This does not include the project ID or instance name.

Returns:

  • (String, nil)

    The name of the database in the Cloud SQL instance.,This does not include the project ID or instance name.



23
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_database.rb', line 23

attribute :name

#state:present, ...

Returns Whether the given object should exist in GCP.

Returns:

  • (:present, :absent, nil)

    Whether the given object should exist in GCP



12
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_database.rb', line 12

attribute :state