Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount
- 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
-
#email ⇒ String
Email address of the service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount
constructor
A new instance of GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#email ⇒ String
Email address of the service account.
Corresponds to the JSON property email
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 |