# Cloud IoT V1 API - Class Google::Cloud::Iot::V1::X509CertificateDetails (v0.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.9.2 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.8.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.7.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-X509CertificateDetails)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-X509CertificateDetails)
Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::X509CertificateDetails.

Details of an X.509 certificate. For informational purposes only.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #expiry_time

    def expiry_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes invalid.

### #expiry_time=

    def expiry_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes invalid.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes invalid.

### #issuer

    def issuer() -> ::String

**Returns**

- (::String) --- The entity that signed the certificate.

### #issuer=

    def issuer=(value) -> ::String

**Parameter**

- **value** (::String) --- The entity that signed the certificate.
**Returns**

- (::String) --- The entity that signed the certificate.

### #public_key_type

    def public_key_type() -> ::String

**Returns**

- (::String) --- The type of public key in the certificate.

### #public_key_type=

    def public_key_type=(value) -> ::String

**Parameter**

- **value** (::String) --- The type of public key in the certificate.
**Returns**

- (::String) --- The type of public key in the certificate.

### #signature_algorithm

    def signature_algorithm() -> ::String

**Returns**

- (::String) --- The algorithm used to sign the certificate.

### #signature_algorithm=

    def signature_algorithm=(value) -> ::String

**Parameter**

- **value** (::String) --- The algorithm used to sign the certificate.
**Returns**

- (::String) --- The algorithm used to sign the certificate.

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes valid.

### #start_time=

    def start_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes valid.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Protobuf-Timestamp)) --- The time the certificate becomes valid.

### #subject

    def subject() -> ::String

**Returns**

- (::String) --- The entity the certificate and public key belong to.

### #subject=

    def subject=(value) -> ::String

**Parameter**

- **value** (::String) --- The entity the certificate and public key belong to.
**Returns**

- (::String) --- The entity the certificate and public key belong to.