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.



6969
6970
6971
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6969

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



6957
6958
6959
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6957

def dataplex_service_agent
  @dataplex_service_agent
end

#service_accountGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentityServiceAccount

The service account Corresponds to the JSON property serviceAccount



6962
6963
6964
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6962

def 
  @service_account
end

#user_credentialGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ExecutionIdentityUserCredential

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



6967
6968
6969
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6967

def user_credential
  @user_credential
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6974
6975
6976
6977
6978
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6974

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