# @maxim_mazurok/gapi.client.datapipelines

> TypeScript typings for Data pipelines API v1

Latest version **1.0.20220730** (published 2022-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @maxim_mazurok/gapi.client.datapipelines
pnpm add @maxim_mazurok/gapi.client.datapipelines
yarn add @maxim_mazurok/gapi.client.datapipelines
bun add @maxim_mazurok/gapi.client.datapipelines
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.20220730 |
| Published | 2022-08-09 |
| First published | 2022-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 48.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 59 |
| Author | Maxim Mazurok |
| Maintainers | maxim_mazurok |

## Links

- npm: https://www.npmjs.com/package/@maxim_mazurok/gapi.client.datapipelines
- Repository: https://github.com/Maxim-Mazurok/google-api-typings-generator
- Homepage: https://github.com/Maxim-Mazurok/google-api-typings-generator#readme
- Issues: https://github.com/Maxim-Mazurok/google-api-typings-generator/issues
- npm.io page: https://npm.io/package/@maxim_mazurok/gapi.client.datapipelines

## Dependencies (1)

- [@types/gapi.client](https://npm.io/package/@types/gapi.client.md) *

## Recent versions

- 1.0.20220730 (latest) — 2022-08-09
- 1.0.20220722 — 2022-08-02
- 1.0.20220715 — 2022-07-26
- 1.0.20220708 — 2022-07-19
- 1.0.20220703 — 2022-07-12
- 1.0.20220625 — 2022-07-05
- 1.0.20220619 — 2022-06-28
- 1.0.20220612 — 2022-06-21
- 1.0.20220604 — 2022-06-14
- 1.0.20220527 — 2022-06-07
- 1.0.20220522 — 2022-05-31
- 1.0.20220506 — 2022-05-22

## README

# TypeScript typings for Data pipelines API v1

Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs.
For detailed description please check [documentation](https://cloud.google.com/dataflow/docs/guides/data-pipelines).

## Installing

Install typings for Data pipelines API:

```
npm install @types/gapi.client.datapipelines@v1 --save-dev
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load('datapipelines', 'v1', () => {
  // now we can use gapi.client.datapipelines
  // ...
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [ 
      // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
      'https://www.googleapis.com/auth/cloud-platform',
    ],
    immediate = true;
// ...

gapi.auth.authorize(
  { client_id: client_id, scope: scope, immediate: immediate },
  authResult => {
    if (authResult && !authResult.error) {
        /* handle successful authorization */
    } else {
        /* handle authorization error */
    }
});
```

After that you can use Data pipelines API resources:

```typescript
```

---
_Source: https://npm.io/package/@maxim_mazurok/gapi.client.datapipelines · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
