Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingHttpRequestContext

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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) ⇒ GoogleCloudDiscoveryengineLoggingHttpRequestContext

Returns a new instance of GoogleCloudDiscoveryengineLoggingHttpRequestContext.



181
182
183
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 181

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)


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

def response_status_code
  @response_status_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



186
187
188
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 186

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