Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientPermissions
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientPermissions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Configuration related to restricting a user's ability to affect their account.
Instance Attribute Summary collapse
-
#disabled_user_deletion ⇒ Boolean
(also: #disabled_user_deletion?)
When true, end users cannot delete their account on the associated project through any of our API methods Corresponds to the JSON property
disabledUserDeletion
. -
#disabled_user_signup ⇒ Boolean
(also: #disabled_user_signup?)
When true, end users cannot sign up for a new account on the associated project through any of our API methods Corresponds to the JSON property
disabledUserSignup
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ClientPermissions
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2ClientPermissions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ClientPermissions
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2ClientPermissions.
210 211 212 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled_user_deletion ⇒ Boolean Also known as: disabled_user_deletion?
When true, end users cannot delete their account on the associated project
through any of our API methods
Corresponds to the JSON property disabledUserDeletion
200 201 202 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 200 def disabled_user_deletion @disabled_user_deletion end |
#disabled_user_signup ⇒ Boolean Also known as: disabled_user_signup?
When true, end users cannot sign up for a new account on the associated
project through any of our API methods
Corresponds to the JSON property disabledUserSignup
207 208 209 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 207 def disabled_user_signup @disabled_user_signup end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
215 216 217 218 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 215 def update!(**args) @disabled_user_deletion = args[:disabled_user_deletion] if args.key?(:disabled_user_deletion) @disabled_user_signup = args[:disabled_user_signup] if args.key?(:disabled_user_signup) end |