Class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation
- 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
The HTTP Operation.
Instance Attribute Summary collapse
-
#method_prop ⇒ String
Optional.
-
#path ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Path
The path details derived from the spec.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1HttpOperation
constructor
A new instance of GoogleCloudApihubV1HttpOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1HttpOperation
Returns a new instance of GoogleCloudApihubV1HttpOperation.
2685 2686 2687 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_prop ⇒ String
Optional. Operation method Note: Even though this field is optional, it is
required for CreateApiOperation API and we will fail the request if not
provided.
Corresponds to the JSON property method
2678 2679 2680 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2678 def method_prop @method_prop end |
#path ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Path
The path details derived from the spec.
Corresponds to the JSON property path
2683 2684 2685 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2683 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2690 2691 2692 2693 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2690 def update!(**args) @method_prop = args[:method_prop] if args.key?(:method_prop) @path = args[:path] if args.key?(:path) end |