Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::ConfigManagement::V1::SyncState.
State indicating an ACM's progress syncing configurations to a cluster
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode) — Sync status code
#code=
def code=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode
Parameter
- value (::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode) — Sync status code
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode) — Sync status code
#errors
def errors() -> ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::SyncError>
Returns
- (::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::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.
#errors=
def errors=(value) -> ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::SyncError>
Parameter
- value (::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::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.
Returns
- (::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::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.
#import_token
def import_token() -> ::String
Returns
- (::String) — Token indicating the state of the importer.
#import_token=
def import_token=(value) -> ::String
Parameter
- value (::String) — Token indicating the state of the importer.
Returns
- (::String) — Token indicating the state of the importer.
#last_sync
def last_sync() -> ::String
Returns
- (::String) — 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=
def last_sync=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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
def last_sync_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Timestamp type of when ACM last successfully synced the repo
#last_sync_time=
def last_sync_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Timestamp type of when ACM last successfully synced the repo
Returns
- (::Google::Protobuf::Timestamp) — Timestamp type of when ACM last successfully synced the repo
#source_token
def source_token() -> ::String
Returns
- (::String) — Token indicating the state of the repo.
#source_token=
def source_token=(value) -> ::String
Parameter
- value (::String) — Token indicating the state of the repo.
Returns
- (::String) — Token indicating the state of the repo.
#sync_token
def sync_token() -> ::String
Returns
- (::String) — Token indicating the state of the syncer.
#sync_token=
def sync_token=(value) -> ::String
Parameter
- value (::String) — Token indicating the state of the syncer.
Returns
- (::String) — Token indicating the state of the syncer.