class Google::Apis::ComputeV1::InstancesSetServiceAccountRequest

Attributes

email[RW]

Email address of the service account. Corresponds to the JSON property `email` @return [String]

scopes[RW]

The list of scopes to be made available for this service account. Corresponds to the JSON property `scopes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 15079
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 15084
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @scopes = args[:scopes] if args.key?(:scopes)
end