Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CertificateAttributes

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

Overview

Stores information about a certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1CertificateAttributes

Returns a new instance of GoogleAppsCloudidentityDevicesV1CertificateAttributes.



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

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

Instance Attribute Details

#certificate_templateGoogle::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CertificateTemplate

CertificateTemplate (v3 Extension in X.509). Corresponds to the JSON property certificateTemplate



1751
1752
1753
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1751

def certificate_template
  @certificate_template
end

#fingerprintString

The encoded certificate fingerprint. Corresponds to the JSON property fingerprint

Returns:

  • (String)


1756
1757
1758
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1756

def fingerprint
  @fingerprint
end

#issuerString

The name of the issuer of this certificate. Corresponds to the JSON property issuer

Returns:

  • (String)


1761
1762
1763
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1761

def issuer
  @issuer
end

#serial_numberString

Serial number of the certificate, Example: "123456789". Corresponds to the JSON property serialNumber

Returns:

  • (String)


1766
1767
1768
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1766

def serial_number
  @serial_number
end

#subjectString

The subject name of this certificate. Corresponds to the JSON property subject

Returns:

  • (String)


1771
1772
1773
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1771

def subject
  @subject
end

#thumbprintString

The certificate thumbprint. Corresponds to the JSON property thumbprint

Returns:

  • (String)


1776
1777
1778
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1776

def thumbprint
  @thumbprint
end

#validation_stateString

Output only. Validation state of this certificate. Corresponds to the JSON property validationState

Returns:

  • (String)


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

def validation_state
  @validation_state
end

#validity_expiration_timeString

Certificate not valid at or after this timestamp. Corresponds to the JSON property validityExpirationTime

Returns:

  • (String)


1786
1787
1788
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1786

def validity_expiration_time
  @validity_expiration_time
end

#validity_start_timeString

Certificate not valid before this timestamp. Corresponds to the JSON property validityStartTime

Returns:

  • (String)


1791
1792
1793
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1791

def validity_start_time
  @validity_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1798

def update!(**args)
  @certificate_template = args[:certificate_template] if args.key?(:certificate_template)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @issuer = args[:issuer] if args.key?(:issuer)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @subject = args[:subject] if args.key?(:subject)
  @thumbprint = args[:thumbprint] if args.key?(:thumbprint)
  @validation_state = args[:validation_state] if args.key?(:validation_state)
  @validity_expiration_time = args[:validity_expiration_time] if args.key?(:validity_expiration_time)
  @validity_start_time = args[:validity_start_time] if args.key?(:validity_start_time)
end