Class: Google::Apis::PrivatecaV1::CertificateExtensionConstraints

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

Overview

Describes a set of X.509 extensions that may be part of some certificate issuance controls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateExtensionConstraints

Returns a new instance of CertificateExtensionConstraints.



821
822
823
# File 'lib/google/apis/privateca_v1/classes.rb', line 821

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

Instance Attribute Details

#additional_extensionsArray<Google::Apis::PrivatecaV1::ObjectIdProp>

Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. Corresponds to the JSON property additionalExtensions



813
814
815
# File 'lib/google/apis/privateca_v1/classes.rb', line 813

def additional_extensions
  @additional_extensions
end

#known_extensionsArray<String>

Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions. Corresponds to the JSON property knownExtensions

Returns:

  • (Array<String>)


819
820
821
# File 'lib/google/apis/privateca_v1/classes.rb', line 819

def known_extensions
  @known_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



826
827
828
829
# File 'lib/google/apis/privateca_v1/classes.rb', line 826

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