Class: TencentCloud::Iecp::V20210914::SecretItem

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

Overview

Secret信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, namespace = nil, createtime = nil, secrettype = nil) ⇒ SecretItem

Returns a new instance of SecretItem.



6375
6376
6377
6378
6379
6380
# File 'lib/v20210914/models.rb', line 6375

def initialize(name=nil, namespace=nil, createtime=nil, secrettype=nil)
  @Name = name
  @Namespace = namespace
  @CreateTime = createtime
  @SecretType = secrettype
end

Instance Attribute Details

#CreateTimeObject

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

Parameters:

  • Name:

    Secret名

  • Namespace:

    命名空间

  • CreateTime:

    创建时间

  • SecretType:

    Secret类型



6373
6374
6375
# File 'lib/v20210914/models.rb', line 6373

def CreateTime
  @CreateTime
end

#NameObject

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

Parameters:

  • Name:

    Secret名

  • Namespace:

    命名空间

  • CreateTime:

    创建时间

  • SecretType:

    Secret类型



6373
6374
6375
# File 'lib/v20210914/models.rb', line 6373

def Name
  @Name
end

#NamespaceObject

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

Parameters:

  • Name:

    Secret名

  • Namespace:

    命名空间

  • CreateTime:

    创建时间

  • SecretType:

    Secret类型



6373
6374
6375
# File 'lib/v20210914/models.rb', line 6373

def Namespace
  @Namespace
end

#SecretTypeObject

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

Parameters:

  • Name:

    Secret名

  • Namespace:

    命名空间

  • CreateTime:

    创建时间

  • SecretType:

    Secret类型



6373
6374
6375
# File 'lib/v20210914/models.rb', line 6373

def SecretType
  @SecretType
end

Instance Method Details

#deserialize(params) ⇒ Object



6382
6383
6384
6385
6386
6387
# File 'lib/v20210914/models.rb', line 6382

def deserialize(params)
  @Name = params['Name']
  @Namespace = params['Namespace']
  @CreateTime = params['CreateTime']
  @SecretType = params['SecretType']
end