Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ResourceIdentity

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

Overview

Describes a Resource Identity principal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1ResourceIdentity

Returns a new instance of GoogleFirestoreAdminV1ResourceIdentity.



2762
2763
2764
# File 'lib/google/apis/firestore_v1/classes.rb', line 2762

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

Instance Attribute Details

#principalString

Output only. Principal identifier string. See: https://cloud.google.com/iam/ docs/principal-identifiers Corresponds to the JSON property principal

Returns:

  • (String)


2760
2761
2762
# File 'lib/google/apis/firestore_v1/classes.rb', line 2760

def principal
  @principal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2767
2768
2769
# File 'lib/google/apis/firestore_v1/classes.rb', line 2767

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