Class: Ansible::Ruby::Modules::Gcp_spanner_database
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_spanner_database
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_spanner_database.rb
Overview
A Cloud Spanner Database which is hosted on a Spanner instance.
Instance Method Summary collapse
-
#extra_statements ⇒ Object?
An optional list of DDL statements to run inside the newly created database.
-
#instance ⇒ String
The instance to create the database on.
-
#name ⇒ String?
A unique identifier for the database, which cannot be changed after the instance is created.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
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
#extra_statements ⇒ Object?
Returns An optional list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_spanner_database.rb', line 20 attribute :extra_statements |
#instance ⇒ String
Returns The instance to create the database on.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_spanner_database.rb', line 23 attribute :instance |
#name ⇒ String?
Returns A unique identifier for the database, which cannot be changed after the instance is created. Values are of the form projects/<project>/instances/[-a-z0-9]*. The final segment of the name must be between 6 and 30 characters in length.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_spanner_database.rb', line 16 attribute :name |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_spanner_database.rb', line 12 attribute :state |