Class: Google::Apis::GkehubV1::ConfigManagementConfigSyncState

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

State information for ConfigSync

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementConfigSyncState

Returns a new instance of ConfigManagementConfigSyncState.



549
550
551
# File 'lib/google/apis/gkehub_v1/classes.rb', line 549

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

Instance Attribute Details

#deployment_stateGoogle::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState

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



532
533
534
# File 'lib/google/apis/gkehub_v1/classes.rb', line 532

def deployment_state
  @deployment_state
end

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

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



537
538
539
# File 'lib/google/apis/gkehub_v1/classes.rb', line 537

def errors
  @errors
end

#sync_stateGoogle::Apis::GkehubV1::ConfigManagementSyncState

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



542
543
544
# File 'lib/google/apis/gkehub_v1/classes.rb', line 542

def sync_state
  @sync_state
end

#versionGoogle::Apis::GkehubV1::ConfigManagementConfigSyncVersion

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



547
548
549
# File 'lib/google/apis/gkehub_v1/classes.rb', line 547

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
557
558
559
# File 'lib/google/apis/gkehub_v1/classes.rb', line 554

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