Class: TencentCloud::Cam::V20190116::AttachGroupPolicyRequest

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

Overview

AttachGroupPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, attachgroupid = nil) ⇒ AttachGroupPolicyRequest

Returns a new instance of AttachGroupPolicyRequest.



253
254
255
256
# File 'lib/v20190116/models.rb', line 253

def initialize(policyid=nil, attachgroupid=nil)
  @PolicyId = policyid
  @AttachGroupId = attachgroupid
end

Instance Attribute Details

#AttachGroupIdObject

Parameters:

  • PolicyId:

    策略 id

  • AttachGroupId:

    用户组 id



251
252
253
# File 'lib/v20190116/models.rb', line 251

def AttachGroupId
  @AttachGroupId
end

#PolicyIdObject

Parameters:

  • PolicyId:

    策略 id

  • AttachGroupId:

    用户组 id



251
252
253
# File 'lib/v20190116/models.rb', line 251

def PolicyId
  @PolicyId
end

Instance Method Details

#deserialize(params) ⇒ Object



258
259
260
261
# File 'lib/v20190116/models.rb', line 258

def deserialize(params)
  @PolicyId = params['PolicyId']
  @AttachGroupId = params['AttachGroupId']
end