Class: Google::Apis::GkehubV1alpha::FeatureSpec

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 Hub-wide input for the WorkloadCertificate feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FeatureSpec

Returns a new instance of FeatureSpec.



2462
2463
2464
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2462

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

Instance Attribute Details

#default_configGoogle::Apis::GkehubV1alpha::MembershipSpec

Workload Certificate: The membership-specific input for WorkloadCertificate feature. Corresponds to the JSON property defaultConfig



2455
2456
2457
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2455

def default_config
  @default_config
end

#provision_google_caString

Immutable. Specifies CA configuration. Corresponds to the JSON property provisionGoogleCa

Returns:

  • (String)


2460
2461
2462
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2460

def provision_google_ca
  @provision_google_ca
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2467
2468
2469
2470
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2467

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