class Google::Apis::PrivatecaV1::CertificateTemplate

A CertificateTemplate refers to a managed template for certificate issuance.

Attributes

create_time[RW]

Output only. The time at which this CertificateTemplate was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Optional. A human-readable description of scenarios this template is intended for. Corresponds to the JSON property `description` @return [String]

identity_constraints[RW]

Describes constraints on a Certificate's Subject and SubjectAltNames. Corresponds to the JSON property `identityConstraints` @return [Google::Apis::PrivatecaV1::CertificateIdentityConstraints]

labels[RW]

Optional. Labels with user-defined metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Output only. The resource name for this CertificateTemplate in the format ` projects//locations//certificateTemplates/*`. Corresponds to the JSON property `name` @return [String]

passthrough_extensions[RW]

Describes a set of X.509 extensions that may be part of some certificate issuance controls. Corresponds to the JSON property `passthroughExtensions` @return [Google::Apis::PrivatecaV1::CertificateExtensionConstraints]

predefined_values[RW]

An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. Corresponds to the JSON property `predefinedValues` @return [Google::Apis::PrivatecaV1::X509Parameters]

update_time[RW]

Output only. The time at which this CertificateTemplate was updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 949
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1/classes.rb, line 954
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @identity_constraints = args[:identity_constraints] if args.key?(:identity_constraints)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @passthrough_extensions = args[:passthrough_extensions] if args.key?(:passthrough_extensions)
  @predefined_values = args[:predefined_values] if args.key?(:predefined_values)
  @update_time = args[:update_time] if args.key?(:update_time)
end