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.



2922
2923
2924
# File 'lib/google/apis/firestore_v1/classes.rb', line 2922

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)


2920
2921
2922
# File 'lib/google/apis/firestore_v1/classes.rb', line 2920

def principal
  @principal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2927
2928
2929
# File 'lib/google/apis/firestore_v1/classes.rb', line 2927

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