Class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState
- 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
-
#cluster_level_stop_syncing_state ⇒ String
Output only.
-
#cr_count ⇒ Fixnum
Output only.
-
#deployment_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster Corresponds to the JSON property
deploymentState. -
#errors ⇒ Array<Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError>
Output only.
-
#reposync_crd ⇒ String
Output only.
-
#rootsync_crd ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#sync_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster Corresponds to the JSON property
syncState. -
#version ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion
Specific versioning information pertaining to ConfigSync's Pods Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementConfigSyncState
constructor
A new instance of ConfigManagementConfigSyncState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementConfigSyncState
Returns a new instance of ConfigManagementConfigSyncState.
1382 1383 1384 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_level_stop_syncing_state ⇒ String
Output only. Whether syncing resources to the cluster is stopped at the
cluster level.
Corresponds to the JSON property clusterLevelStopSyncingState
1339 1340 1341 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1339 def cluster_level_stop_syncing_state @cluster_level_stop_syncing_state end |
#cr_count ⇒ Fixnum
Output only. The number of RootSync and RepoSync CRs in the cluster.
Corresponds to the JSON property crCount
1344 1345 1346 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1344 def cr_count @cr_count end |
#deployment_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster
Corresponds to the JSON property deploymentState
1349 1350 1351 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1349 def deployment_state @deployment_state end |
#errors ⇒ Array<Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError>
Output only. Errors pertaining to the installation of Config Sync.
Corresponds to the JSON property errors
1354 1355 1356 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1354 def errors @errors end |
#reposync_crd ⇒ String
Output only. The state of the Reposync CRD
Corresponds to the JSON property reposyncCrd
1359 1360 1361 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1359 def reposync_crd @reposync_crd end |
#rootsync_crd ⇒ String
Output only. The state of the RootSync CRD
Corresponds to the JSON property rootsyncCrd
1364 1365 1366 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1364 def rootsync_crd @rootsync_crd end |
#state ⇒ String
Output only. The state of CS This field summarizes the other fields in this
message.
Corresponds to the JSON property state
1370 1371 1372 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1370 def state @state end |
#sync_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster
Corresponds to the JSON property syncState
1375 1376 1377 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1375 def sync_state @sync_state end |
#version ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion
Specific versioning information pertaining to ConfigSync's Pods
Corresponds to the JSON property version
1380 1381 1382 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1380 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1387 def update!(**args) @cluster_level_stop_syncing_state = args[:cluster_level_stop_syncing_state] if args.key?(:cluster_level_stop_syncing_state) @cr_count = args[:cr_count] if args.key?(:cr_count) @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 |