Class: TencentCloud::Gse::V20191112::FleetRelatedResource

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

Overview

与服务器舰队关联的资源,如别名和队列

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, resourceid = nil, resourceregion = nil) ⇒ FleetRelatedResource

Returns a new instance of FleetRelatedResource.



3126
3127
3128
3129
3130
# File 'lib/v20191112/models.rb', line 3126

def initialize(type=nil, resourceid=nil, resourceregion=nil)
  @Type = type
  @ResourceId = resourceid
  @ResourceRegion = resourceregion
end

Instance Attribute Details

#ResourceIdObject

  • ALIAS:别名

  • QUEUE:队列

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    资源类型。

  • ResourceId:

    资源ID,目前仅支持别名ID和队列名称

  • ResourceRegion:

    资源所在区域,如ap-shanghai、na-siliconvalley等



3124
3125
3126
# File 'lib/v20191112/models.rb', line 3124

def ResourceId
  @ResourceId
end

#ResourceRegionObject

  • ALIAS:别名

  • QUEUE:队列

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    资源类型。

  • ResourceId:

    资源ID,目前仅支持别名ID和队列名称

  • ResourceRegion:

    资源所在区域,如ap-shanghai、na-siliconvalley等



3124
3125
3126
# File 'lib/v20191112/models.rb', line 3124

def ResourceRegion
  @ResourceRegion
end

#TypeObject

  • ALIAS:别名

  • QUEUE:队列

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    资源类型。

  • ResourceId:

    资源ID,目前仅支持别名ID和队列名称

  • ResourceRegion:

    资源所在区域,如ap-shanghai、na-siliconvalley等



3124
3125
3126
# File 'lib/v20191112/models.rb', line 3124

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3132
3133
3134
3135
3136
# File 'lib/v20191112/models.rb', line 3132

def deserialize(params)
  @Type = params['Type']
  @ResourceId = params['ResourceId']
  @ResourceRegion = params['ResourceRegion']
end