Class: Google::Apis::BeyondcorpV1alpha::ServiceAccount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAccount

Returns a new instance of ServiceAccount.



2856
2857
2858
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2856

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#emailString

Email address of the service account. Corresponds to the JSON property email

Returns:

  • (String)


2854
2855
2856
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2854

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2861
2862
2863
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2861

def update!(**args)
  @email = args[:email] if args.key?(:email)
end