Class: Google::Apis::BeyondcorpV1alpha::ServiceAccount
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::ServiceAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
ServiceAccount represents a GCP service account.
Instance Attribute Summary collapse
-
#email ⇒ String
Email address of the service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAccount
constructor
A new instance of ServiceAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceAccount
Returns a new instance of ServiceAccount.
3943 3944 3945 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Email address of the service account.
Corresponds to the JSON property email
3941 3942 3943 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3941 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3948 3949 3950 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3948 def update!(**args) @email = args[:email] if args.key?(:email) end |