Class: TencentCloud::Cdb::V20170320::ColumnPrivilege

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

列权限信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database = nil, table = nil, column = nil, privileges = nil) ⇒ ColumnPrivilege

Returns a new instance of ColumnPrivilege.



2227
2228
2229
2230
2231
2232
# File 'lib/v20170320/models.rb', line 2227

def initialize(database=nil, table=nil, column=nil, privileges=nil)
  @Database = database
  @Table = table
  @Column = column
  @Privileges = privileges
end

Instance Attribute Details

#ColumnObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



2225
2226
2227
# File 'lib/v20170320/models.rb', line 2225

def Column
  @Column
end

#DatabaseObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



2225
2226
2227
# File 'lib/v20170320/models.rb', line 2225

def Database
  @Database
end

#PrivilegesObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



2225
2226
2227
# File 'lib/v20170320/models.rb', line 2225

def Privileges
  @Privileges
end

#TableObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



2225
2226
2227
# File 'lib/v20170320/models.rb', line 2225

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



2234
2235
2236
2237
2238
2239
# File 'lib/v20170320/models.rb', line 2234

def deserialize(params)
  @Database = params['Database']
  @Table = params['Table']
  @Column = params['Column']
  @Privileges = params['Privileges']
end