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.



5579
5580
5581
5582
5583
5584
# File 'lib/v20180525/models.rb', line 5579

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。



5577
5578
5579
# File 'lib/v20180525/models.rb', line 5577

def LatestOperationState
  @LatestOperationState
end

#OIDCConfigObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

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

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

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



5577
5578
5579
# File 'lib/v20180525/models.rb', line 5577

def OIDCConfig
  @OIDCConfig
end

#RequestIdObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

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

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

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



5577
5578
5579
# File 'lib/v20180525/models.rb', line 5577

def RequestId
  @RequestId
end

#ServiceAccountsObject

Parameters:

  • ServiceAccounts:

    ServiceAccount认证配置

  • LatestOperationState:

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

  • OIDCConfig:

    OIDC认证配置

  • RequestId:

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



5577
5578
5579
# File 'lib/v20180525/models.rb', line 5577

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
# File 'lib/v20180525/models.rb', line 5586

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