Class: Google::Apis::BeyondcorpV1alpha::PrincipalInfo

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

PrincipalInfo represents an Identity oneof.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrincipalInfo

Returns a new instance of PrincipalInfo.



3550
3551
3552
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3550

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

Instance Attribute Details

#service_accountGoogle::Apis::BeyondcorpV1alpha::ServiceAccount

ServiceAccount represents a GCP service account. Corresponds to the JSON property serviceAccount



3548
3549
3550
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3548

def 
  @service_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3555
3556
3557
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3555

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