Class: Google::Apis::GkehubV1::ConfigManagementConfigSyncState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::ConfigManagementConfigSyncState
- 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
-
#deployment_state ⇒ Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster Corresponds to the JSON property
deploymentState
. -
#errors ⇒ Array<Google::Apis::GkehubV1::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::GkehubV1::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster Corresponds to the JSON property
syncState
. -
#version ⇒ Google::Apis::GkehubV1::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.
1000 1001 1002 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_state ⇒ Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState
The state of ConfigSync's deployment on a cluster
Corresponds to the JSON property deploymentState
968 969 970 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 968 def deployment_state @deployment_state end |
#errors ⇒ Array<Google::Apis::GkehubV1::ConfigManagementConfigSyncError>
Errors pertaining to the installation of Config Sync.
Corresponds to the JSON property errors
973 974 975 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 973 def errors @errors end |
#reposync_crd ⇒ String
The state of the Reposync CRD
Corresponds to the JSON property reposyncCrd
978 979 980 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 978 def reposync_crd @reposync_crd end |
#rootsync_crd ⇒ String
The state of the RootSync CRD
Corresponds to the JSON property rootsyncCrd
983 984 985 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 983 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
988 989 990 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 988 def state @state end |
#sync_state ⇒ Google::Apis::GkehubV1::ConfigManagementSyncState
State indicating an ACM's progress syncing configurations to a cluster
Corresponds to the JSON property syncState
993 994 995 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 993 def sync_state @sync_state end |
#version ⇒ Google::Apis::GkehubV1::ConfigManagementConfigSyncVersion
Specific versioning information pertaining to ConfigSync's Pods
Corresponds to the JSON property version
998 999 1000 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 998 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1005 1006 1007 1008 1009 1010 1011 1012 1013 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1005 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 |