Class: Google::Apis::CertificatemanagerV1::TrustAnchor

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

Overview

Defines a trust anchor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrustAnchor

Returns a new instance of TrustAnchor.



1194
1195
1196
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1194

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

Instance Attribute Details

#pem_certificateString

PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB. Corresponds to the JSON property pemCertificate

Returns:

  • (String)


1192
1193
1194
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1192

def pem_certificate
  @pem_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1199
1200
1201
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1199

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