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.



9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
# File 'lib/v20201207/models.rb', line 9692

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

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:

    证书来源



9685
9686
9687
# File 'lib/v20201207/models.rb', line 9685

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
# File 'lib/v20201207/models.rb', line 9703

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