Class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState

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

The state of the policy controller policy content

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyControllerPolicyContentState

Returns a new instance of PolicyControllerPolicyContentState.



3245
3246
3247
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3245

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

Instance Attribute Details

#bundle_statesHash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>

The state of the any bundles included in the chosen version of the manifest Corresponds to the JSON property bundleStates



3238
3239
3240
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3238

def bundle_states
  @bundle_states
end

#template_library_stateGoogle::Apis::GkehubV1beta::PolicyControllerOnClusterState

OnClusterState represents the state of a sub-component of Policy Controller. Corresponds to the JSON property templateLibraryState



3243
3244
3245
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3243

def template_library_state
  @template_library_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3250
3251
3252
3253
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3250

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