class Google::Apis::ContainerV1beta1::ServiceAccount
A Compute Engine service account.
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 generated/google/apis/container_v1beta1/classes.rb, line 454 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/container_v1beta1/classes.rb, line 459 def update!(**args) @email = args[:email] unless args[:email].nil? @scopes = args[:scopes] unless args[:scopes].nil? end