Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Anonymous

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 options related to authenticating an anonymous user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Anonymous

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Anonymous.



35
36
37
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 35

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether anonymous user auth is enabled for the project or not. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


32
33
34
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 32

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40
41
42
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 40

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end