Classes
AuthPlus
Discovery
Endpoint
Interfaces
APIRequestContext
APIRequestParams
DiscoveryOptions
FragmentResponse
GlobalOptions
This interface is a mix of the AxiosRequestConfig options and our auth
options.
GoogleConfigurable
MethodOptions
Schema
SchemaItem
SchemaItems
SchemaMethod
SchemaMethods
SchemaParameter
SchemaParameters
SchemaResource
SchemaResources
Schemas
These are a collection of interfaces that represent the GoogleApis Discovery json formats.
ServiceOptions
StreamMethodOptions
Target
Functions
createAPIRequest(parameters)
export
declare
function
createAPIRequest
Create and send request to Google API
Returns
Type
Description
GaxiosPromise
<T>
Type Parameter
Type
Description
T
createAPIRequest(parameters, callback)
export
declare
function
createAPIRequest
Returns
Type
Description
void
Type Parameter
Type
Description
T
getAPI(api, options, versions, context)
export
declare
function
getAPI
Parameters
Name
Description
api
string
options
ServiceOptions
| string
versions
{
[index: string]: any;
}
context
Returns
Type
Description
T
Type Parameter
Type
Description
T
Type Aliases
APIEndpoint
export
declare
type
APIEndpoint
=
Readonly
BodyResponseCallback
export
declare
type
BodyResponseCallback
Type Parameter
Type
Description
T
EndpointCreator
export
declare
type
EndpointCreator
=
(
options
:
GlobalOptions
,
google
:
{})
=
>
Endpoint
;
HttpMethod
export
declare
type
HttpMethod
=
'GET'
|
'PATCH'
|
'PUT'
;
ParameterFormat
export
declare
type
ParameterFormat
=
'int32'
;
SchemaType
export
declare
type
SchemaType
=
'object'
|
'integer'
|
'string'
|
'array'
|
'boolean'
;