Class: TencentCloud::Tke::V20180525::DescribeClusterAuthenticationOptionsResponse

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

Overview

DescribeClusterAuthenticationOptions返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(serviceaccounts = nil, latestoperationstate = nil, oidcconfig = nil, requestid = nil) ⇒ DescribeClusterAuthenticationOptionsResponse

Returns a new instance of DescribeClusterAuthenticationOptionsResponse.



5503
5504
5505
5506
5507
5508
# File 'lib/v20180525/models.rb', line 5503

def initialize(serviceaccounts=nil, latestoperationstate=nil, oidcconfig=nil, requestid=nil)
  @ServiceAccounts = serviceaccounts
  @LatestOperationState = latestoperationstate
  @OIDCConfig = oidcconfig
  @RequestId = requestid
end

Instance Attribute Details

#LatestOperationStateObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

    最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5501
5502
5503
# File 'lib/v20180525/models.rb', line 5501

def LatestOperationState
  @LatestOperationState
end

#OIDCConfigObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

    最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5501
5502
5503
# File 'lib/v20180525/models.rb', line 5501

def OIDCConfig
  @OIDCConfig
end

#RequestIdObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

    最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5501
5502
5503
# File 'lib/v20180525/models.rb', line 5501

def RequestId
  @RequestId
end

#ServiceAccountsObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

    最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5501
5502
5503
# File 'lib/v20180525/models.rb', line 5501

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
# File 'lib/v20180525/models.rb', line 5510

def deserialize(params)
  unless params['ServiceAccounts'].nil?
    @ServiceAccounts = ServiceAccountAuthenticationOptions.new
    @ServiceAccounts.deserialize(params['ServiceAccounts'])
  end
  @LatestOperationState = params['LatestOperationState']
  unless params['OIDCConfig'].nil?
    @OIDCConfig = OIDCConfigAuthenticationOptions.new
    @OIDCConfig.deserialize(params['OIDCConfig'])
  end
  @RequestId = params['RequestId']
end