Class: Google::Apis::GkehubV1beta::MembershipFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



2087
2088
2089
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2087

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec

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



2046
2047
2048
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2046

def anthosobservability
  @anthosobservability
end

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

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



2051
2052
2053
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2051

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV1beta::ConfigManagementMembershipSpec

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



2057
2058
2059
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2057

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)


2062
2063
2064
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2062

def fleet_inherited
  @fleet_inherited
end

#fleetobservabilityGoogle::Apis::GkehubV1beta::FleetObservabilityMembershipSpec

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



2069
2070
2071
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2069

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

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



2074
2075
2076
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2074

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1beta::ServiceMeshMembershipSpec

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



2079
2080
2081
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2079

def mesh
  @mesh
end

#policycontrollerGoogle::Apis::GkehubV1beta::PolicyControllerMembershipSpec

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



2085
2086
2087
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2085

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2092

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)
end