class Google::Apis::SqladminV1beta4::Database
Represents a SQL database on the Cloud SQL instance.
Attributes
The Cloud SQL charset value. Corresponds to the JSON property `charset` @return [String]
The Cloud SQL collation value. Corresponds to the JSON property `collation` @return [String]
This field is deprecated and will be removed from a future version of the API. Corresponds to the JSON property `etag` @return [String]
The name of the Cloud SQL instance. This does not include the project ID. Corresponds to the JSON property `instance` @return [String]
This is always *sql#database*. Corresponds to the JSON property `kind` @return [String]
The name of the database in the Cloud SQL instance. This does not include the project ID or instance name. Corresponds to the JSON property `name` @return [String]
The project ID of the project containing the Cloud SQL database. The Google
apps domain is prefixed if applicable. Corresponds to the JSON property `project` @return [String]
The URI of this resource. Corresponds to the JSON property `selfLink` @return [String]
Represents a Sql Server database on the Cloud SQL instance. Corresponds to the JSON property `sqlserverDatabaseDetails` @return [Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 552 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 557 def update!(**args) @charset = args[:charset] if args.key?(:charset) @collation = args[:collation] if args.key?(:collation) @etag = args[:etag] if args.key?(:etag) @instance = args[:instance] if args.key?(:instance) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @project = args[:project] if args.key?(:project) @self_link = args[:self_link] if args.key?(:self_link) @sqlserver_database_details = args[:sqlserver_database_details] if args.key?(:sqlserver_database_details) end