Class: Ansible::Ruby::Modules::Gcp_sql_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_sql_user
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb
Overview
The Users resource represents a database user in a Cloud SQL instance.
Instance Method Summary collapse
-
#host ⇒ String
The host name from which the user can connect.
-
#instance ⇒ String
The name of the Cloud SQL instance.
-
#name ⇒ String
The name of the user in the Cloud SQL instance.
-
#password ⇒ String?
The password for the user.
-
#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, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#host ⇒ String
Returns The host name from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as part of the request URL. The host name cannot be updated after insertion.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb', line 16 attribute :host |
#instance ⇒ String
Returns The name of the Cloud SQL instance. This does not include the project ID.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb', line 24 attribute :instance |
#name ⇒ String
Returns The name of the user in the Cloud SQL instance.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb', line 20 attribute :name |
#password ⇒ String?
Returns The password for the user.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb', line 28 attribute :password |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_sql_user.rb', line 12 attribute :state |