Class: TencentCloud::Tse::V20201207::ModifyCloudNativeAPIGatewayCertificateRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20201207/models.rb

Overview

ModifyCloudNativeAPIGatewayCertificate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, id = nil, name = nil, key = nil, crt = nil, binddomains = nil, certid = nil, certsource = nil) ⇒ ModifyCloudNativeAPIGatewayCertificateRequest

Returns a new instance of ModifyCloudNativeAPIGatewayCertificateRequest.



9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
# File 'lib/v20201207/models.rb', line 9674

def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
  @GatewayId = gatewayid
  @Id = id
  @Name = name
  @Key = key
  @Crt = crt
  @BindDomains = binddomains
  @CertId = certid
  @CertSource = certsource
end

Instance Attribute Details

#BindDomainsObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def BindDomains
  @BindDomains
end

#CertIdObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def CertId
  @CertId
end

#CertSourceObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def CertSource
  @CertSource
end

#CrtObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def Crt
  @Crt
end

#GatewayIdObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def GatewayId
  @GatewayId
end

#IdObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def Id
  @Id
end

#KeyObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def Key
  @Key
end

#NameObject

  • ssl (ssl平台证书),默认值

  • native (kong自定义证书)

Parameters:

  • GatewayId:

    网关ID

  • Id:

    证书id

  • Name:

    证书名称,即将废弃

  • Key:

    证书私钥,CertSource为native时必填。

  • Crt:

    证书pem格式,CertSource为native时必填。

  • BindDomains:

    绑定的域名,即将废弃

  • CertId:

    ssl平台证书 Id,CertSource为ssl时必填。

  • CertSource:

    证书来源



9667
9668
9669
# File 'lib/v20201207/models.rb', line 9667

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
# File 'lib/v20201207/models.rb', line 9685

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Id = params['Id']
  @Name = params['Name']
  @Key = params['Key']
  @Crt = params['Crt']
  @BindDomains = params['BindDomains']
  @CertId = params['CertId']
  @CertSource = params['CertSource']
end