Class: Google::Apis::ApimV1alpha::HttpOperationHttpRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::HttpOperationHttpRequest
- 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
-
#headers ⇒ Hash<String,Google::Apis::ApimV1alpha::HttpOperationHeader>
Unordered map from header name to header metadata Corresponds to the JSON property
headers
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpOperationHttpRequest
constructor
A new instance of HttpOperationHttpRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpOperationHttpRequest
Returns a new instance of HttpOperationHttpRequest.
337 338 339 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headers ⇒ Hash<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
342 343 344 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 342 def update!(**args) @headers = args[:headers] if args.key?(:headers) end |