Class: Google::Cloud::GkeHub::ConfigManagement::V1::SyncState
- Inherits:
-
Object
- Object
- Google::Cloud::GkeHub::ConfigManagement::V1::SyncState
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb
Overview
State indicating an ACM's progress syncing configurations to a cluster
Defined Under Namespace
Modules: SyncCode
Instance Attribute Summary collapse
-
#code ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode
Sync status code.
-
#errors ⇒ ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::SyncError>
A list of errors resulting from problematic configs.
-
#import_token ⇒ ::String
Token indicating the state of the importer.
-
#last_sync ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#last_sync_time ⇒ ::Google::Protobuf::Timestamp
Timestamp type of when ACM last successfully synced the repo.
-
#source_token ⇒ ::String
Token indicating the state of the repo.
-
#sync_token ⇒ ::String
Token indicating the state of the syncer.
Instance Attribute Details
#code ⇒ ::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState::SyncCode
Returns Sync status code.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#errors ⇒ ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::SyncError>
Returns 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.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#import_token ⇒ ::String
Returns Token indicating the state of the importer.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#last_sync ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns 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.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#last_sync_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp type of when ACM last successfully synced the repo.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#source_token ⇒ ::String
Returns Token indicating the state of the repo.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |
#sync_token ⇒ ::String
Returns Token indicating the state of the syncer.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 449 class SyncState include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum representing Config Sync's status of syncing configs to a cluster. module SyncCode # Config Sync cannot determine a sync code SYNC_CODE_UNSPECIFIED = 0 # Config Sync successfully synced the git Repo with the cluster SYNCED = 1 # Config Sync is in the progress of syncing a new change PENDING = 2 # Indicates an error configuring Config Sync, and user action is required ERROR = 3 # Config Sync has been installed but not configured NOT_CONFIGURED = 4 # Config Sync has not been installed NOT_INSTALLED = 5 # Error authorizing with the cluster UNAUTHORIZED = 6 # Cluster could not be reached UNREACHABLE = 7 end end |