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.



596
597
598
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 596

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)


594
595
596
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 594

def response_status_code
  @response_status_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 601

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