Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig

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

A pair of SAML RP-IDP configurations when the project acts as the relying party.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.



680
681
682
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 680

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

Instance Attribute Details

#display_nameString

The config's display name set by developers. Corresponds to the JSON property displayName

Returns:

  • (String)


653
654
655
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 653

def display_name
  @display_name
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)


658
659
660
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 658

def enabled
  @enabled
end

#idp_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2IdpConfig

The SAML IdP (Identity Provider) configuration when the project acts as the relying party. Corresponds to the JSON property idpConfig



665
666
667
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 665

def idp_config
  @idp_config
end

#nameString

The name of the InboundSamlConfig resource, for example: 'projects/my-awesome- project/inboundSamlConfigs/my-config-id'. Ignored during create requests. Corresponds to the JSON property name

Returns:

  • (String)


671
672
673
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 671

def name
  @name
end

#sp_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SpConfig

The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Corresponds to the JSON property spConfig



678
679
680
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 678

def sp_config
  @sp_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



685
686
687
688
689
690
691
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 685

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