Class: Google::Apis::BeyondcorpV1alpha::PrincipalInfo
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::PrincipalInfo
- 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
PrincipalInfo represents an Identity oneof.
Instance Attribute Summary collapse
-
#service_account ⇒ Google::Apis::BeyondcorpV1alpha::ServiceAccount
ServiceAccount represents a GCP service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrincipalInfo
constructor
A new instance of PrincipalInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrincipalInfo
Returns a new instance of PrincipalInfo.
3773 3774 3775 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ Google::Apis::BeyondcorpV1alpha::ServiceAccount
ServiceAccount represents a GCP service account.
Corresponds to the JSON property serviceAccount
3771 3772 3773 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3771 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3778 3779 3780 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3778 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) end |