class Google::Apis::SqladminV1beta4::Database
A database resource inside a Cloud SQL instance.
Attributes
The MySQL charset value. Corresponds to the JSON property `charset` @return [String]
The MySQL collation value. Corresponds to the JSON property `collation` @return [String]
HTTP 1.1 Entity tag for the resource. 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]
Public Class Methods
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 322 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 327 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) end