class Google::Apis::GenomicsV2alpha1::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/genomics_v2alpha1/classes.rb, line 1084
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_v2alpha1/classes.rb, line 1089
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @scopes = args[:scopes] if args.key?(:scopes)
end