Class: Google::Apis::StoragetransferV1::GoogleServiceAccount

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

Overview

Google service account

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleServiceAccount

Returns a new instance of GoogleServiceAccount.



240
241
242
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 240

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

Instance Attribute Details

#account_emailString

Email address of the service account. Corresponds to the JSON property accountEmail

Returns:

  • (String)


238
239
240
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 238

def 
  @account_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



245
246
247
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 245

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