Documentation ¶
Index ¶
- func RegisterHandlers(router *gmux.Router, backend *services.Backend)
- type Echo_ExpandServer
- type Messaging_StreamBlurbsServer
- type RESTBackend
- func (backend *RESTBackend) Error(w http.ResponseWriter, httpStatus int, format string, args ...interface{})
- func (backend *RESTBackend) HandleAttemptSequence(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleAttemptStreamingSequence(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleBlock(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCancelOperation(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCollect(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateBlurb(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateBlurb_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateRoom(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateSequence(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateSession(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateStreamingSequence(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleCreateUser(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteBlurb(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteBlurb_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteOperation(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteRoom(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteSession(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteTest(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleDeleteUser(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleEcho(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleEchoErrorDetails(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleExpand(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetBlurb(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetBlurb_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetEnum(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetIamPolicy(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetIamPolicy_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetIamPolicy_2(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetIamPolicy_3(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetLocation(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetOperation(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetRoom(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetSequenceReport(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetSession(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetStreamingSequenceReport(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleGetUser(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListBlurbs(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListBlurbs_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListLocations(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListOperations(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListRooms(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListSessions(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListTests(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleListUsers(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandlePagedExpand(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandlePagedExpandLegacy(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandlePagedExpandLegacyMapped(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataBody(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataBodyInfo(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataBodyPatch(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataBodyPut(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataPathResource(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataPathResource_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataPathTrailingResource(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataQuery(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleRepeatDataSimplePath(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleReportSession(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSearchBlurbs(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSearchBlurbs_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSendBlurbs(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSendBlurbs_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSetIamPolicy(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSetIamPolicy_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSetIamPolicy_2(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleSetIamPolicy_3(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleStreamBlurbs(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleStreamBlurbs_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleTestIamPermissions(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleTestIamPermissions_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleTestIamPermissions_2(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleTestIamPermissions_3(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleUpdateBlurb(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleUpdateBlurb_1(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleUpdateRoom(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleUpdateUser(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleVerifyEnum(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleVerifyTest(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) HandleWait(w http.ResponseWriter, r *http.Request)
- func (backend *RESTBackend) ReportGRPCError(w http.ResponseWriter, err error)
- type SequenceService_AttemptStreamingSequenceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Echo_ExpandServer ¶ added in v0.17.0
type Echo_ExpandServer struct {
*resttools.ServerStreamer
}
Echo_ExpandServer implements genprotopb.Echo_ExpandServer to provide server-side streaming over REST, returning all the individual responses as part of a long JSON list.
func (*Echo_ExpandServer) Send ¶ added in v0.17.0
func (streamer *Echo_ExpandServer) Send(response *genprotopb.EchoResponse) error
Send accumulates a response to be fetched later as part of response list returned over REST.
type Messaging_StreamBlurbsServer ¶ added in v0.17.0
type Messaging_StreamBlurbsServer struct {
*resttools.ServerStreamer
}
Messaging_StreamBlurbsServer implements genprotopb.Messaging_StreamBlurbsServer to provide server-side streaming over REST, returning all the individual responses as part of a long JSON list.
func (*Messaging_StreamBlurbsServer) Send ¶ added in v0.17.0
func (streamer *Messaging_StreamBlurbsServer) Send(response *genprotopb.StreamBlurbsResponse) error
Send accumulates a response to be fetched later as part of response list returned over REST.
type RESTBackend ¶
func (*RESTBackend) Error ¶
func (backend *RESTBackend) Error(w http.ResponseWriter, httpStatus int, format string, args ...interface{})
func (*RESTBackend) HandleAttemptSequence ¶
func (backend *RESTBackend) HandleAttemptSequence(w http.ResponseWriter, r *http.Request)
HandleAttemptSequence translates REST requests/responses on the wire to internal proto messages for AttemptSequence
Generated for HTTP binding pattern: POST "/v1beta1/{name=sequences/*}"
func (*RESTBackend) HandleAttemptStreamingSequence ¶ added in v0.27.0
func (backend *RESTBackend) HandleAttemptStreamingSequence(w http.ResponseWriter, r *http.Request)
HandleAttemptStreamingSequence translates REST requests/responses on the wire to internal proto messages for AttemptStreamingSequence
Generated for HTTP binding pattern: POST "/v1beta1/{name=streamingSequences/*}:stream"
func (*RESTBackend) HandleBlock ¶
func (backend *RESTBackend) HandleBlock(w http.ResponseWriter, r *http.Request)
HandleBlock translates REST requests/responses on the wire to internal proto messages for Block
Generated for HTTP binding pattern: POST "/v1beta1/echo:block"
func (*RESTBackend) HandleCancelOperation ¶ added in v0.22.0
func (backend *RESTBackend) HandleCancelOperation(w http.ResponseWriter, r *http.Request)
HandleCancelOperation translates REST requests/responses on the wire to internal proto messages for CancelOperation
Generated for HTTP binding pattern: POST "/v1beta1/{name=operations/**}:cancel"
func (*RESTBackend) HandleCollect ¶
func (backend *RESTBackend) HandleCollect(w http.ResponseWriter, r *http.Request)
HandleCollect translates REST requests/responses on the wire to internal proto messages for Collect
Generated for HTTP binding pattern: POST "/v1beta1/echo:collect"
func (*RESTBackend) HandleCreateBlurb ¶
func (backend *RESTBackend) HandleCreateBlurb(w http.ResponseWriter, r *http.Request)
HandleCreateBlurb translates REST requests/responses on the wire to internal proto messages for CreateBlurb
Generated for HTTP binding pattern: POST "/v1beta1/{parent=rooms/*}/blurbs"
func (*RESTBackend) HandleCreateBlurb_1 ¶
func (backend *RESTBackend) HandleCreateBlurb_1(w http.ResponseWriter, r *http.Request)
HandleCreateBlurb_1 translates REST requests/responses on the wire to internal proto messages for CreateBlurb
Generated for HTTP binding pattern: POST "/v1beta1/{parent=users/*/profile}/blurbs"
func (*RESTBackend) HandleCreateRoom ¶
func (backend *RESTBackend) HandleCreateRoom(w http.ResponseWriter, r *http.Request)
HandleCreateRoom translates REST requests/responses on the wire to internal proto messages for CreateRoom
Generated for HTTP binding pattern: POST "/v1beta1/rooms"
func (*RESTBackend) HandleCreateSequence ¶
func (backend *RESTBackend) HandleCreateSequence(w http.ResponseWriter, r *http.Request)
HandleCreateSequence translates REST requests/responses on the wire to internal proto messages for CreateSequence
Generated for HTTP binding pattern: POST "/v1beta1/sequences"
func (*RESTBackend) HandleCreateSession ¶
func (backend *RESTBackend) HandleCreateSession(w http.ResponseWriter, r *http.Request)
HandleCreateSession translates REST requests/responses on the wire to internal proto messages for CreateSession
Generated for HTTP binding pattern: POST "/v1beta1/sessions"
func (*RESTBackend) HandleCreateStreamingSequence ¶ added in v0.27.0
func (backend *RESTBackend) HandleCreateStreamingSequence(w http.ResponseWriter, r *http.Request)
HandleCreateStreamingSequence translates REST requests/responses on the wire to internal proto messages for CreateStreamingSequence
Generated for HTTP binding pattern: POST "/v1beta1/streamingSequences"
func (*RESTBackend) HandleCreateUser ¶
func (backend *RESTBackend) HandleCreateUser(w http.ResponseWriter, r *http.Request)
HandleCreateUser translates REST requests/responses on the wire to internal proto messages for CreateUser
Generated for HTTP binding pattern: POST "/v1beta1/users"
func (*RESTBackend) HandleDeleteBlurb ¶
func (backend *RESTBackend) HandleDeleteBlurb(w http.ResponseWriter, r *http.Request)
HandleDeleteBlurb translates REST requests/responses on the wire to internal proto messages for DeleteBlurb
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=rooms/*/blurbs/*}"
func (*RESTBackend) HandleDeleteBlurb_1 ¶
func (backend *RESTBackend) HandleDeleteBlurb_1(w http.ResponseWriter, r *http.Request)
HandleDeleteBlurb_1 translates REST requests/responses on the wire to internal proto messages for DeleteBlurb
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=users/*/profile/blurbs/*}"
func (*RESTBackend) HandleDeleteOperation ¶ added in v0.22.0
func (backend *RESTBackend) HandleDeleteOperation(w http.ResponseWriter, r *http.Request)
HandleDeleteOperation translates REST requests/responses on the wire to internal proto messages for DeleteOperation
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=operations/**}"
func (*RESTBackend) HandleDeleteRoom ¶
func (backend *RESTBackend) HandleDeleteRoom(w http.ResponseWriter, r *http.Request)
HandleDeleteRoom translates REST requests/responses on the wire to internal proto messages for DeleteRoom
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=rooms/*}"
func (*RESTBackend) HandleDeleteSession ¶
func (backend *RESTBackend) HandleDeleteSession(w http.ResponseWriter, r *http.Request)
HandleDeleteSession translates REST requests/responses on the wire to internal proto messages for DeleteSession
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=sessions/*}"
func (*RESTBackend) HandleDeleteTest ¶
func (backend *RESTBackend) HandleDeleteTest(w http.ResponseWriter, r *http.Request)
HandleDeleteTest translates REST requests/responses on the wire to internal proto messages for DeleteTest
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=sessions/*/tests/*}"
func (*RESTBackend) HandleDeleteUser ¶
func (backend *RESTBackend) HandleDeleteUser(w http.ResponseWriter, r *http.Request)
HandleDeleteUser translates REST requests/responses on the wire to internal proto messages for DeleteUser
Generated for HTTP binding pattern: DELETE "/v1beta1/{name=users/*}"
func (*RESTBackend) HandleEcho ¶
func (backend *RESTBackend) HandleEcho(w http.ResponseWriter, r *http.Request)
HandleEcho translates REST requests/responses on the wire to internal proto messages for Echo
Generated for HTTP binding pattern: POST "/v1beta1/echo:echo"
func (*RESTBackend) HandleEchoErrorDetails ¶ added in v0.29.0
func (backend *RESTBackend) HandleEchoErrorDetails(w http.ResponseWriter, r *http.Request)
HandleEchoErrorDetails translates REST requests/responses on the wire to internal proto messages for EchoErrorDetails
Generated for HTTP binding pattern: POST "/v1beta1/echo:error-details"
func (*RESTBackend) HandleExpand ¶
func (backend *RESTBackend) HandleExpand(w http.ResponseWriter, r *http.Request)
HandleExpand translates REST requests/responses on the wire to internal proto messages for Expand
Generated for HTTP binding pattern: POST "/v1beta1/echo:expand"
func (*RESTBackend) HandleGetBlurb ¶
func (backend *RESTBackend) HandleGetBlurb(w http.ResponseWriter, r *http.Request)
HandleGetBlurb translates REST requests/responses on the wire to internal proto messages for GetBlurb
Generated for HTTP binding pattern: GET "/v1beta1/{name=rooms/*/blurbs/*}"
func (*RESTBackend) HandleGetBlurb_1 ¶
func (backend *RESTBackend) HandleGetBlurb_1(w http.ResponseWriter, r *http.Request)
HandleGetBlurb_1 translates REST requests/responses on the wire to internal proto messages for GetBlurb
Generated for HTTP binding pattern: GET "/v1beta1/{name=users/*/profile/blurbs/*}"
func (*RESTBackend) HandleGetEnum ¶ added in v0.24.0
func (backend *RESTBackend) HandleGetEnum(w http.ResponseWriter, r *http.Request)
HandleGetEnum translates REST requests/responses on the wire to internal proto messages for GetEnum
Generated for HTTP binding pattern: GET "/v1beta1/compliance/enum"
func (*RESTBackend) HandleGetIamPolicy ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetIamPolicy(w http.ResponseWriter, r *http.Request)
HandleGetIamPolicy translates REST requests/responses on the wire to internal proto messages for GetIamPolicy
Generated for HTTP binding pattern: GET "/v1beta1/{resource=users/*}:getIamPolicy"
func (*RESTBackend) HandleGetIamPolicy_1 ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetIamPolicy_1(w http.ResponseWriter, r *http.Request)
HandleGetIamPolicy_1 translates REST requests/responses on the wire to internal proto messages for GetIamPolicy
Generated for HTTP binding pattern: GET "/v1beta1/{resource=rooms/*}:getIamPolicy"
func (*RESTBackend) HandleGetIamPolicy_2 ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetIamPolicy_2(w http.ResponseWriter, r *http.Request)
HandleGetIamPolicy_2 translates REST requests/responses on the wire to internal proto messages for GetIamPolicy
Generated for HTTP binding pattern: GET "/v1beta1/{resource=rooms/*/blurbs/*}:getIamPolicy"
func (*RESTBackend) HandleGetIamPolicy_3 ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetIamPolicy_3(w http.ResponseWriter, r *http.Request)
HandleGetIamPolicy_3 translates REST requests/responses on the wire to internal proto messages for GetIamPolicy
Generated for HTTP binding pattern: GET "/v1beta1/{resource=sequences/*}:getIamPolicy"
func (*RESTBackend) HandleGetLocation ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetLocation(w http.ResponseWriter, r *http.Request)
HandleGetLocation translates REST requests/responses on the wire to internal proto messages for GetLocation
Generated for HTTP binding pattern: GET "/v1beta1/{name=projects/*/locations/*}"
func (*RESTBackend) HandleGetOperation ¶ added in v0.22.0
func (backend *RESTBackend) HandleGetOperation(w http.ResponseWriter, r *http.Request)
HandleGetOperation translates REST requests/responses on the wire to internal proto messages for GetOperation
Generated for HTTP binding pattern: GET "/v1beta1/{name=operations/**}"
func (*RESTBackend) HandleGetRoom ¶
func (backend *RESTBackend) HandleGetRoom(w http.ResponseWriter, r *http.Request)
HandleGetRoom translates REST requests/responses on the wire to internal proto messages for GetRoom
Generated for HTTP binding pattern: GET "/v1beta1/{name=rooms/*}"
func (*RESTBackend) HandleGetSequenceReport ¶
func (backend *RESTBackend) HandleGetSequenceReport(w http.ResponseWriter, r *http.Request)
HandleGetSequenceReport translates REST requests/responses on the wire to internal proto messages for GetSequenceReport
Generated for HTTP binding pattern: GET "/v1beta1/{name=sequences/*/sequenceReport}"
func (*RESTBackend) HandleGetSession ¶
func (backend *RESTBackend) HandleGetSession(w http.ResponseWriter, r *http.Request)
HandleGetSession translates REST requests/responses on the wire to internal proto messages for GetSession
Generated for HTTP binding pattern: GET "/v1beta1/{name=sessions/*}"
func (*RESTBackend) HandleGetStreamingSequenceReport ¶ added in v0.27.0
func (backend *RESTBackend) HandleGetStreamingSequenceReport(w http.ResponseWriter, r *http.Request)
HandleGetStreamingSequenceReport translates REST requests/responses on the wire to internal proto messages for GetStreamingSequenceReport
Generated for HTTP binding pattern: GET "/v1beta1/{name=streamingSequences/*/streamingSequenceReport}"
func (*RESTBackend) HandleGetUser ¶
func (backend *RESTBackend) HandleGetUser(w http.ResponseWriter, r *http.Request)
HandleGetUser translates REST requests/responses on the wire to internal proto messages for GetUser
Generated for HTTP binding pattern: GET "/v1beta1/{name=users/*}"
func (*RESTBackend) HandleListBlurbs ¶
func (backend *RESTBackend) HandleListBlurbs(w http.ResponseWriter, r *http.Request)
HandleListBlurbs translates REST requests/responses on the wire to internal proto messages for ListBlurbs
Generated for HTTP binding pattern: GET "/v1beta1/{parent=rooms/*}/blurbs"
func (*RESTBackend) HandleListBlurbs_1 ¶
func (backend *RESTBackend) HandleListBlurbs_1(w http.ResponseWriter, r *http.Request)
HandleListBlurbs_1 translates REST requests/responses on the wire to internal proto messages for ListBlurbs
Generated for HTTP binding pattern: GET "/v1beta1/{parent=users/*/profile}/blurbs"
func (*RESTBackend) HandleListLocations ¶ added in v0.27.0
func (backend *RESTBackend) HandleListLocations(w http.ResponseWriter, r *http.Request)
HandleListLocations translates REST requests/responses on the wire to internal proto messages for ListLocations
Generated for HTTP binding pattern: GET "/v1beta1/{name=projects/*}/locations"
func (*RESTBackend) HandleListOperations ¶ added in v0.22.0
func (backend *RESTBackend) HandleListOperations(w http.ResponseWriter, r *http.Request)
HandleListOperations translates REST requests/responses on the wire to internal proto messages for ListOperations
Generated for HTTP binding pattern: GET "/v1beta1/operations"
func (*RESTBackend) HandleListRooms ¶
func (backend *RESTBackend) HandleListRooms(w http.ResponseWriter, r *http.Request)
HandleListRooms translates REST requests/responses on the wire to internal proto messages for ListRooms
Generated for HTTP binding pattern: GET "/v1beta1/rooms"
func (*RESTBackend) HandleListSessions ¶
func (backend *RESTBackend) HandleListSessions(w http.ResponseWriter, r *http.Request)
HandleListSessions translates REST requests/responses on the wire to internal proto messages for ListSessions
Generated for HTTP binding pattern: GET "/v1beta1/sessions"
func (*RESTBackend) HandleListTests ¶
func (backend *RESTBackend) HandleListTests(w http.ResponseWriter, r *http.Request)
HandleListTests translates REST requests/responses on the wire to internal proto messages for ListTests
Generated for HTTP binding pattern: GET "/v1beta1/{parent=sessions/*}/tests"
func (*RESTBackend) HandleListUsers ¶
func (backend *RESTBackend) HandleListUsers(w http.ResponseWriter, r *http.Request)
HandleListUsers translates REST requests/responses on the wire to internal proto messages for ListUsers
Generated for HTTP binding pattern: GET "/v1beta1/users"
func (*RESTBackend) HandlePagedExpand ¶
func (backend *RESTBackend) HandlePagedExpand(w http.ResponseWriter, r *http.Request)
HandlePagedExpand translates REST requests/responses on the wire to internal proto messages for PagedExpand
Generated for HTTP binding pattern: POST "/v1beta1/echo:pagedExpand"
func (*RESTBackend) HandlePagedExpandLegacy ¶ added in v0.17.0
func (backend *RESTBackend) HandlePagedExpandLegacy(w http.ResponseWriter, r *http.Request)
HandlePagedExpandLegacy translates REST requests/responses on the wire to internal proto messages for PagedExpandLegacy
Generated for HTTP binding pattern: POST "/v1beta1/echo:pagedExpandLegacy"
func (*RESTBackend) HandlePagedExpandLegacyMapped ¶ added in v0.17.0
func (backend *RESTBackend) HandlePagedExpandLegacyMapped(w http.ResponseWriter, r *http.Request)
HandlePagedExpandLegacyMapped translates REST requests/responses on the wire to internal proto messages for PagedExpandLegacyMapped
Generated for HTTP binding pattern: POST "/v1beta1/echo:pagedExpandLegacyMapped"
func (*RESTBackend) HandleRepeatDataBody ¶
func (backend *RESTBackend) HandleRepeatDataBody(w http.ResponseWriter, r *http.Request)
HandleRepeatDataBody translates REST requests/responses on the wire to internal proto messages for RepeatDataBody
Generated for HTTP binding pattern: POST "/v1beta1/repeat:body"
func (*RESTBackend) HandleRepeatDataBodyInfo ¶
func (backend *RESTBackend) HandleRepeatDataBodyInfo(w http.ResponseWriter, r *http.Request)
HandleRepeatDataBodyInfo translates REST requests/responses on the wire to internal proto messages for RepeatDataBodyInfo
Generated for HTTP binding pattern: POST "/v1beta1/repeat:bodyinfo"
func (*RESTBackend) HandleRepeatDataBodyPatch ¶ added in v0.17.0
func (backend *RESTBackend) HandleRepeatDataBodyPatch(w http.ResponseWriter, r *http.Request)
HandleRepeatDataBodyPatch translates REST requests/responses on the wire to internal proto messages for RepeatDataBodyPatch
Generated for HTTP binding pattern: PATCH "/v1beta1/repeat:bodypatch"
func (*RESTBackend) HandleRepeatDataBodyPut ¶ added in v0.17.0
func (backend *RESTBackend) HandleRepeatDataBodyPut(w http.ResponseWriter, r *http.Request)
HandleRepeatDataBodyPut translates REST requests/responses on the wire to internal proto messages for RepeatDataBodyPut
Generated for HTTP binding pattern: PUT "/v1beta1/repeat:bodyput"
func (*RESTBackend) HandleRepeatDataPathResource ¶
func (backend *RESTBackend) HandleRepeatDataPathResource(w http.ResponseWriter, r *http.Request)
HandleRepeatDataPathResource translates REST requests/responses on the wire to internal proto messages for RepeatDataPathResource
Generated for HTTP binding pattern: GET "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/*}/bool/{info.f_bool}:pathresource"
func (*RESTBackend) HandleRepeatDataPathResource_1 ¶ added in v0.23.0
func (backend *RESTBackend) HandleRepeatDataPathResource_1(w http.ResponseWriter, r *http.Request)
HandleRepeatDataPathResource_1 translates REST requests/responses on the wire to internal proto messages for RepeatDataPathResource
Generated for HTTP binding pattern: GET "/v1beta1/repeat/{info.f_child.f_string=first/*}/{info.f_string=second/*}/bool/{info.f_bool}:childfirstpathresource"
func (*RESTBackend) HandleRepeatDataPathTrailingResource ¶
func (backend *RESTBackend) HandleRepeatDataPathTrailingResource(w http.ResponseWriter, r *http.Request)
HandleRepeatDataPathTrailingResource translates REST requests/responses on the wire to internal proto messages for RepeatDataPathTrailingResource
Generated for HTTP binding pattern: GET "/v1beta1/repeat/{info.f_string=first/*}/{info.f_child.f_string=second/**}:pathtrailingresource"
func (*RESTBackend) HandleRepeatDataQuery ¶
func (backend *RESTBackend) HandleRepeatDataQuery(w http.ResponseWriter, r *http.Request)
HandleRepeatDataQuery translates REST requests/responses on the wire to internal proto messages for RepeatDataQuery
Generated for HTTP binding pattern: GET "/v1beta1/repeat:query"
func (*RESTBackend) HandleRepeatDataSimplePath ¶
func (backend *RESTBackend) HandleRepeatDataSimplePath(w http.ResponseWriter, r *http.Request)
HandleRepeatDataSimplePath translates REST requests/responses on the wire to internal proto messages for RepeatDataSimplePath
Generated for HTTP binding pattern: GET "/v1beta1/repeat/{info.f_string}/{info.f_int32}/{info.f_double}/{info.f_bool}/{info.f_kingdom}:simplepath"
func (*RESTBackend) HandleReportSession ¶
func (backend *RESTBackend) HandleReportSession(w http.ResponseWriter, r *http.Request)
HandleReportSession translates REST requests/responses on the wire to internal proto messages for ReportSession
Generated for HTTP binding pattern: POST "/v1beta1/{name=sessions/*}:report"
func (*RESTBackend) HandleSearchBlurbs ¶
func (backend *RESTBackend) HandleSearchBlurbs(w http.ResponseWriter, r *http.Request)
HandleSearchBlurbs translates REST requests/responses on the wire to internal proto messages for SearchBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{parent=rooms/*}/blurbs:search"
func (*RESTBackend) HandleSearchBlurbs_1 ¶
func (backend *RESTBackend) HandleSearchBlurbs_1(w http.ResponseWriter, r *http.Request)
HandleSearchBlurbs_1 translates REST requests/responses on the wire to internal proto messages for SearchBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{parent=users/*/profile}/blurbs:search"
func (*RESTBackend) HandleSendBlurbs ¶
func (backend *RESTBackend) HandleSendBlurbs(w http.ResponseWriter, r *http.Request)
HandleSendBlurbs translates REST requests/responses on the wire to internal proto messages for SendBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{parent=rooms/*}/blurbs:send"
func (*RESTBackend) HandleSendBlurbs_1 ¶
func (backend *RESTBackend) HandleSendBlurbs_1(w http.ResponseWriter, r *http.Request)
HandleSendBlurbs_1 translates REST requests/responses on the wire to internal proto messages for SendBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{parent=users/*/profile}/blurbs:send"
func (*RESTBackend) HandleSetIamPolicy ¶ added in v0.27.0
func (backend *RESTBackend) HandleSetIamPolicy(w http.ResponseWriter, r *http.Request)
HandleSetIamPolicy translates REST requests/responses on the wire to internal proto messages for SetIamPolicy
Generated for HTTP binding pattern: POST "/v1beta1/{resource=users/*}:setIamPolicy"
func (*RESTBackend) HandleSetIamPolicy_1 ¶ added in v0.27.0
func (backend *RESTBackend) HandleSetIamPolicy_1(w http.ResponseWriter, r *http.Request)
HandleSetIamPolicy_1 translates REST requests/responses on the wire to internal proto messages for SetIamPolicy
Generated for HTTP binding pattern: POST "/v1beta1/{resource=rooms/*}:setIamPolicy"
func (*RESTBackend) HandleSetIamPolicy_2 ¶ added in v0.27.0
func (backend *RESTBackend) HandleSetIamPolicy_2(w http.ResponseWriter, r *http.Request)
HandleSetIamPolicy_2 translates REST requests/responses on the wire to internal proto messages for SetIamPolicy
Generated for HTTP binding pattern: POST "/v1beta1/{resource=rooms/*/blurbs/*}:setIamPolicy"
func (*RESTBackend) HandleSetIamPolicy_3 ¶ added in v0.27.0
func (backend *RESTBackend) HandleSetIamPolicy_3(w http.ResponseWriter, r *http.Request)
HandleSetIamPolicy_3 translates REST requests/responses on the wire to internal proto messages for SetIamPolicy
Generated for HTTP binding pattern: POST "/v1beta1/{resource=sequences/*}:setIamPolicy"
func (*RESTBackend) HandleStreamBlurbs ¶
func (backend *RESTBackend) HandleStreamBlurbs(w http.ResponseWriter, r *http.Request)
HandleStreamBlurbs translates REST requests/responses on the wire to internal proto messages for StreamBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{name=rooms/*}/blurbs:stream"
func (*RESTBackend) HandleStreamBlurbs_1 ¶
func (backend *RESTBackend) HandleStreamBlurbs_1(w http.ResponseWriter, r *http.Request)
HandleStreamBlurbs_1 translates REST requests/responses on the wire to internal proto messages for StreamBlurbs
Generated for HTTP binding pattern: POST "/v1beta1/{name=users/*/profile}/blurbs:stream"
func (*RESTBackend) HandleTestIamPermissions ¶ added in v0.27.0
func (backend *RESTBackend) HandleTestIamPermissions(w http.ResponseWriter, r *http.Request)
HandleTestIamPermissions translates REST requests/responses on the wire to internal proto messages for TestIamPermissions
Generated for HTTP binding pattern: POST "/v1beta1/{resource=users/*}:testIamPermissions"
func (*RESTBackend) HandleTestIamPermissions_1 ¶ added in v0.27.0
func (backend *RESTBackend) HandleTestIamPermissions_1(w http.ResponseWriter, r *http.Request)
HandleTestIamPermissions_1 translates REST requests/responses on the wire to internal proto messages for TestIamPermissions
Generated for HTTP binding pattern: POST "/v1beta1/{resource=rooms/*}:testIamPermissions"
func (*RESTBackend) HandleTestIamPermissions_2 ¶ added in v0.27.0
func (backend *RESTBackend) HandleTestIamPermissions_2(w http.ResponseWriter, r *http.Request)
HandleTestIamPermissions_2 translates REST requests/responses on the wire to internal proto messages for TestIamPermissions
Generated for HTTP binding pattern: POST "/v1beta1/{resource=rooms/*/blurbs/*}:testIamPermissions"
func (*RESTBackend) HandleTestIamPermissions_3 ¶ added in v0.27.0
func (backend *RESTBackend) HandleTestIamPermissions_3(w http.ResponseWriter, r *http.Request)
HandleTestIamPermissions_3 translates REST requests/responses on the wire to internal proto messages for TestIamPermissions
Generated for HTTP binding pattern: POST "/v1beta1/{resource=sequences/*}:testIamPermissions"
func (*RESTBackend) HandleUpdateBlurb ¶
func (backend *RESTBackend) HandleUpdateBlurb(w http.ResponseWriter, r *http.Request)
HandleUpdateBlurb translates REST requests/responses on the wire to internal proto messages for UpdateBlurb
Generated for HTTP binding pattern: PATCH "/v1beta1/{blurb.name=rooms/*/blurbs/*}"
func (*RESTBackend) HandleUpdateBlurb_1 ¶
func (backend *RESTBackend) HandleUpdateBlurb_1(w http.ResponseWriter, r *http.Request)
HandleUpdateBlurb_1 translates REST requests/responses on the wire to internal proto messages for UpdateBlurb
Generated for HTTP binding pattern: PATCH "/v1beta1/{blurb.name=users/*/profile/blurbs/*}"
func (*RESTBackend) HandleUpdateRoom ¶
func (backend *RESTBackend) HandleUpdateRoom(w http.ResponseWriter, r *http.Request)
HandleUpdateRoom translates REST requests/responses on the wire to internal proto messages for UpdateRoom
Generated for HTTP binding pattern: PATCH "/v1beta1/{room.name=rooms/*}"
func (*RESTBackend) HandleUpdateUser ¶
func (backend *RESTBackend) HandleUpdateUser(w http.ResponseWriter, r *http.Request)
HandleUpdateUser translates REST requests/responses on the wire to internal proto messages for UpdateUser
Generated for HTTP binding pattern: PATCH "/v1beta1/{user.name=users/*}"
func (*RESTBackend) HandleVerifyEnum ¶ added in v0.24.0
func (backend *RESTBackend) HandleVerifyEnum(w http.ResponseWriter, r *http.Request)
HandleVerifyEnum translates REST requests/responses on the wire to internal proto messages for VerifyEnum
Generated for HTTP binding pattern: POST "/v1beta1/compliance/enum"
func (*RESTBackend) HandleVerifyTest ¶
func (backend *RESTBackend) HandleVerifyTest(w http.ResponseWriter, r *http.Request)
HandleVerifyTest translates REST requests/responses on the wire to internal proto messages for VerifyTest
Generated for HTTP binding pattern: POST "/v1beta1/{name=sessions/*/tests/*}:check"
func (*RESTBackend) HandleWait ¶
func (backend *RESTBackend) HandleWait(w http.ResponseWriter, r *http.Request)
HandleWait translates REST requests/responses on the wire to internal proto messages for Wait
Generated for HTTP binding pattern: POST "/v1beta1/echo:wait"
func (*RESTBackend) ReportGRPCError ¶ added in v0.20.0
func (backend *RESTBackend) ReportGRPCError(w http.ResponseWriter, err error)
type SequenceService_AttemptStreamingSequenceServer ¶ added in v0.27.0
type SequenceService_AttemptStreamingSequenceServer struct {
*resttools.ServerStreamer
}
SequenceService_AttemptStreamingSequenceServer implements genprotopb.SequenceService_AttemptStreamingSequenceServer to provide server-side streaming over REST, returning all the individual responses as part of a long JSON list.
func (*SequenceService_AttemptStreamingSequenceServer) Send ¶ added in v0.27.0
func (streamer *SequenceService_AttemptStreamingSequenceServer) Send(response *genprotopb.AttemptStreamingSequenceResponse) error
Send accumulates a response to be fetched later as part of response list returned over REST.