Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingHttpRequestContext

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



535
536
537
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 535

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)


533
534
535
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 533

def response_status_code
  @response_status_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



540
541
542
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 540

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