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.



39552
39553
39554
39555
39556
39557
# File 'lib/v20210820/models.rb', line 39552

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集合,为空则绑定整个资源组



39550
39551
39552
# File 'lib/v20210820/models.rb', line 39550

def ExecutorGroupId
  @ExecutorGroupId
end

#ExecutorResourcePackageIdsObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39550
39551
39552
# File 'lib/v20210820/models.rb', line 39550

def ExecutorResourcePackageIds
  @ExecutorResourcePackageIds
end

#ProjectIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39550
39551
39552
# File 'lib/v20210820/models.rb', line 39550

def ProjectId
  @ProjectId
end

#ProjectIdListObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39550
39551
39552
# File 'lib/v20210820/models.rb', line 39550

def ProjectIdList
  @ProjectIdList
end

Instance Method Details

#deserialize(params) ⇒ Object



39559
39560
39561
39562
39563
39564
# File 'lib/v20210820/models.rb', line 39559

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