Class Endpoint (6.0.3)

Package

googleapis-common

Constructors

(constructor)(options)

constructor(options: {});

Constructs a new instance of the Endpoint class

Parameter
Name Description
options {}

Properties

_options

_options: GlobalOptions;

google

google: any;

Methods

applySchema(target, rootSchema, schema, context)

applySchema(target: Target, rootSchema: Schema, schema: SchemaResource, context: APIRequestContext): void;

Given a schema, add methods and resources to a target.

Parameters
Name Description
target Target

The target to which to apply the schema.

rootSchema Schema

The top-level schema, so we don't lose track of it during recursion.

schema SchemaResource

The current schema from which to extract methods and resources.

context APIRequestContext

The context to add to each method.

Returns
Type Description
void