Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb

Overview

ServiceAccount represents a GCP service account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount.



928
929
930
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 928

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


926
927
928
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 926

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



933
934
935
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 933

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