Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ResourceIdentity
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ResourceIdentity
- 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
-
#principal ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1ResourceIdentity
constructor
A new instance of GoogleFirestoreAdminV1ResourceIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#principal ⇒ String
Output only. Principal identifier string. See: https://cloud.google.com/iam/
docs/principal-identifiers
Corresponds to the JSON property principal
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 |