Class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState

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



1232
1233
1234
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1232

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

Instance Attribute Details

#deployment_stateGoogle::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState

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



1215
1216
1217
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1215

def deployment_state
  @deployment_state
end

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

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



1220
1221
1222
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1220

def errors
  @errors
end

#sync_stateGoogle::Apis::GkehubV1alpha::ConfigManagementSyncState

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



1225
1226
1227
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1225

def sync_state
  @sync_state
end

#versionGoogle::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion

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



1230
1231
1232
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1230

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1237
1238
1239
1240
1241
1242
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1237

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