Class: TencentCloud::Tcr::V20190924::DescribeNamespacesRequest

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

Overview

DescribeNamespaces请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, namespacename = nil, limit = nil, offset = nil, all = nil, filters = nil, kmssignpolicy = nil) ⇒ DescribeNamespacesRequest

Returns a new instance of DescribeNamespacesRequest.



3497
3498
3499
3500
3501
3502
3503
3504
3505
# File 'lib/v20190924/models.rb', line 3497

def initialize(registryid=nil, namespacename=nil, limit=nil, offset=nil, all=nil, filters=nil, kmssignpolicy=nil)
  @RegistryId = registryid
  @NamespaceName = namespacename
  @Limit = limit
  @Offset = offset
  @All = all
  @Filters = filters
  @KmsSignPolicy = kmssignpolicy
end

Instance Attribute Details

#All ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def All
  @All
end

#Filters ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def Filters
  @Filters
end

#KmsSignPolicy ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def KmsSignPolicy
  @KmsSignPolicy
end

#Limit ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def Limit
  @Limit
end

#NamespaceName ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def NamespaceName
  @NamespaceName
end

#Offset ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def Offset
  @Offset
end

#RegistryId ⇒ Object

  • 按照【标签】过滤 Name: Tags Value: tagKey:tagVal

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认查询所有命名空间

  • Limit: —

    每页个数

  • Offset: —

    页面偏移(第几页)

  • All: —

    列出所有命名空间

  • Filters: —

    过滤条件

  • KmsSignPolicy: —

    仅查询启用了 KMS 镜像签名的空间



3495
3496
3497
# File 'lib/v20190924/models.rb', line 3495

def RegistryId
  @RegistryId
end

Instance Method Details

#deserialize(params) ⇒ Object



3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
# File 'lib/v20190924/models.rb', line 3507

def deserialize(params)
  @RegistryId = params['RegistryId']
  @NamespaceName = params['NamespaceName']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @All = params['All']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  @KmsSignPolicy = params['KmsSignPolicy']
end