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
One or more paragraphs of text description of a CertificateIssuanceConfig.
-
#key_algorithm ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Set of labels associated with a CertificateIssuanceConfig.
-
#lifetime ⇒ String
Required.
-
#name ⇒ String
A user-defined name of the certificate issuance config.
-
#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.
259 260 261 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 259 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
213 214 215 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 213 def @certificate_authority_config end |
#create_time ⇒ String
Output only. The creation timestamp of a CertificateIssuanceConfig.
Corresponds to the JSON property createTime
218 219 220 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 218 def create_time @create_time end |
#description ⇒ String
One or more paragraphs of text description of a CertificateIssuanceConfig.
Corresponds to the JSON property description
223 224 225 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 223 def description @description end |
#key_algorithm ⇒ String
Required. The key algorithm to use when generating the private key.
Corresponds to the JSON property keyAlgorithm
228 229 230 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 228 def key_algorithm @key_algorithm end |
#labels ⇒ Hash<String,String>
Set of labels associated with a CertificateIssuanceConfig.
Corresponds to the JSON property labels
233 234 235 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 233 def labels @labels end |
#lifetime ⇒ String
Required. Workload certificate lifetime requested.
Corresponds to the JSON property lifetime
238 239 240 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 238 def lifetime @lifetime end |
#name ⇒ String
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
245 246 247 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 245 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
252 253 254 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 252 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
257 258 259 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 257 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 264 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 |