Class: TencentCloud::Tcr::V20190924::DescribeServiceAccountsRequest

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

Overview

DescribeServiceAccounts请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, all = nil, embedpermission = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeServiceAccountsRequest

Returns a new instance of DescribeServiceAccountsRequest.



4099
4100
4101
4102
4103
4104
4105
4106
# File 'lib/v20190924/models.rb', line 4099

def initialize(registryid=nil, all=nil, embedpermission=nil, filters=nil, offset=nil, limit=nil)
  @RegistryId = registryid
  @All = all
  @EmbedPermission = embedpermission
  @Filters = filters
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#All ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def All
  @All
end

#EmbedPermission ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def EmbedPermission
  @EmbedPermission
end

#Filters ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def Filters
  @Filters
end

#Limit ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def Limit
  @Limit
end

#Offset ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def Offset
  @Offset
end

#RegistryId ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • All: —

    列出所有服务级账号

  • EmbedPermission: —

    是否填充权限信息

  • Filters: —

    过滤条件,key 目前只支持ServiceAccountName

  • Offset: —

    偏移量,默认0

  • Limit: —

    最大输出条数,默认20,最大为100(超出最大值,调整到最大值)



4097
4098
4099
# File 'lib/v20190924/models.rb', line 4097

def RegistryId
  @RegistryId
end

Instance Method Details

#deserialize(params) ⇒ Object



4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
# File 'lib/v20190924/models.rb', line 4108

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