Class: Google::Apis::DataprocV1::IdentityConfig

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

Identity related configuration, including service account based secure multi- tenancy user mappings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityConfig

Returns a new instance of IdentityConfig.



3466
3467
3468
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3466

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

Instance Attribute Details

#user_service_account_mappingHash<String,String>

Required. Map of user to service account. Corresponds to the JSON property userServiceAccountMapping

Returns:

  • (Hash<String,String>)


3464
3465
3466
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3464

def 
  @user_service_account_mapping
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3471
3472
3473
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3471

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