Class: Google::Apis::GkehubV1::PolicyControllerPolicyContentState

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



4866
4867
4868
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4866

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

Instance Attribute Details

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

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



4854
4855
4856
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4854

def bundle_states
  @bundle_states
end

#referential_sync_config_stateGoogle::Apis::GkehubV1::PolicyControllerOnClusterState

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



4859
4860
4861
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4859

def referential_sync_config_state
  @referential_sync_config_state
end

#template_library_stateGoogle::Apis::GkehubV1::PolicyControllerOnClusterState

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



4864
4865
4866
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4864

def template_library_state
  @template_library_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4871
4872
4873
4874
4875
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4871

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