Class: TencentCloud::Cloudaudit::V20190319::ListCosEnableRegionResponse

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

Overview

ListCosEnableRegion返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enableregions = nil, requestid = nil) ⇒ ListCosEnableRegionResponse

Returns a new instance of ListCosEnableRegionResponse.



882
883
884
885
# File 'lib/v20190319/models.rb', line 882

def initialize(enableregions=nil, requestid=nil)
  @EnableRegions = enableregions
  @RequestId = requestid
end

Instance Attribute Details

#EnableRegionsObject

Parameters:

  • EnableRegions:

    操作审计支持的cos可用区

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



880
881
882
# File 'lib/v20190319/models.rb', line 880

def EnableRegions
  @EnableRegions
end

#RequestIdObject

Parameters:

  • EnableRegions:

    操作审计支持的cos可用区

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



880
881
882
# File 'lib/v20190319/models.rb', line 880

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



887
888
889
890
891
892
893
894
895
896
897
# File 'lib/v20190319/models.rb', line 887

def deserialize(params)
  unless params['EnableRegions'].nil?
    @EnableRegions = []
    params['EnableRegions'].each do |i|
      cosregioninfo_tmp = CosRegionInfo.new
      cosregioninfo_tmp.deserialize(i)
      @EnableRegions << cosregioninfo_tmp
    end
  end
  @RequestId = params['RequestId']
end