Class: Google::Apis::IamV1::TrustAnchor

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

Overview

Represents a root of trust.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrustAnchor

Returns a new instance of TrustAnchor.



3012
3013
3014
# File 'lib/google/apis/iam_v1/classes.rb', line 3012

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

Instance Attribute Details

#pem_certificateString

PEM certificate of the PKI used for validation. Must only contain one ca certificate (either root or intermediate cert). Corresponds to the JSON property pemCertificate

Returns:

  • (String)


3010
3011
3012
# File 'lib/google/apis/iam_v1/classes.rb', line 3010

def pem_certificate
  @pem_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3017
3018
3019
# File 'lib/google/apis/iam_v1/classes.rb', line 3017

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