GKE Hub v1 API - Class SyncState (2.3.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
NameDescription
otherSyncState

Properties

Code

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

Sync status code

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

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