class Google::Apis::LifesciencesV2beta::ServiceAccount
Carries information about a Google
Cloud service account.
Attributes
email[RW]
Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. Corresponds to the JSON property `email` @return [String]
scopes[RW]
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default. Corresponds to the JSON property `scopes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/lifesciences_v2beta/classes.rb, line 1167 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/lifesciences_v2beta/classes.rb, line 1172 def update!(**args) @email = args[:email] if args.key?(:email) @scopes = args[:scopes] if args.key?(:scopes) end