Class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState
- 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
-
#cluster_level_stop_syncing_state ⇒ String
Whether syncing resources to the cluster is stopped at the cluster level.
-
#cr_count ⇒ Fixnum
Output only.
-
#deployment_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster Corresponds to the JSON property
deploymentState. -
#errors ⇒ Array<Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError>
Errors pertaining to the installation of Config Sync.
-
#reposync_crd ⇒ String
The state of the Reposync CRD Corresponds to the JSON property
reposyncCrd. -
#rootsync_crd ⇒ String
The state of the RootSync CRD Corresponds to the JSON property
rootsyncCrd. -
#state ⇒ String
The state of CS This field summarizes the other fields in this message.
-
#sync_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster Corresponds to the JSON property
syncState. -
#version ⇒ Google::Apis::GkehubV1beta::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.
1216 1217 1218 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_level_stop_syncing_state ⇒ String
Whether syncing resources to the cluster is stopped at the cluster level.
Corresponds to the JSON property clusterLevelStopSyncingState
1174 1175 1176 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1174 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
1179 1180 1181 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1179 def cr_count @cr_count end |
#deployment_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster
Corresponds to the JSON property deploymentState
1184 1185 1186 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1184 def deployment_state @deployment_state end |
#errors ⇒ Array<Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError>
Errors pertaining to the installation of Config Sync.
Corresponds to the JSON property errors
1189 1190 1191 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1189 def errors @errors end |
#reposync_crd ⇒ String
The state of the Reposync CRD
Corresponds to the JSON property reposyncCrd
1194 1195 1196 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1194 def reposync_crd @reposync_crd end |
#rootsync_crd ⇒ String
The state of the RootSync CRD
Corresponds to the JSON property rootsyncCrd
1199 1200 1201 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1199 def rootsync_crd @rootsync_crd end |
#state ⇒ String
The state of CS This field summarizes the other fields in this message.
Corresponds to the JSON property state
1204 1205 1206 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1204 def state @state end |
#sync_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster
Corresponds to the JSON property syncState
1209 1210 1211 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1209 def sync_state @sync_state end |
#version ⇒ Google::Apis::GkehubV1beta::ConfigManagementConfigSyncVersion
Specific versioning information pertaining to ConfigSync's Pods
Corresponds to the JSON property version
1214 1215 1216 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1214 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1221 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 |