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.



39924
39925
39926
39927
39928
39929
# File 'lib/v20210820/models.rb', line 39924

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



39922
39923
39924
# File 'lib/v20210820/models.rb', line 39922

def ExecutorGroupId
  @ExecutorGroupId
end

#ExecutorResourcePackageIdsObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39922
39923
39924
# File 'lib/v20210820/models.rb', line 39922

def ExecutorResourcePackageIds
  @ExecutorResourcePackageIds
end

#ProjectIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39922
39923
39924
# File 'lib/v20210820/models.rb', line 39922

def ProjectId
  @ProjectId
end

#ProjectIdListObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ProjectIdList:

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

  • ExecutorResourcePackageIds:

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



39922
39923
39924
# File 'lib/v20210820/models.rb', line 39922

def ProjectIdList
  @ProjectIdList
end

Instance Method Details

#deserialize(params) ⇒ Object



39931
39932
39933
39934
39935
39936
# File 'lib/v20210820/models.rb', line 39931

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