Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Permissions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Permissions

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Permissions.



1145
1146
1147
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1145

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disabled_user_deletionBoolean 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

Returns:

  • (Boolean)


1135
1136
1137
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1135

def disabled_user_deletion
  @disabled_user_deletion
end

#disabled_user_signupBoolean 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

Returns:

  • (Boolean)


1142
1143
1144
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1142

def 
  @disabled_user_signup
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1150
1151
1152
1153
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1150

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