Class: Google::Apis::DataprocV1::SecurityConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

Security related configuration, including encryption, Kerberos, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityConfig

Returns a new instance of SecurityConfig.



4886
4887
4888
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4886

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#identity_configGoogle::Apis::DataprocV1::IdentityConfig

Identity related configuration, including service account based secure multi- tenancy user mappings. Corresponds to the JSON property identityConfig



4879
4880
4881
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4879

def identity_config
  @identity_config
end

#kerberos_configGoogle::Apis::DataprocV1::KerberosConfig

Specifies Kerberos related configuration. Corresponds to the JSON property kerberosConfig



4884
4885
4886
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4884

def kerberos_config
  @kerberos_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4891
4892
4893
4894
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4891

def update!(**args)
  @identity_config = args[:identity_config] if args.key?(:identity_config)
  @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
end