Class: Google::Apis::ApimV1alpha::HttpOperationHttpRequest

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

Overview

An aggregation of HTTP requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpOperationHttpRequest

Returns a new instance of HttpOperationHttpRequest.



402
403
404
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 402

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

Instance Attribute Details

#headersHash<String,Google::Apis::ApimV1alpha::HttpOperationHeader>

Unordered map from header name to header metadata Corresponds to the JSON property headers



400
401
402
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 400

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



407
408
409
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 407

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