method property

String? method
getter/setter pair

HTTP method of the operation within the referenced spec.

(GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).

Required. Possible string values are:

  • "METHOD_UNSPECIFIED" : Method unspecified.
  • "GET" : Get Operation type.
  • "PUT" : Put Operation type.
  • "POST" : Post Operation type.
  • "DELETE" : Delete Operation type.
  • "OPTIONS" : Options Operation type.
  • "HEAD" : Head Operation type.
  • "PATCH" : Patch Operation type.
  • "TRACE" : Trace Operation type.

Implementation

core.String? method;