Class: Google::Apis::StoragetransferV1::GoogleServiceAccount
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::GoogleServiceAccount
- 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
-
#account_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleServiceAccount
constructor
A new instance of GoogleServiceAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleServiceAccount
Returns a new instance of GoogleServiceAccount
236 237 238 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_email ⇒ String
Required.
Corresponds to the JSON property accountEmail
234 235 236 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 234 def account_email @account_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
241 242 243 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 241 def update!(**args) @account_email = args[:account_email] if args.key?(:account_email) end |