Class: Google::Apis::DataprocV1::AuthenticationConfig

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

Configuration for using injectable credentials or service account

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthenticationConfig

Returns a new instance of AuthenticationConfig.



75
76
77
# File 'lib/google/apis/dataproc_v1/classes.rb', line 75

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

Instance Attribute Details

#authentication_typeString

Authentication type for session execution. Corresponds to the JSON property authenticationType

Returns:

  • (String)


68
69
70
# File 'lib/google/apis/dataproc_v1/classes.rb', line 68

def authentication_type
  @authentication_type
end

#injectable_credentials_configGoogle::Apis::DataprocV1::InjectableCredentialsConfig

Specific injectable credentials authentication parameters Corresponds to the JSON property injectableCredentialsConfig



73
74
75
# File 'lib/google/apis/dataproc_v1/classes.rb', line 73

def injectable_credentials_config
  @injectable_credentials_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



80
81
82
83
# File 'lib/google/apis/dataproc_v1/classes.rb', line 80

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