Class SyncState (1.12.0)

SyncState(mapping=None, *, ignore_unknown_fields=False, **kwargs)

State indicating an ACM's progress syncing configurations to a cluster

Attributes

NameDescription
source_token str
Token indicating the state of the repo.
import_token str
Token indicating the state of the importer.
sync_token str
Token indicating the state of the syncer.
last_sync str
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
last_sync_time google.protobuf.timestamp_pb2.Timestamp
Timestamp type of when ACM last successfully synced the repo
code google.cloud.gkehub.configmanagement_v1.types.SyncState.SyncCode
Sync status code
errors MutableSequence[google.cloud.gkehub.configmanagement_v1.types.SyncError]
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.

Classes

SyncCode

SyncCode(value)

An enum representing an ACM's status syncing configs to a cluster

Values: SYNC_CODE_UNSPECIFIED (0): ACM cannot determine a sync code SYNCED (1): ACM successfully synced the git Repo with the cluster PENDING (2): ACM is in the progress of syncing a new change ERROR (3): Indicates an error configuring ACM, and user action is required NOT_CONFIGURED (4): ACM has been installed (operator manifest deployed), but not configured. NOT_INSTALLED (5): ACM has not been installed (no operator pod found) UNAUTHORIZED (6): Error authorizing with the cluster UNREACHABLE (7): Cluster could not be reached