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.



79
80
81
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 79

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)


76
77
78
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 76

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 84

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