Package
googleapis-commonConstructors
(constructor)(options)
constructor
(
options
:
{});
Constructs a new instance of the Endpoint
class
Name | Description |
---|---|
options | {}
|
Properties
_options
_options
:
GlobalOptions
;
Type | Description |
---|---|
GlobalOptions |
google
:
any
;
Type | Description |
---|---|
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.
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. |
Type | Description |
---|---|
void |