Class: Google::Apis::GkehubV2::FeatureState

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



1508
1509
1510
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1508

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV2::AppDevExperienceState

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



1468
1469
1470
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1468

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV2::ClusterUpgradeState

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



1473
1474
1475
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1473

def clusterupgrade
  @clusterupgrade
end

#configmanagementGoogle::Apis::GkehubV2::ConfigManagementState

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



1478
1479
1480
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1478

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2::IdentityServiceState

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



1484
1485
1486
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1484

def identityservice
  @identityservice
end

#meteringGoogle::Apis::GkehubV2::MeteringState

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



1490
1491
1492
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1490

def metering
  @metering
end

#policycontrollerGoogle::Apis::GkehubV2::PolicyControllerState

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



1495
1496
1497
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1495

def policycontroller
  @policycontroller
end

#servicemeshGoogle::Apis::GkehubV2::ServiceMeshState

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



1501
1502
1503
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1501

def servicemesh
  @servicemesh
end

#stateGoogle::Apis::GkehubV2::State

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



1506
1507
1508
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1506

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1513

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