class Google::Apis::ManagerV1beta2::ServiceAccount

A Compute Engine service account, identical to the Compute Engine resource.

Attributes

email[RW]

Service account email address. Corresponds to the JSON property `email` @return [String]

scopes[RW]

List of OAuth2 scopes to obtain for the service account. Corresponds to the JSON property `scopes` @return [Array<String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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