Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::OperationConfig::HttpOperationConfig.
Identifies a single API Hub operation by spec resource name + HTTP path + HTTP method.
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) — Required. HTTP method of the operation within the referenced spec. (GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).
#method=
def method=(value) -> ::Google::Cloud::ApiHub::V1::HttpOperation::Method
Parameter
- value (::Google::Cloud::ApiHub::V1::HttpOperation::Method) — Required. HTTP method of the operation within the referenced spec. (GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).
Returns
- (::Google::Cloud::ApiHub::V1::HttpOperation::Method) — Required. HTTP method of the operation within the referenced spec. (GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).
#path
def path() -> ::String
Returns
- (::String) — Required. HTTP path of the operation within the referenced spec. Match is exact (no template substitution): the path here must appear verbatim on an APIOperationRevision belonging to the spec.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Required. HTTP path of the operation within the referenced spec. Match is exact (no template substitution): the path here must appear verbatim on an APIOperationRevision belonging to the spec.
Returns
- (::String) — Required. HTTP path of the operation within the referenced spec. Match is exact (no template substitution): the path here must appear verbatim on an APIOperationRevision belonging to the spec.
#spec
def spec() -> ::String
Returns
-
(::String) — Required. Spec resource name:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
#spec=
def spec=(value) -> ::String
Parameter
-
value (::String) — Required. Spec resource name:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Returns
-
(::String) — Required. Spec resource name:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}