class Google::Apis::ServicecontrolV1::CheckResponse

Response message for the Check method.

Attributes

check_errors[RW]

Indicate the decision of the check. If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action. Corresponds to the JSON property `checkErrors` @return [Array<Google::Apis::ServicecontrolV1::CheckError>]

check_info[RW]

Contains additional information about the check operation. Corresponds to the JSON property `checkInfo` @return [Google::Apis::ServicecontrolV1::CheckInfo]

operation_id[RW]

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes. Corresponds to the JSON property `operationId` @return [String]

quota_info[RW]

Contains the quota information for a quota check response. Corresponds to the JSON property `quotaInfo` @return [Google::Apis::ServicecontrolV1::QuotaInfo]

service_config_id[RW]

The actual config id used to process the request. Corresponds to the JSON property `serviceConfigId` @return [String]

service_rollout_id[RW]

The current service rollout id used to process the request. Corresponds to the JSON property `serviceRolloutId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicecontrol_v1/classes.rb, line 640
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicecontrol_v1/classes.rb, line 645
def update!(**args)
  @check_errors = args[:check_errors] if args.key?(:check_errors)
  @check_info = args[:check_info] if args.key?(:check_info)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
  @quota_info = args[:quota_info] if args.key?(:quota_info)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
  @service_rollout_id = args[:service_rollout_id] if args.key?(:service_rollout_id)
end