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.



1536
1537
1538
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1536

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)


1529
1530
1531
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1529

def expires_at
  @expires_at
end

#x509_certificateString

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

Returns:

  • (String)


1534
1535
1536
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1534

def x509_certificate
  @x509_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1541
1542
1543
1544
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1541

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