Class: Google::Apis::IamV1::Saml

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

Represents an SAML 2.0 identity provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Saml

Returns a new instance of Saml.



1783
1784
1785
# File 'lib/google/apis/iam_v1/classes.rb', line 1783

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

Instance Attribute Details

#idp_metadata_xmlString

Required. SAML Identity provider configuration metadata xml doc. The xml document should comply with SAML 2.0 specification. The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non- expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 15 years in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at lease one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata Corresponds to the JSON property idpMetadataXml

Returns:

  • (String)


1781
1782
1783
# File 'lib/google/apis/iam_v1/classes.rb', line 1781

def 
  @idp_metadata_xml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1788
1789
1790
# File 'lib/google/apis/iam_v1/classes.rb', line 1788

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