class Google::Apis::ApigeeV1::GoogleCloudApigeeV1Result
Result is short for “action result”, could be different types identified by “ action_result
” field. Supported types: 1. DebugInfo : generic debug info collected by runtime recorded as a list of properties. For example, the contents could be virtual host info, state change result, or execution metadata. Required fields : properties, timestamp 2. RequestMessage: information of a http request. Contains headers, request URI and http methods type.Required fields : headers, uri, verb 3. ResponseMessage: information of a http response. Contains headers, reason phrase and http status code. Required fields : headers, reasonPhrase, statusCode 4. ErrorMessage: information of a http error message. Contains detail error message, reason phrase and status code. Required fields : content, headers, reasonPhrase, statusCode 5. VariableAccess: a list of variable access actions, can be Get, Set and Remove. Required fields : accessList
Attributes
A list of variable access actions agaist the api proxy. Supported values: Get, Set, Remove. Corresponds to the JSON property `accessList` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Access>]
Type of the action result. Can be one of the five: DebugInfo, RequestMessage, ResponseMessage, ErrorMessage, VariableAccess Corresponds to the JSON property `ActionResult` @return [String]
Error message content. for example, “content” : “`"fault":`"faultstring":" API timed out","detail":`"errorcode":"flow.APITimedOut"“`” Corresponds to the JSON property `content` @return [String]
A list of HTTP headers. for example, '“headers” : [ ` “name” : “Content-Length” , “value” : “83” `, ` “name” : “Content-Type”, “value” : “application/json” ` ] ' Corresponds to the JSON property `headers` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Property>]
Message for compatibility with legacy Edge specification for Java Properties object in JSON. Corresponds to the JSON property `properties` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties]
HTTP response phrase Corresponds to the JSON property `reasonPhrase` @return [String]
HTTP response code Corresponds to the JSON property `statusCode` @return [String]
Timestamp of when the result is recorded. Its format is dd-mm-yy hh:mm:ss:xxx. For example, `“timestamp” : “12-08-19 00:31:59:960”` Corresponds to the JSON property `timestamp` @return [String]
The relative path of the api proxy. for example, `“uRI” : “/iloveapis”` Corresponds to the JSON property `uRI` @return [String]
HTTP method verb Corresponds to the JSON property `verb` @return [String]
Public Class Methods
# File lib/google/apis/apigee_v1/classes.rb, line 6065 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 6070 def update!(**args) @action_result = args[:action_result] if args.key?(:action_result) @access_list = args[:access_list] if args.key?(:access_list) @content = args[:content] if args.key?(:content) @headers = args[:headers] if args.key?(:headers) @properties = args[:properties] if args.key?(:properties) @reason_phrase = args[:reason_phrase] if args.key?(:reason_phrase) @status_code = args[:status_code] if args.key?(:status_code) @timestamp = args[:timestamp] if args.key?(:timestamp) @u_ri = args[:u_ri] if args.key?(:u_ri) @verb = args[:verb] if args.key?(:verb) end