Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SpCertificate

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

The SP's certificate data for IDP to verify the SAMLRequest generated by the SP.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SpCertificate

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SpCertificate.



1800
1801
1802
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1800

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

Instance Attribute Details

#expires_atString

Timestamp of the cert expiration instance. Corresponds to the JSON property expiresAt

Returns:

  • (String)


1793
1794
1795
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1793

def expires_at
  @expires_at
end

#x509_certificateString

Self-signed public certificate. Corresponds to the JSON property x509Certificate

Returns:

  • (String)


1798
1799
1800
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1798

def x509_certificate
  @x509_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1805
1806
1807
1808
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1805

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