Class: TencentCloud::Cam::V20190116::ListGrantServiceAccessPolicy

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

Overview

用于ListPoliciesGrantingServiceAccess接口的Policy节点

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, policyname = nil, policytype = nil, policydescription = nil) ⇒ ListGrantServiceAccessPolicy

Returns a new instance of ListGrantServiceAccessPolicy.



3469
3470
3471
3472
3473
3474
# File 'lib/v20190116/models.rb', line 3469

def initialize(policyid=nil, policyname=nil, policytype=nil, policydescription=nil)
  @PolicyId = policyid
  @PolicyName = policyname
  @PolicyType = policytype
  @PolicyDescription = policydescription
end

Instance Attribute Details

#PolicyDescriptionObject

Parameters:

  • PolicyId:

    策略ID

  • PolicyName:

    策略名

  • PolicyType:

    策略类型: Custom自定义策略,Presetting预设策略

  • PolicyDescription:

    策略描述



3467
3468
3469
# File 'lib/v20190116/models.rb', line 3467

def PolicyDescription
  @PolicyDescription
end

#PolicyIdObject

Parameters:

  • PolicyId:

    策略ID

  • PolicyName:

    策略名

  • PolicyType:

    策略类型: Custom自定义策略,Presetting预设策略

  • PolicyDescription:

    策略描述



3467
3468
3469
# File 'lib/v20190116/models.rb', line 3467

def PolicyId
  @PolicyId
end

#PolicyNameObject

Parameters:

  • PolicyId:

    策略ID

  • PolicyName:

    策略名

  • PolicyType:

    策略类型: Custom自定义策略,Presetting预设策略

  • PolicyDescription:

    策略描述



3467
3468
3469
# File 'lib/v20190116/models.rb', line 3467

def PolicyName
  @PolicyName
end

#PolicyTypeObject

Parameters:

  • PolicyId:

    策略ID

  • PolicyName:

    策略名

  • PolicyType:

    策略类型: Custom自定义策略,Presetting预设策略

  • PolicyDescription:

    策略描述



3467
3468
3469
# File 'lib/v20190116/models.rb', line 3467

def PolicyType
  @PolicyType
end

Instance Method Details

#deserialize(params) ⇒ Object



3476
3477
3478
3479
3480
3481
# File 'lib/v20190116/models.rb', line 3476

def deserialize(params)
  @PolicyId = params['PolicyId']
  @PolicyName = params['PolicyName']
  @PolicyType = params['PolicyType']
  @PolicyDescription = params['PolicyDescription']
end