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.



13907
13908
13909
13910
13911
# File 'lib/v20180525/models.rb', line 13907

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认证配置



13905
13906
13907
# File 'lib/v20180525/models.rb', line 13905

def ClusterId
  @ClusterId
end

#OIDCConfigObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



13905
13906
13907
# File 'lib/v20180525/models.rb', line 13905

def OIDCConfig
  @OIDCConfig
end

#ServiceAccountsObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



13905
13906
13907
# File 'lib/v20180525/models.rb', line 13905

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
# File 'lib/v20180525/models.rb', line 13913

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