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.



449
450
451
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 449

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



447
448
449
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 447

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



454
455
456
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 454

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