Class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingHttpRequestContext

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

HTTP request data that is related to a reported error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailLoggingHttpRequestContext

Returns a new instance of GoogleCloudRetailLoggingHttpRequestContext.



179
180
181
# File 'lib/google/apis/retail_v2beta/classes.rb', line 179

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

Instance Attribute Details

#response_status_codeFixnum

The HTTP response status code for the request. Corresponds to the JSON property responseStatusCode

Returns:

  • (Fixnum)


177
178
179
# File 'lib/google/apis/retail_v2beta/classes.rb', line 177

def response_status_code
  @response_status_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
# File 'lib/google/apis/retail_v2beta/classes.rb', line 184

def update!(**args)
  @response_status_code = args[:response_status_code] if args.key?(:response_status_code)
end