Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentity

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

Overview

The identity to run the datascan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ExecutionIdentity

Returns a new instance of GoogleCloudDataplexV1ExecutionIdentity.



6774
6775
6776
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6774

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

Instance Attribute Details

#dataplex_service_agentGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentityDataplexServiceAgent

The Dataplex service agent associated with the user's project. Corresponds to the JSON property dataplexServiceAgent



6762
6763
6764
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6762

def dataplex_service_agent
  @dataplex_service_agent
end

#service_accountGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentityServiceAccount

The service account Corresponds to the JSON property serviceAccount



6767
6768
6769
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6767

def 
  @service_account
end

#user_credentialGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentityUserCredential

The credential of the calling user. Corresponds to the JSON property userCredential



6772
6773
6774
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6772

def user_credential
  @user_credential
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6779
6780
6781
6782
6783
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6779

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