class Google::Apis::GenomicsV1alpha2::ServiceAccount
A Google
Cloud Service Account.
Attributes
email[RW]
Email address of the service account. Defaults to `default`, which uses the compute service account associated with the project. Corresponds to the JSON property `email` @return [String]
scopes[RW]
List of scopes to be enabled for this service account on the VM. The following scopes are automatically included: * www.googleapis.com/auth/compute * www.googleapis.com/auth/devstorage.full_control * www. googleapis.com/auth/genomics * www.googleapis.com/auth/logging.write * www.googleapis.com/auth/monitoring.write Corresponds to the JSON property `scopes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 1171 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 1176 def update!(**args) @email = args[:email] if args.key?(:email) @scopes = args[:scopes] if args.key?(:scopes) end