Class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState

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

State information for ConfigSync

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementConfigSyncState

Returns a new instance of ConfigManagementConfigSyncState.



611
612
613
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 611

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

Instance Attribute Details

#deployment_stateGoogle::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState

The state of ConfigSync's deployment on a cluster Corresponds to the JSON property deploymentState



594
595
596
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 594

def deployment_state
  @deployment_state
end

#errorsArray<Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError>

Errors pertaining to the installation of Config Sync. Corresponds to the JSON property errors



599
600
601
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 599

def errors
  @errors
end

#sync_stateGoogle::Apis::GkehubV1beta::ConfigManagementSyncState

State indicating an ACM's progress syncing configurations to a cluster Corresponds to the JSON property syncState



604
605
606
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 604

def sync_state
  @sync_state
end

#versionGoogle::Apis::GkehubV1beta::ConfigManagementConfigSyncVersion

Specific versioning information pertaining to ConfigSync's Pods Corresponds to the JSON property version



609
610
611
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 609

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
619
620
621
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 616

def update!(**args)
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
  @errors = args[:errors] if args.key?(:errors)
  @sync_state = args[:sync_state] if args.key?(:sync_state)
  @version = args[:version] if args.key?(:version)
end