Class: TencentCloud::Cam::V20190116::CreateServiceLinkedRoleRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::CreateServiceLinkedRoleRequest
- Defined in:
- lib/v20190116/models.rb
Overview
CreateServiceLinkedRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(qcsservicename = nil, customsuffix = nil, description = nil, tags = nil) ⇒ CreateServiceLinkedRoleRequest
constructor
A new instance of CreateServiceLinkedRoleRequest.
Constructor Details
#initialize(qcsservicename = nil, customsuffix = nil, description = nil, tags = nil) ⇒ CreateServiceLinkedRoleRequest
Returns a new instance of CreateServiceLinkedRoleRequest.
1066 1067 1068 1069 1070 1071 |
# File 'lib/v20190116/models.rb', line 1066 def initialize(qcsservicename=nil, customsuffix=nil, description=nil, =nil) @QCSServiceName = qcsservicename @CustomSuffix = customsuffix @Description = description @Tags = end |
Instance Attribute Details
#CustomSuffix ⇒ Object
1064 1065 1066 |
# File 'lib/v20190116/models.rb', line 1064 def CustomSuffix @CustomSuffix end |
#Description ⇒ Object
1064 1065 1066 |
# File 'lib/v20190116/models.rb', line 1064 def Description @Description end |
#QCSServiceName ⇒ Object
1064 1065 1066 |
# File 'lib/v20190116/models.rb', line 1064 def QCSServiceName @QCSServiceName end |
#Tags ⇒ Object
1064 1065 1066 |
# File 'lib/v20190116/models.rb', line 1064 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 |
# File 'lib/v20190116/models.rb', line 1073 def deserialize(params) @QCSServiceName = params['QCSServiceName'] @CustomSuffix = params['CustomSuffix'] @Description = params['Description'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| = RoleTags.new .deserialize(i) @Tags << end end end |