Class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
HTTP request data that is related to a reported error.
Instance Attribute Summary collapse
-
#response_status_code ⇒ Fixnum
The HTTP response status code for the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailLoggingHttpRequestContext
constructor
A new instance of GoogleCloudRetailLoggingHttpRequestContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailLoggingHttpRequestContext
Returns a new instance of GoogleCloudRetailLoggingHttpRequestContext.
179 180 181 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 179 def initialize(**args) update!(**args) end |
Instance Attribute Details
#response_status_code ⇒ Fixnum
The HTTP response status code for the request.
Corresponds to the JSON property responseStatusCode
177 178 179 |
# File 'lib/google/apis/retail_v2alpha/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_v2alpha/classes.rb', line 184 def update!(**args) @response_status_code = args[:response_status_code] if args.key?(:response_status_code) end |