Class: TencentCloud::Tcr::V20190924::ModifyServiceAccountPasswordRequest

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

Overview

ModifyServiceAccountPassword请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, name = nil, random = nil, password = nil) ⇒ ModifyServiceAccountPasswordRequest

Returns a new instance of ModifyServiceAccountPasswordRequest.



5646
5647
5648
5649
5650
5651
# File 'lib/v20190924/models.rb', line 5646

def initialize(registryid=nil, name=nil, random=nil, password=nil)
  @RegistryId = registryid
  @Name = name
  @Random = random
  @Password = password
end

Instance Attribute Details

#Name ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • Name: —

    服务级账号名

  • Random: —

    是否随机生成密码

  • Password: —

    服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字



5644
5645
5646
# File 'lib/v20190924/models.rb', line 5644

def Name
  @Name
end

#Password ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • Name: —

    服务级账号名

  • Random: —

    是否随机生成密码

  • Password: —

    服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字



5644
5645
5646
# File 'lib/v20190924/models.rb', line 5644

def Password
  @Password
end

#Random ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • Name: —

    服务级账号名

  • Random: —

    是否随机生成密码

  • Password: —

    服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字



5644
5645
5646
# File 'lib/v20190924/models.rb', line 5644

def Random
  @Random
end

#RegistryId ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • Name: —

    服务级账号名

  • Random: —

    是否随机生成密码

  • Password: —

    服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字



5644
5645
5646
# File 'lib/v20190924/models.rb', line 5644

def RegistryId
  @RegistryId
end

Instance Method Details

#deserialize(params) ⇒ Object



5653
5654
5655
5656
5657
5658
# File 'lib/v20190924/models.rb', line 5653

def deserialize(params)
  @RegistryId = params['RegistryId']
  @Name = params['Name']
  @Random = params['Random']
  @Password = params['Password']
end