Class SyncState (1.0.0)

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

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
NameDescription
otherSyncState

Properties

Code

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

Sync status code

Property Value
TypeDescription
SyncState.Types.SyncCode

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
TypeDescription
RepeatedField<SyncError>

ImportToken

public string ImportToken { get; set; }

Token indicating the state of the importer.

Property Value
TypeDescription
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
TypeDescription
String

LastSyncTime

public Timestamp LastSyncTime { get; set; }

Timestamp type of when ACM last successfully synced the repo

Property Value
TypeDescription
Timestamp

SourceToken

public string SourceToken { get; set; }

Token indicating the state of the repo.

Property Value
TypeDescription
String

SyncToken

public string SyncToken { get; set; }

Token indicating the state of the syncer.

Property Value
TypeDescription
String