Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::Database.
Represents a SQL database on the Cloud SQL instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#charset
def charset() -> ::String
Returns
- (::String) — The Cloud SQL charset value.
#charset=
def charset=(value) -> ::String
Parameter
- value (::String) — The Cloud SQL charset value.
Returns
- (::String) — The Cloud SQL charset value.
#collation
def collation() -> ::String
Returns
- (::String) — The Cloud SQL collation value.
#collation=
def collation=(value) -> ::String
Parameter
- value (::String) — The Cloud SQL collation value.
Returns
- (::String) — The Cloud SQL collation value.
#etag
def etag() -> ::String
Returns
- (::String) — This field is deprecated and will be removed from a future version of the API.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — This field is deprecated and will be removed from a future version of the API.
Returns
- (::String) — This field is deprecated and will be removed from a future version of the API.
#instance
def instance() -> ::String
Returns
- (::String) — The name of the Cloud SQL instance. This does not include the project ID.
#instance=
def instance=(value) -> ::String
Parameter
- value (::String) — 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.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#database.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#database.
Returns
-
(::String) — This is always
sql#database.
#name
def name() -> ::String
Returns
- (::String) — The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
Returns
- (::String) — The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
#project
def project() -> ::String
Returns
- (::String) — The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
Returns
- (::String) — The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
#self_link
def self_link() -> ::String
Returns
- (::String) — The URI of this resource.
#self_link=
def self_link=(value) -> ::String
Parameter
- value (::String) — The URI of this resource.
Returns
- (::String) — The URI of this resource.
#sqlserver_database_details
def sqlserver_database_details() -> ::Google::Cloud::Sql::V1::SqlServerDatabaseDetails#sqlserver_database_details=
def sqlserver_database_details=(value) -> ::Google::Cloud::Sql::V1::SqlServerDatabaseDetails
Parameter