Class: TencentCloud::Cam::V20190116::CreatePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::CreatePolicyRequest
- Defined in:
- lib/v20190116/models.rb
Overview
CreatePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyname = nil, policydocument = nil, description = nil) ⇒ CreatePolicyRequest
constructor
A new instance of CreatePolicyRequest.
Constructor Details
#initialize(policyname = nil, policydocument = nil, description = nil) ⇒ CreatePolicyRequest
Returns a new instance of CreatePolicyRequest.
866 867 868 869 870 |
# File 'lib/v20190116/models.rb', line 866 def initialize(policyname=nil, policydocument=nil, description=nil) @PolicyName = policyname @PolicyDocument = policydocument @Description = description end |
Instance Attribute Details
#Description ⇒ Object
864 865 866 |
# File 'lib/v20190116/models.rb', line 864 def Description @Description end |
#PolicyDocument ⇒ Object
864 865 866 |
# File 'lib/v20190116/models.rb', line 864 def PolicyDocument @PolicyDocument end |
#PolicyName ⇒ Object
864 865 866 |
# File 'lib/v20190116/models.rb', line 864 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
872 873 874 875 876 |
# File 'lib/v20190116/models.rb', line 872 def deserialize(params) @PolicyName = params['PolicyName'] @PolicyDocument = params['PolicyDocument'] @Description = params['Description'] end |