Class: TencentCloud::Ckafka::V20190819::MongoDBParam

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

Overview

MongoDB类型入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database = nil, collection = nil, copyexisting = nil, resource = nil, ip = nil, port = nil, username = nil, password = nil, listeningevent = nil, readpreference = nil, pipeline = nil, selfbuilt = nil) ⇒ MongoDBParam

Returns a new instance of MongoDBParam.



9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
# File 'lib/v20190819/models.rb', line 9847

def initialize(database=nil, collection=nil, copyexisting=nil, resource=nil, ip=nil, port=nil, username=nil, password=nil, listeningevent=nil, readpreference=nil, pipeline=nil, selfbuilt=nil)
  @Database = database
  @Collection = collection
  @CopyExisting = copyexisting
  @Resource = resource
  @Ip = ip
  @Port = port
  @UserName = username
  @Password = password
  @ListeningEvent = listeningevent
  @ReadPreference = readpreference
  @Pipeline = pipeline
  @SelfBuilt = selfbuilt
end

Instance Attribute Details

#CollectionObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Collection
  @Collection
end

#CopyExistingObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def CopyExisting
  @CopyExisting
end

#DatabaseObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Database
  @Database
end

#IpObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Ip
  @Ip
end

#ListeningEventObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def ListeningEvent
  @ListeningEvent
end

#PasswordObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Password
  @Password
end

#PipelineObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Pipeline
  @Pipeline
end

#PortObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Port
  @Port
end

#ReadPreferenceObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def ReadPreference
  @ReadPreference
end

#ResourceObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def Resource
  @Resource
end

#SelfBuiltObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def SelfBuilt
  @SelfBuilt
end

#UserNameObject

Parameters:

  • Database:

    MongoDB的数据库名称

  • Collection:

    MongoDB的集群

  • CopyExisting:

    是否复制存量数据,默认传参true

  • Resource:

    实例资源

  • Ip:

    MongoDB的连接ip

  • Port:

    MongoDB的连接port

  • UserName:

    MongoDB数据库用户名

  • Password:

    MongoDB数据库密码

  • ListeningEvent:

    监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔

  • ReadPreference:

    主从优先级,默认主节点

  • Pipeline:

    聚合管道

  • SelfBuilt:

    是否为自建集群



9845
9846
9847
# File 'lib/v20190819/models.rb', line 9845

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
# File 'lib/v20190819/models.rb', line 9862

def deserialize(params)
  @Database = params['Database']
  @Collection = params['Collection']
  @CopyExisting = params['CopyExisting']
  @Resource = params['Resource']
  @Ip = params['Ip']
  @Port = params['Port']
  @UserName = params['UserName']
  @Password = params['Password']
  @ListeningEvent = params['ListeningEvent']
  @ReadPreference = params['ReadPreference']
  @Pipeline = params['Pipeline']
  @SelfBuilt = params['SelfBuilt']
end