Class: Google::Apis::GkehubV2alpha::FeatureState

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

FeatureState contains high-level state information and per-feature state information for this MembershipFeature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FeatureState

Returns a new instance of FeatureState.



1488
1489
1490
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1488

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV2alpha::AppDevExperienceState

State for App Dev Exp Feature. Corresponds to the JSON property appdevexperience



1448
1449
1450
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1448

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV2alpha::ClusterUpgradeState

Per-membership state for this feature. Corresponds to the JSON property clusterupgrade



1453
1454
1455
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1453

def clusterupgrade
  @clusterupgrade
end

#configmanagementGoogle::Apis::GkehubV2alpha::ConfigManagementState

Anthos Config Management: State for a single cluster. Corresponds to the JSON property configmanagement



1458
1459
1460
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1458

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2alpha::IdentityServiceState

IdentityService: State for a single membership, analyzed and reported by feature controller. Corresponds to the JSON property identityservice



1464
1465
1466
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1464

def identityservice
  @identityservice
end

#meteringGoogle::Apis::GkehubV2alpha::MeteringState

Metering: State for a single membership, analyzed and reported by feature controller. Corresponds to the JSON property metering



1470
1471
1472
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1470

def metering
  @metering
end

#policycontrollerGoogle::Apis::GkehubV2alpha::PolicyControllerState

Policy Controller: State for a single cluster. Corresponds to the JSON property policycontroller



1475
1476
1477
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1475

def policycontroller
  @policycontroller
end

#servicemeshGoogle::Apis::GkehubV2alpha::ServiceMeshState

Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller. Corresponds to the JSON property servicemesh



1481
1482
1483
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1481

def servicemesh
  @servicemesh
end

#stateGoogle::Apis::GkehubV2alpha::State

High-level state of a MembershipFeature. Corresponds to the JSON property state



1486
1487
1488
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1486

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1493

def update!(**args)
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
  @identityservice = args[:identityservice] if args.key?(:identityservice)
  @metering = args[:metering] if args.key?(:metering)
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
  @state = args[:state] if args.key?(:state)
end