class Google::Apis::TpuV2alpha1::ServiceAccount
A service account.
Attributes
email[RW]
Email address of the service account. If empty, default Compute service account will be used. Corresponds to the JSON property ‘email` @return [String]
scope[RW]
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed. Corresponds to the JSON property ‘scope` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/tpu_v2alpha1/classes.rb, line 862 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/tpu_v2alpha1/classes.rb, line 867 def update!(**args) @email = args[:email] if args.key?(:email) @scope = args[:scope] if args.key?(:scope) end