Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CertificateAttributes

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/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.



943
944
945
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 943

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

Instance Attribute Details

#certificate_templateGoogle::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CertificateTemplate

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



901
902
903
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 901

def certificate_template
  @certificate_template
end

#fingerprintString

The encoded certificate fingerprint. Corresponds to the JSON property fingerprint

Returns:

  • (String)


906
907
908
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 906

def fingerprint
  @fingerprint
end

#issuerString

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

Returns:

  • (String)


911
912
913
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 911

def issuer
  @issuer
end

#serial_numberString

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

Returns:

  • (String)


916
917
918
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 916

def serial_number
  @serial_number
end

#subjectString

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

Returns:

  • (String)


921
922
923
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 921

def subject
  @subject
end

#thumbprintString

The certificate thumbprint. Corresponds to the JSON property thumbprint

Returns:

  • (String)


926
927
928
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 926

def thumbprint
  @thumbprint
end

#validation_stateString

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

Returns:

  • (String)


931
932
933
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 931

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)


936
937
938
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 936

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)


941
942
943
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 941

def validity_start_time
  @validity_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



948
949
950
951
952
953
954
955
956
957
958
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 948

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