Class: TencentCloud::Wedata::V20210820::BindProjectExecutorResourceRequest

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

Overview

BindProjectExecutorResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BindProjectExecutorResourceRequest.



2698
2699
2700
2701
2702
2703
# File 'lib/v20210820/models.rb', line 2698

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

Instance Attribute Details

#ExecutorGroupIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ExecutorResourcePackageIds:

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

  • ProjectIdList:

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



2696
2697
2698
# File 'lib/v20210820/models.rb', line 2696

def ExecutorGroupId
  @ExecutorGroupId
end

#ExecutorResourcePackageIdsObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ExecutorResourcePackageIds:

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

  • ProjectIdList:

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



2696
2697
2698
# File 'lib/v20210820/models.rb', line 2696

def ExecutorResourcePackageIds
  @ExecutorResourcePackageIds
end

#ProjectIdObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ExecutorResourcePackageIds:

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

  • ProjectIdList:

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



2696
2697
2698
# File 'lib/v20210820/models.rb', line 2696

def ProjectId
  @ProjectId
end

#ProjectIdListObject

Parameters:

  • ExecutorGroupId:

    执行资源组id

  • ProjectId:

    项目id

  • ExecutorResourcePackageIds:

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

  • ProjectIdList:

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



2696
2697
2698
# File 'lib/v20210820/models.rb', line 2696

def ProjectIdList
  @ProjectIdList
end

Instance Method Details

#deserialize(params) ⇒ Object



2705
2706
2707
2708
2709
2710
# File 'lib/v20210820/models.rb', line 2705

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