Class: Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig
- 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
CertificateIssuanceConfig specifies how to issue and manage a certificate.
Instance Attribute Summary collapse
-
#certificate_authority_config ⇒ Google::Apis::CertificatemanagerV1::CertificateAuthorityConfig
The CA that issues the workload certificate.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#key_algorithm ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#lifetime ⇒ String
Required.
-
#name ⇒ String
Identifier.
-
#rotation_window_percentage ⇒ Fixnum
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateIssuanceConfig
constructor
A new instance of CertificateIssuanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateIssuanceConfig
Returns a new instance of CertificateIssuanceConfig.
280 281 282 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 280 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_authority_config ⇒ Google::Apis::CertificatemanagerV1::CertificateAuthorityConfig
The CA that issues the workload certificate. It includes CA address, type,
authentication to CA service, etc.
Corresponds to the JSON property certificateAuthorityConfig
233 234 235 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 233 def @certificate_authority_config end |
#create_time ⇒ String
Output only. The creation timestamp of a CertificateIssuanceConfig.
Corresponds to the JSON property createTime
238 239 240 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 238 def create_time @create_time end |
#description ⇒ String
Optional. One or more paragraphs of text description of a
CertificateIssuanceConfig.
Corresponds to the JSON property description
244 245 246 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 244 def description @description end |
#key_algorithm ⇒ String
Required. The key algorithm to use when generating the private key.
Corresponds to the JSON property keyAlgorithm
249 250 251 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 249 def key_algorithm @key_algorithm end |
#labels ⇒ Hash<String,String>
Optional. Set of labels associated with a CertificateIssuanceConfig.
Corresponds to the JSON property labels
254 255 256 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 254 def labels @labels end |
#lifetime ⇒ String
Required. Workload certificate lifetime requested.
Corresponds to the JSON property lifetime
259 260 261 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 259 def lifetime @lifetime end |
#name ⇒ String
Identifier. A user-defined name of the certificate issuance config.
CertificateIssuanceConfig names must be unique globally and match pattern
projects/*/locations/*/certificateIssuanceConfigs/*
.
Corresponds to the JSON property name
266 267 268 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 266 def name @name end |
#rotation_window_percentage ⇒ Fixnum
Required. Specifies the percentage of elapsed time of the certificate lifetime
to wait before renewing the certificate. Must be a number between 1-99,
inclusive.
Corresponds to the JSON property rotationWindowPercentage
273 274 275 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 273 def rotation_window_percentage @rotation_window_percentage end |
#update_time ⇒ String
Output only. The last update timestamp of a CertificateIssuanceConfig.
Corresponds to the JSON property updateTime
278 279 280 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 278 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 285 def update!(**args) @certificate_authority_config = args[:certificate_authority_config] if args.key?(:certificate_authority_config) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) @labels = args[:labels] if args.key?(:labels) @lifetime = args[:lifetime] if args.key?(:lifetime) @name = args[:name] if args.key?(:name) @rotation_window_percentage = args[:rotation_window_percentage] if args.key?(:rotation_window_percentage) @update_time = args[:update_time] if args.key?(:update_time) end |