MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / request

Method request

googleapiclient/model.py:62–79  ·  view source on GitHub ↗

Updates outgoing requests with a serialized body. Args: headers: dict, request headers path_params: dict, parameters that appear in the request path query_params: dict, parameters that appear in the query body_value: object, the request body as a Pyth

(self, headers, path_params, query_params, body_value)

Source from the content-addressed store, hash-verified

60 """
61
62 def request(self, headers, path_params, query_params, body_value):
63 """Updates outgoing requests with a serialized body.
64
65 Args:
66 headers: dict, request headers
67 path_params: dict, parameters that appear in the request path
68 query_params: dict, parameters that appear in the query
69 body_value: object, the request body as a Python object, which must be
70 serializable.
71 Returns:
72 A tuple of (headers, path_params, query, body)
73
74 headers: dict, request headers
75 path_params: dict, parameters that appear in the request path
76 query: string, query part of the request URI
77 body: string, the body serialized in the desired wire format.
78 """
79 _abstract()
80
81 def response(self, resp, content):
82 """Convert the response wire format into a Python object.

Callers 9

samples-index.pyFile · 0.45
document_apiFunction · 0.45
getMethod · 0.45
methodFunction · 0.45
document_apiFunction · 0.45

Calls 1

_abstractFunction · 0.85

Tested by

no test coverage detected