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.



732
733
734
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 732

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)


705
706
707
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 705

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)


710
711
712
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 710

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



717
718
719
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 717

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)


723
724
725
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 723

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



730
731
732
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 730

def sp_config
  @sp_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



737
738
739
740
741
742
743
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 737

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