Class: Google::Apis::SaasservicemgmtV1beta1::ReplicationStats
- Inherits:
-
Object
- Object
- Google::Apis::SaasservicemgmtV1beta1::ReplicationStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/saasservicemgmt_v1beta1/classes.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb
Overview
ReplicationStats contains the stats of the replication. It contains the resources that are pending, finished, failed, and the errors if any.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::SaasservicemgmtV1beta1::Status>
The errors that occurred during replication, one error for each failed resource.
-
#failed_resources ⇒ Array<String>
The resources that are failed replication.
-
#finished_resources ⇒ Array<String>
The resources that are finished replication.
-
#pending_resources ⇒ Array<String>
The resources that are pending replication.
-
#retry_count ⇒ Array<Fixnum>
The number of retries for the failed resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicationStats
constructor
A new instance of ReplicationStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplicationStats
Returns a new instance of ReplicationStats.
902 903 904 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::SaasservicemgmtV1beta1::Status>
The errors that occurred during replication, one error for each failed
resource.
Corresponds to the JSON property errors
880 881 882 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 880 def errors @errors end |
#failed_resources ⇒ Array<String>
The resources that are failed replication.
Corresponds to the JSON property failedResources
885 886 887 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 885 def failed_resources @failed_resources end |
#finished_resources ⇒ Array<String>
The resources that are finished replication.
Corresponds to the JSON property finishedResources
890 891 892 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 890 def finished_resources @finished_resources end |
#pending_resources ⇒ Array<String>
The resources that are pending replication.
Corresponds to the JSON property pendingResources
895 896 897 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 895 def pending_resources @pending_resources end |
#retry_count ⇒ Array<Fixnum>
The number of retries for the failed resources.
Corresponds to the JSON property retryCount
900 901 902 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 900 def retry_count @retry_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
907 908 909 910 911 912 913 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 907 def update!(**args) @errors = args[:errors] if args.key?(:errors) @failed_resources = args[:failed_resources] if args.key?(:failed_resources) @finished_resources = args[:finished_resources] if args.key?(:finished_resources) @pending_resources = args[:pending_resources] if args.key?(:pending_resources) @retry_count = args[:retry_count] if args.key?(:retry_count) end |