Class: Google::Apis::ServicecontrolV1::StartReconciliationResponse

Inherits:
Object
  • Object
show all
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

Overview

Response message for QuotaController.StartReconciliation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StartReconciliationResponse

Returns a new instance of StartReconciliationResponse



1707
1708
1709
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1707

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#operation_idString

The same operation_id value used in the StartReconciliationRequest. Used for logging and diagnostics purposes. Corresponds to the JSON property operationId

Returns:

  • (String)


1683
1684
1685
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1683

def operation_id
  @operation_id
end

#quota_metricsArray<Google::Apis::ServicecontrolV1::MetricValueSet>

Metric values as tracked by One Platform before the start of reconciliation. The following metrics will be included:

  1. Per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
  2. Value for each quota limit associated with the metrics will be specified using the following gauge metric: "serviceruntime.googleapis.com/quota/limit" Corresponds to the JSON property quotaMetrics


1695
1696
1697
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1695

def quota_metrics
  @quota_metrics
end

#reconciliation_errorsArray<Google::Apis::ServicecontrolV1::QuotaError>

Indicates the decision of the reconciliation start. Corresponds to the JSON property reconciliationErrors



1700
1701
1702
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1700

def reconciliation_errors
  @reconciliation_errors
end

#service_config_idString

ID of the actual config used to process the request. Corresponds to the JSON property serviceConfigId

Returns:

  • (String)


1705
1706
1707
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1705

def service_config_id
  @service_config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1712
1713
1714
1715
1716
1717
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1712

def update!(**args)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
  @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics)
  @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
end