Class HttpOperationConfig (0.7.2)

HttpOperationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Identifies a single API Hub operation by spec resource name + HTTP path + HTTP method.

Attributes

Name Description
spec str
Required. Spec resource name: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
path str
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.
method google.cloud.apihub_v1.types.HttpOperation.Method
Required. HTTP method of the operation within the referenced spec. (GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).