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.
2922 2923 2924 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 2922 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
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 |