Class: TencentCloud::Cam::V20190116::UpdatePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::UpdatePolicyRequest
- Defined in:
- lib/v20190116/models.rb
Overview
UpdatePolicy请求参数结构体
Instance Attribute Summary collapse
- #Alias ⇒ Object
- #Description ⇒ Object
- #PolicyDocument ⇒ Object
- #PolicyId ⇒ Object
- #PolicyName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, policyname = nil, description = nil, policydocument = nil, _alias = nil) ⇒ UpdatePolicyRequest
constructor
A new instance of UpdatePolicyRequest.
Constructor Details
#initialize(policyid = nil, policyname = nil, description = nil, policydocument = nil, _alias = nil) ⇒ UpdatePolicyRequest
Returns a new instance of UpdatePolicyRequest.
5074 5075 5076 5077 5078 5079 5080 |
# File 'lib/v20190116/models.rb', line 5074 def initialize(policyid=nil, policyname=nil, description=nil, policydocument=nil, _alias=nil) @PolicyId = policyid @PolicyName = policyname @Description = description @PolicyDocument = policydocument @Alias = _alias end |
Instance Attribute Details
#Alias ⇒ Object
5072 5073 5074 |
# File 'lib/v20190116/models.rb', line 5072 def Alias @Alias end |
#Description ⇒ Object
5072 5073 5074 |
# File 'lib/v20190116/models.rb', line 5072 def Description @Description end |
#PolicyDocument ⇒ Object
5072 5073 5074 |
# File 'lib/v20190116/models.rb', line 5072 def PolicyDocument @PolicyDocument end |
#PolicyId ⇒ Object
5072 5073 5074 |
# File 'lib/v20190116/models.rb', line 5072 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
5072 5073 5074 |
# File 'lib/v20190116/models.rb', line 5072 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
5082 5083 5084 5085 5086 5087 5088 |
# File 'lib/v20190116/models.rb', line 5082 def deserialize(params) @PolicyId = params['PolicyId'] @PolicyName = params['PolicyName'] @Description = params['Description'] @PolicyDocument = params['PolicyDocument'] @Alias = params['Alias'] end |