Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo

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

PrincipalInfo represents an Identity oneof.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo.



1210
1211
1212
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1210

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

Instance Attribute Details

#service_accountGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount

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



1208
1209
1210
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1208

def 
  @service_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1215
1216
1217
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1215

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