Class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderSaml

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 a SAML identity provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIamAdminV1WorkforcePoolProviderSaml

Returns a new instance of GoogleIamAdminV1WorkforcePoolProviderSaml.



888
889
890
# File 'lib/google/apis/iam_v1/classes.rb', line 888

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 20 years in the future. 4) Up to 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at least 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)


886
887
888
# File 'lib/google/apis/iam_v1/classes.rb', line 886

def 
  @idp_metadata_xml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



893
894
895
# File 'lib/google/apis/iam_v1/classes.rb', line 893

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