API hub V1 API - Class Google::Cloud::ApiHub::V1::OperationConfig::HttpOperationConfig (v1.3.0)

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

#method=

def method=(value) -> ::Google::Cloud::ApiHub::V1::HttpOperation::Method
Parameter
Returns

#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}