Class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1HttpRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
An aggregation of HTTP requests.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1HttpRequest
constructor
A new instance of GoogleCloudApihubV1HttpRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1HttpRequest
Returns a new instance of GoogleCloudApihubV1HttpRequest.
2682 2683 2684 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headers ⇒ Hash<String,Google::Apis::ApihubV1::GoogleCloudApihubV1Header>
Optional. Unordered map from header name to header metadata
Corresponds to the JSON property headers
2680 2681 2682 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2680 def headers @headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2687 2688 2689 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2687 def update!(**args) @headers = args[:headers] if args.key?(:headers) end |