Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig

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

Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.



353
354
355
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 353

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

Instance Attribute Details

#apple_sign_in_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig

Additional config for SignInWithApple. Corresponds to the JSON property appleSignInConfig



329
330
331
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 329

def 
  @apple_sign_in_config
end

#client_idString

OAuth client ID. Corresponds to the JSON property clientId

Returns:

  • (String)


334
335
336
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 334

def client_id
  @client_id
end

#client_secretString

OAuth client secret. Corresponds to the JSON property clientSecret

Returns:

  • (String)


339
340
341
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 339

def client_secret
  @client_secret
end

#enabledBoolean Also known as: enabled?

True if allows the user to sign in with the provider. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


344
345
346
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 344

def enabled
  @enabled
end

#nameString

The name of the DefaultSupportedIdpConfig resource, for example: "projects/my- awesome-project/defaultSupportedIdpConfigs/google.com" Corresponds to the JSON property name

Returns:

  • (String)


351
352
353
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 351

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
362
363
364
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 358

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