GKE Hub v1 API - Class SyncState (2.4.0)

public sealed class SyncState : IMessage<SyncState>, IEquatable<SyncState>, IDeepCloneable<SyncState>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class SyncState.

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

Inheritance

object > SyncState

Namespace

Google.Cloud.GkeHub.V1.ConfigManagement

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

SyncState()

public SyncState()

SyncState(SyncState)

public SyncState(SyncState other)
Parameter
Name Description
other SyncState

Properties

Code

public SyncState.Types.SyncCode Code { get; set; }

Sync status code

Property Value
Type Description
SyncStateTypesSyncCode

Errors

public RepeatedField<SyncError> Errors { get; }

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.

Property Value
Type Description
RepeatedFieldSyncError

ImportToken

public string ImportToken { get; set; }

Token indicating the state of the importer.

Property Value
Type Description
string

LastSync

[Obsolete]
public string LastSync { get; set; }

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

Property Value
Type Description
string

LastSyncTime

public Timestamp LastSyncTime { get; set; }

Timestamp type of when ACM last successfully synced the repo

Property Value
Type Description
Timestamp

SourceToken

public string SourceToken { get; set; }

Token indicating the state of the repo.

Property Value
Type Description
string

SyncToken

public string SyncToken { get; set; }

Token indicating the state of the syncer.

Property Value
Type Description
string