Class: Google::Apis::CloudidentityV1beta1::CertificateTemplate
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::CertificateTemplate
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
CertificateTemplate (v3 Extension in X.509).
Instance Attribute Summary collapse
-
#id ⇒ String
The template id of the template.
-
#major_version ⇒ Fixnum
The Major version of the template.
-
#minor_version ⇒ Fixnum
The minor version of the template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateTemplate
constructor
A new instance of CertificateTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateTemplate
Returns a new instance of CertificateTemplate.
571 572 573 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.
11768144.5720724.16068415.6889630.81.2472537.7784047".
Corresponds to the JSON property id
559 560 561 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 559 def id @id end |
#major_version ⇒ Fixnum
The Major version of the template. Example: 100.
Corresponds to the JSON property majorVersion
564 565 566 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 564 def major_version @major_version end |
#minor_version ⇒ Fixnum
The minor version of the template. Example: 12.
Corresponds to the JSON property minorVersion
569 570 571 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 569 def minor_version @minor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
576 577 578 579 580 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 576 def update!(**args) @id = args[:id] if args.key?(:id) @major_version = args[:major_version] if args.key?(:major_version) @minor_version = args[:minor_version] if args.key?(:minor_version) end |