Class: Google::Apis::ServicecontrolV1::CheckResponse

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 the Check method.

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) ⇒ CheckResponse

Returns a new instance of CheckResponse



1057
1058
1059
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1057

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

Instance Attribute Details

#check_errorsArray<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



1040
1041
1042
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1040

def check_errors
  @check_errors
end

#check_infoGoogle::Apis::ServicecontrolV1::CheckInfo

Feedback data returned from the server during processing a Check request. Corresponds to the JSON property checkInfo



1045
1046
1047
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1045

def check_info
  @check_info
end

#operation_idString

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

Returns:

  • (String)


1032
1033
1034
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1032

def operation_id
  @operation_id
end

#quota_infoGoogle::Apis::ServicecontrolV1::QuotaInfo

Contains the quota information for a quota check response. Corresponds to the JSON property quotaInfo



1050
1051
1052
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1050

def quota_info
  @quota_info
end

#service_config_idString

The actual config id used to process the request. Corresponds to the JSON property serviceConfigId

Returns:

  • (String)


1055
1056
1057
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1055

def service_config_id
  @service_config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1062
1063
1064
1065
1066
1067
1068
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1062

def update!(**args)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
  @check_errors = args[:check_errors] if args.key?(:check_errors)
  @check_info = args[:check_info] if args.key?(:check_info)
  @quota_info = args[:quota_info] if args.key?(:quota_info)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
end