Class: Google::Apis::ServicecontrolV1::CheckResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::CheckResponse
- 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 the Check method.
Instance Attribute Summary collapse
-
#check_errors ⇒ Array<Google::Apis::ServicecontrolV1::CheckError>
Indicate the decision of the check.
-
#check_info ⇒ Google::Apis::ServicecontrolV1::CheckInfo
Feedback data returned from the server during processing a Check request.
-
#operation_id ⇒ String
The same operation_id value used in the CheckRequest.
-
#quota_info ⇒ Google::Apis::ServicecontrolV1::QuotaInfo
Contains the quota information for a quota check response.
-
#service_config_id ⇒ String
The actual config id used to process the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckResponse
constructor
A new instance of CheckResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CheckResponse
Returns a new instance of CheckResponse
763 764 765 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#check_errors ⇒ Array<Google::Apis::ServicecontrolV1::CheckError>
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
745 746 747 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 745 def check_errors @check_errors end |
#check_info ⇒ Google::Apis::ServicecontrolV1::CheckInfo
Feedback data returned from the server during processing a Check request.
Corresponds to the JSON property checkInfo
737 738 739 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 737 def check_info @check_info end |
#operation_id ⇒ String
The same operation_id value used in the CheckRequest.
Used for logging and diagnostics purposes.
Corresponds to the JSON property operationId
751 752 753 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 751 def operation_id @operation_id end |
#quota_info ⇒ Google::Apis::ServicecontrolV1::QuotaInfo
Contains the quota information for a quota check response.
Corresponds to the JSON property quotaInfo
761 762 763 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 761 def quota_info @quota_info end |
#service_config_id ⇒ String
The actual config id used to process the request.
Corresponds to the JSON property serviceConfigId
756 757 758 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 756 def service_config_id @service_config_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
768 769 770 771 772 773 774 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 768 def update!(**args) @check_info = args[:check_info] if args.key?(:check_info) @check_errors = args[:check_errors] if args.key?(:check_errors) @operation_id = args[:operation_id] if args.key?(:operation_id) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @quota_info = args[:quota_info] if args.key?(:quota_info) end |