Class: Google::Apis::GkehubV1alpha::MembershipSpec

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

Overview

Workload Certificate: The membership-specific input for WorkloadCertificate feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipSpec

Returns a new instance of MembershipSpec.



4492
4493
4494
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4492

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

Instance Attribute Details

#certificate_managementString

Specifies workload certificate management. Corresponds to the JSON property certificateManagement

Returns:

  • (String)


4490
4491
4492
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4490

def certificate_management
  @certificate_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4497
4498
4499
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4497

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