class Google::Apis::DatastreamV1alpha1::MysqlProfile

MySQL database profile.

Attributes

hostname[RW]

Required. Hostname for the MySQL connection. Corresponds to the JSON property ‘hostname` @return [String]

password[RW]

Required. Input only. Password for the MySQL connection. Corresponds to the JSON property ‘password` @return [String]

port[RW]

Port for the MySQL connection, default value is 3306. Corresponds to the JSON property ‘port` @return [Fixnum]

ssl_config[RW]

MySQL SSL configuration information. Corresponds to the JSON property ‘sslConfig` @return [Google::Apis::DatastreamV1alpha1::MysqlSslConfig]

username[RW]

Required. Username for the MySQL connection. Corresponds to the JSON property ‘username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 982
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastream_v1alpha1/classes.rb, line 987
def update!(**args)
  @hostname = args[:hostname] if args.key?(:hostname)
  @password = args[:password] if args.key?(:password)
  @port = args[:port] if args.key?(:port)
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
  @username = args[:username] if args.key?(:username)
end