Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::HttpOperation.
The HTTP Operation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#method
def method() -> ::Google::Cloud::ApiHub::V1::HttpOperation::Method
Returns
- (::Google::Cloud::ApiHub::V1::HttpOperation::Method) — 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.
#method=
def method=(value) -> ::Google::Cloud::ApiHub::V1::HttpOperation::Method
Parameter
- value (::Google::Cloud::ApiHub::V1::HttpOperation::Method) — 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.
Returns
- (::Google::Cloud::ApiHub::V1::HttpOperation::Method) — 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.
#path
def path() -> ::Google::Cloud::ApiHub::V1::Path
Returns
- (::Google::Cloud::ApiHub::V1::Path) — Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
#path=
def path=(value) -> ::Google::Cloud::ApiHub::V1::Path
Parameter
- value (::Google::Cloud::ApiHub::V1::Path) — Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
Returns
- (::Google::Cloud::ApiHub::V1::Path) — Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.