Class: TencentCloud::Tke::V20180525::ModifyClusterAuthenticationOptionsRequest

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

Overview

ModifyClusterAuthenticationOptions请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, serviceaccounts = nil, oidcconfig = nil) ⇒ ModifyClusterAuthenticationOptionsRequest

Returns a new instance of ModifyClusterAuthenticationOptionsRequest.



14031
14032
14033
14034
14035
# File 'lib/v20180525/models.rb', line 14031

def initialize(clusterid=nil, serviceaccounts=nil, oidcconfig=nil)
  @ClusterId = clusterid
  @ServiceAccounts = serviceaccounts
  @OIDCConfig = oidcconfig
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



14029
14030
14031
# File 'lib/v20180525/models.rb', line 14029

def ClusterId
  @ClusterId
end

#OIDCConfigObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



14029
14030
14031
# File 'lib/v20180525/models.rb', line 14029

def OIDCConfig
  @OIDCConfig
end

#ServiceAccountsObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



14029
14030
14031
# File 'lib/v20180525/models.rb', line 14029

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
# File 'lib/v20180525/models.rb', line 14037

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