Class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementConfigSyncState

Returns a new instance of ConfigManagementConfigSyncState.



1116
1117
1118
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1116

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

Instance Attribute Details

#deployment_stateGoogle::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState

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



1089
1090
1091
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1089

def deployment_state
  @deployment_state
end

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

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



1094
1095
1096
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1094

def errors
  @errors
end

#reposync_crdString

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

Returns:

  • (String)


1099
1100
1101
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1099

def reposync_crd
  @reposync_crd
end

#rootsync_crdString

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

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1104

def rootsync_crd
  @rootsync_crd
end

#sync_stateGoogle::Apis::GkehubV1beta::ConfigManagementSyncState

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



1109
1110
1111
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1109

def sync_state
  @sync_state
end

#versionGoogle::Apis::GkehubV1beta::ConfigManagementConfigSyncVersion

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



1114
1115
1116
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1114

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1121

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)
  @sync_state = args[:sync_state] if args.key?(:sync_state)
  @version = args[:version] if args.key?(:version)
end