Class: TencentCloud::Tke::V20180525::ModifyClusterAuthenticationOptionsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterAuthenticationOptionsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterAuthenticationOptions请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, serviceaccounts = nil, oidcconfig = nil) ⇒ ModifyClusterAuthenticationOptionsRequest
constructor
A new instance of ModifyClusterAuthenticationOptionsRequest.
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
#ClusterId ⇒ Object
13905 13906 13907 |
# File 'lib/v20180525/models.rb', line 13905 def ClusterId @ClusterId end |
#OIDCConfig ⇒ Object
13905 13906 13907 |
# File 'lib/v20180525/models.rb', line 13905 def OIDCConfig @OIDCConfig end |
#ServiceAccounts ⇒ Object
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 |