Class: Google::Apis::PrivatecaV1beta1::ReusableConfigValues
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::ReusableConfigValues
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/privateca_v1beta1/classes.rb,
generated/google/apis/privateca_v1beta1/representations.rb,
generated/google/apis/privateca_v1beta1/representations.rb
Overview
A ReusableConfigValues 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.
Instance Attribute Summary collapse
-
#additional_extensions ⇒ Array<Google::Apis::PrivatecaV1beta1::X509Extension>
Optional.
-
#aia_ocsp_servers ⇒ Array<String>
Optional.
-
#ca_options ⇒ Google::Apis::PrivatecaV1beta1::CaOptions
Describes values that are relevant in a CA certificate.
-
#key_usage ⇒ Google::Apis::PrivatecaV1beta1::KeyUsage
A KeyUsage describes key usage values that may appear in an X.509 certificate.
-
#policy_ids ⇒ Array<Google::Apis::PrivatecaV1beta1::ObjectIdProp>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReusableConfigValues
constructor
A new instance of ReusableConfigValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReusableConfigValues
Returns a new instance of ReusableConfigValues.
1888 1889 1890 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1888 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_extensions ⇒ Array<Google::Apis::PrivatecaV1beta1::X509Extension>
Optional. Describes custom X.509 extensions.
Corresponds to the JSON property additionalExtensions
1863 1864 1865 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1863 def additional_extensions @additional_extensions end |
#aia_ocsp_servers ⇒ Array<String>
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint
addresses that appear in the "Authority Information Access" extension in the
certificate.
Corresponds to the JSON property aiaOcspServers
1870 1871 1872 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1870 def aia_ocsp_servers @aia_ocsp_servers end |
#ca_options ⇒ Google::Apis::PrivatecaV1beta1::CaOptions
Describes values that are relevant in a CA certificate.
Corresponds to the JSON property caOptions
1875 1876 1877 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1875 def @ca_options end |
#key_usage ⇒ Google::Apis::PrivatecaV1beta1::KeyUsage
A KeyUsage describes key usage values that may appear in an X.509 certificate.
Corresponds to the JSON property keyUsage
1880 1881 1882 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1880 def key_usage @key_usage end |
#policy_ids ⇒ Array<Google::Apis::PrivatecaV1beta1::ObjectIdProp>
Optional. Describes the X.509 certificate policy object identifiers, per https:
//tools.ietf.org/html/rfc5280#section-4.2.1.4.
Corresponds to the JSON property policyIds
1886 1887 1888 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1886 def policy_ids @policy_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1893 1894 1895 1896 1897 1898 1899 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1893 def update!(**args) @additional_extensions = args[:additional_extensions] if args.key?(:additional_extensions) @aia_ocsp_servers = args[:aia_ocsp_servers] if args.key?(:aia_ocsp_servers) @ca_options = args[:ca_options] if args.key?(:ca_options) @key_usage = args[:key_usage] if args.key?(:key_usage) @policy_ids = args[:policy_ids] if args.key?(:policy_ids) end |