Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class SyncState.
State indicating an ACM's progress syncing configurations to a cluster
Generated from protobuf messagegoogle.cloud.gkehub.configmanagement.v1.SyncState
Namespace
Google \ Cloud \ GkeHub \ ConfigManagement \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ source_token
string
Token indicating the state of the repo.
↳ import_token
string
Token indicating the state of the importer.
↳ sync_token
string
Token indicating the state of the syncer.
↳ last_sync
string
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified inhttps://golang.org/pkg/time/#Time.String
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Hub V1 Client - Class SyncState (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.SyncState)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/ConfigManagement.V1.SyncState)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/ConfigManagement.V1.SyncState)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/ConfigManagement.V1.SyncState)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/ConfigManagement.V1.SyncState)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/ConfigManagement.V1.SyncState)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/ConfigManagement.V1.SyncState)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/ConfigManagement.V1.SyncState) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class SyncState.\n\nState indicating an ACM's progress syncing configurations to a cluster\n\nGenerated from protobuf message `google.cloud.gkehub.configmanagement.v1.SyncState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ ConfigManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceToken\n\nToken indicating the state of the repo.\n\n### setSourceToken\n\nToken indicating the state of the repo.\n\n### getImportToken\n\nToken indicating the state of the importer.\n\n### setImportToken\n\nToken indicating the state of the importer.\n\n### getSyncToken\n\nToken indicating the state of the syncer.\n\n### setSyncToken\n\nToken indicating the state of the syncer.\n\n### getLastSync\n\nDeprecated: use last_sync_time instead.\n\nTimestamp of when ACM last successfully synced the repo\nThe time format is specified in \u003chttps://golang.org/pkg/time/#Time.String\u003e\n\n### setLastSync\n\nDeprecated: use last_sync_time instead.\n\nTimestamp of when ACM last successfully synced the repo\nThe time format is specified in \u003chttps://golang.org/pkg/time/#Time.String\u003e\n\n### getLastSyncTime\n\nTimestamp type of when ACM last successfully synced the repo\n\n### hasLastSyncTime\n\n### clearLastSyncTime\n\n### setLastSyncTime\n\nTimestamp type of when ACM last successfully synced the repo\n\n### getCode\n\nSync status code\n\n### setCode\n\nSync status code\n\n### getErrors\n\nA list of errors resulting from problematic configs.\n\nThis list will be truncated after 100 errors, although it is\nunlikely for that many errors to simultaneously exist.\n\n### setErrors\n\nA list of errors resulting from problematic configs.\n\nThis list will be truncated after 100 errors, although it is\nunlikely for that many errors to simultaneously exist."]]