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.



1897
1898
1899
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1897

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)


1890
1891
1892
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1890

def expires_at
  @expires_at
end

#x509_certificateString

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

Returns:

  • (String)


1895
1896
1897
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1895

def x509_certificate
  @x509_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1902
1903
1904
1905
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1902

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