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.



1299
1300
1301
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1299

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



1267
1268
1269
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1267

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



1272
1273
1274
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1272

def errors
  @errors
end

#reposync_crdString

The state of the Reposync CRD Corresponds to the JSON property reposyncCrd

Returns:

  • (String)


1277
1278
1279
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1277

def reposync_crd
  @reposync_crd
end

#rootsync_crdString

The state of the RootSync CRD Corresponds to the JSON property rootsyncCrd

Returns:

  • (String)


1282
1283
1284
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1282

def rootsync_crd
  @rootsync_crd
end

#stateString

The state of CS This field summarizes the other fields in this message. Corresponds to the JSON property state

Returns:

  • (String)


1287
1288
1289
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1287

def state
  @state
end

#sync_stateGoogle::Apis::GkehubV1alpha::ConfigManagementSyncState

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



1292
1293
1294
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1292

def sync_state
  @sync_state
end

#versionGoogle::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion

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



1297
1298
1299
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1297

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1304
1305
1306
1307
1308
1309
1310
1311
1312
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1304

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