Class: Google::Apis::ServicecontrolV1::EndReconciliationResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::EndReconciliationResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb
Instance Attribute Summary collapse
-
#operation_id ⇒ String
The same operation_id value used in the EndReconciliationRequest.
-
#quota_metrics ⇒ Array<Google::Apis::ServicecontrolV1::MetricValueSet>
Metric values as tracked by One Platform before the adjustment was made.
-
#reconciliation_errors ⇒ Array<Google::Apis::ServicecontrolV1::QuotaError>
Indicates the decision of the reconciliation end.
-
#service_config_id ⇒ String
ID of the actual config used to process the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndReconciliationResponse
constructor
A new instance of EndReconciliationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EndReconciliationResponse
Returns a new instance of EndReconciliationResponse
1329 1330 1331 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation_id ⇒ String
The same operation_id value used in the EndReconciliationRequest. Used for
logging and diagnostics purposes.
Corresponds to the JSON property operationId
1296 1297 1298 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1296 def operation_id @operation_id end |
#quota_metrics ⇒ Array<Google::Apis::ServicecontrolV1::MetricValueSet>
Metric values as tracked by One Platform before the adjustment was made. The following metrics will be included:
- Per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
- Value for each quota limit associated with the metrics will be specified using the following gauge metric: "serviceruntime.googleapis.com/quota/limit"
- Delta value of the usage after the reconciliation for limits associated
with the metrics will be specified using the following metric:
"serviceruntime.googleapis.com/allocation/reconciliation_delta"
The delta value is defined as:
new_usage_from_client - existing_value_in_spanner.
This metric is not defined in serviceruntime.yaml or in Cloud Monarch.
This metric is meant for callers' use only. Since this metric is not
defined in the monitoring backend, reporting on this metric will result in
an error.
Corresponds to the JSON property
quotaMetrics
1327 1328 1329 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1327 def quota_metrics @quota_metrics end |
#reconciliation_errors ⇒ Array<Google::Apis::ServicecontrolV1::QuotaError>
Indicates the decision of the reconciliation end.
Corresponds to the JSON property reconciliationErrors
1301 1302 1303 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1301 def reconciliation_errors @reconciliation_errors end |
#service_config_id ⇒ String
ID of the actual config used to process the request.
Corresponds to the JSON property serviceConfigId
1306 1307 1308 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1306 def service_config_id @service_config_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1334 1335 1336 1337 1338 1339 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1334 def update!(**args) @operation_id = args[:operation_id] if args.key?(:operation_id) @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) end |