Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1UserCreds
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1UserCreds
- 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
A Cloud Firestore User Creds.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#resource_identity ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ResourceIdentity
Describes a Resource Identity principal.
-
#secure_password ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1UserCreds
constructor
A new instance of GoogleFirestoreAdminV1UserCreds.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1UserCreds
Returns a new instance of GoogleFirestoreAdminV1UserCreds.
3396 3397 3398 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the user creds were created.
Corresponds to the JSON property createTime
3366 3367 3368 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3366 def create_time @create_time end |
#name ⇒ String
Identifier. The resource name of the UserCreds. Format: projects/project/
databases/database/userCreds/user_creds`
Corresponds to the JSON propertyname`
3372 3373 3374 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3372 def name @name end |
#resource_identity ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ResourceIdentity
Describes a Resource Identity principal.
Corresponds to the JSON property resourceIdentity
3377 3378 3379 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3377 def resource_identity @resource_identity end |
#secure_password ⇒ String
Output only. The plaintext server-generated password for the user creds. Only
populated in responses for CreateUserCreds and ResetUserPassword.
Corresponds to the JSON property securePassword
3383 3384 3385 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3383 def secure_password @secure_password end |
#state ⇒ String
Output only. Whether the user creds are enabled or disabled. Defaults to
ENABLED on creation.
Corresponds to the JSON property state
3389 3390 3391 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3389 def state @state end |
#update_time ⇒ String
Output only. The time the user creds were last updated.
Corresponds to the JSON property updateTime
3394 3395 3396 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3394 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3401 3402 3403 3404 3405 3406 3407 3408 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3401 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @resource_identity = args[:resource_identity] if args.key?(:resource_identity) @secure_password = args[:secure_password] if args.key?(:secure_password) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |