Class: TencentCloud::Cme::V20191029::RevokeResourceAuthorizationRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::RevokeResourceAuthorizationRequest
- Defined in:
- lib/v20191029/models.rb
Overview
RevokeResourceAuthorization请求参数结构体
Instance Attribute Summary collapse
-
#Authorizees ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
. -
#Operator ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
. -
#Owner ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
. -
#Permissions ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
. -
#Platform ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
. -
#Resources ⇒ Object
- R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中
- X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。
- C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。
- W:可修改、删除媒资。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(platform = nil, owner = nil, resources = nil, authorizees = nil, permissions = nil, operator = nil) ⇒ RevokeResourceAuthorizationRequest
constructor
A new instance of RevokeResourceAuthorizationRequest.
Constructor Details
#initialize(platform = nil, owner = nil, resources = nil, authorizees = nil, permissions = nil, operator = nil) ⇒ RevokeResourceAuthorizationRequest
Returns a new instance of RevokeResourceAuthorizationRequest.
5321 5322 5323 5324 5325 5326 5327 5328 |
# File 'lib/v20191029/models.rb', line 5321 def initialize(platform=nil, owner=nil, resources=nil, =nil, =nil, operator=nil) @Platform = platform @Owner = owner @Resources = resources @Authorizees = @Permissions = @Operator = operator end |
Instance Attribute Details
#Authorizees ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Authorizees @Authorizees end |
#Operator ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Operator @Operator end |
#Owner ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Owner @Owner end |
#Permissions ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Permissions @Permissions end |
#Platform ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Platform @Platform end |
#Resources ⇒ Object
5319 5320 5321 |
# File 'lib/v20191029/models.rb', line 5319 def Resources @Resources end |
Instance Method Details
#deserialize(params) ⇒ Object
5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 |
# File 'lib/v20191029/models.rb', line 5330 def deserialize(params) @Platform = params['Platform'] unless params['Owner'].nil? @Owner = Entity.new @Owner.deserialize(params['Owner']) end unless params['Resources'].nil? @Resources = [] params['Resources'].each do |i| resource_tmp = Resource.new resource_tmp.deserialize(i) @Resources << resource_tmp end end unless params['Authorizees'].nil? @Authorizees = [] params['Authorizees'].each do |i| entity_tmp = Entity.new entity_tmp.deserialize(i) @Authorizees << entity_tmp end end @Permissions = params['Permissions'] @Operator = params['Operator'] end |