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
more...

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.

[View source]

337
338
339
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 337

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


335
336
337
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 335

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

342
343
344
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 342

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