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
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.
402 403 404 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 402 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
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 |