Class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec

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

MembershipFeatureSpec contains configuration information for a single Membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipFeatureSpec

Returns a new instance of MembershipFeatureSpec.



3060
3061
3062
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3060

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

Anthosobservability: Per-Membership Feature spec. Corresponds to the JSON property anthosobservability



3013
3014
3015
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3013

def anthosobservability
  @anthosobservability
end

#cloudbuildGoogle::Apis::GkehubV1alpha::CloudBuildMembershipSpec

Cloud Build: Configurations for each Cloud Build enabled cluster. Corresponds to the JSON property cloudbuild



3018
3019
3020
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3018

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV1alpha::ConfigManagementMembershipSpec

Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. Corresponds to the JSON property configmanagement



3024
3025
3026
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3024

def configmanagement
  @configmanagement
end

#fleet_inheritedBoolean Also known as: fleet_inherited?

True if value of feature_spec was inherited from a fleet-level default. Corresponds to the JSON property fleetInherited

Returns:

  • (Boolean)


3029
3030
3031
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3029

def fleet_inherited
  @fleet_inherited
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec

FleetObservability: The membership-specific input for FleetObservability feature. Corresponds to the JSON property fleetobservability



3036
3037
3038
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3036

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

Anthos Identity Service: Configuration for a single Membership. Corresponds to the JSON property identityservice



3041
3042
3043
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3041

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1alpha::ServiceMeshMembershipSpec

Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property mesh



3046
3047
3048
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3046

def mesh
  @mesh
end

#policycontrollerGoogle::Apis::GkehubV1alpha::PolicyControllerMembershipSpec

Policy Controller: Configuration for a single cluster. Intended to parallel the PolicyController CR. Corresponds to the JSON property policycontroller



3052
3053
3054
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3052

def policycontroller
  @policycontroller
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::MembershipSpec

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



3058
3059
3060
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3058

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3065

def update!(**args)
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
  @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
  @identityservice = args[:identityservice] if args.key?(:identityservice)
  @mesh = args[:mesh] if args.key?(:mesh)
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
end