Class: Google::Apis::GkehubV2alpha::WorkloadCertificateSpec

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

Overview

WorkloadCertificate: The membership-specific input for WorkloadCertificate feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadCertificateSpec

Returns a new instance of WorkloadCertificateSpec.



3351
3352
3353
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3351

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

Instance Attribute Details

#certificate_managementString

CertificateManagement specifies workload certificate management. Corresponds to the JSON property certificateManagement

Returns:

  • (String)


3349
3350
3351
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3349

def certificate_management
  @certificate_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3356
3357
3358
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3356

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