Class: TencentCloud::Wedata::V20210820::UnboundProjectExecutorResourceRequest

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

Overview

UnboundProjectExecutorResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executorgroupid = nil, projectid = nil, projectidlist = nil, executorresourcepackageids = nil) ⇒ UnboundProjectExecutorResourceRequest

Returns a new instance of UnboundProjectExecutorResourceRequest.



41539
41540
41541
41542
41543
41544
# File 'lib/v20210820/models.rb', line 41539

def initialize(executorgroupid=nil, projectid=nil, projectidlist=nil, executorresourcepackageids=nil)
  @ExecutorGroupId = executorgroupid
  @ProjectId = projectid
  @ProjectIdList = projectidlist
  @ExecutorResourcePackageIds = executorresourcepackageids
end

Instance Attribute Details

#ExecutorGroupIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

    可选: 需要绑定的多个项目id, 若申明将带上ProjectId一起绑定

  • ExecutorResourcePackageIds:

    需要绑定项目的资源包id集合,为空则绑定整个资源组



41537
41538
41539
# File 'lib/v20210820/models.rb', line 41537

def ExecutorGroupId
  @ExecutorGroupId
end

#ExecutorResourcePackageIdsObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

    可选: 需要绑定的多个项目id, 若申明将带上ProjectId一起绑定

  • ExecutorResourcePackageIds:

    需要绑定项目的资源包id集合,为空则绑定整个资源组



41537
41538
41539
# File 'lib/v20210820/models.rb', line 41537

def ExecutorResourcePackageIds
  @ExecutorResourcePackageIds
end

#ProjectIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

    可选: 需要绑定的多个项目id, 若申明将带上ProjectId一起绑定

  • ExecutorResourcePackageIds:

    需要绑定项目的资源包id集合,为空则绑定整个资源组



41537
41538
41539
# File 'lib/v20210820/models.rb', line 41537

def ProjectId
  @ProjectId
end

#ProjectIdListObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

    可选: 需要绑定的多个项目id, 若申明将带上ProjectId一起绑定

  • ExecutorResourcePackageIds:

    需要绑定项目的资源包id集合,为空则绑定整个资源组



41537
41538
41539
# File 'lib/v20210820/models.rb', line 41537

def ProjectIdList
  @ProjectIdList
end

Instance Method Details

#deserialize(params) ⇒ Object



41546
41547
41548
41549
41550
41551
# File 'lib/v20210820/models.rb', line 41546

def deserialize(params)
  @ExecutorGroupId = params['ExecutorGroupId']
  @ProjectId = params['ProjectId']
  @ProjectIdList = params['ProjectIdList']
  @ExecutorResourcePackageIds = params['ExecutorResourcePackageIds']
end