googleapis_beta 0.39.1

Auto-generated Dart libraries for accessing Google APIs.

Usage

First, obtain OAuth 2.0 access credentials. This can be done using the googleapis_auth package. Your application can access APIs on behalf of a user or using a service account.

After obtaining credentials, an API from the googleapis package can be accessed with an authenticated HTTP client.

Example

The following command line application lists files in Google Drive by using a service account.

Create a pubspec.yaml file with the googleapis_auth and googleapis dependencies.

...
dependencies:
  googleapis: any
  googleapis_auth: any

Create a service account in the Google Cloud Console and save the credential information.

Then create a Dart application to list files in a spececific project. In the example below, files from the dart-on-cloud project are listed.

// bin/list_files.dart

import 'package:googleapis/storage/v1.dart';
import 'package:googleapis_auth/auth_io.dart';

final _credentials = new ServiceAccountCredentials.fromJson(r'''
{
  "private_key_id": ...,
  "private_key": ...,
  "client_email": ...,
  "client_id": ...,
  "type": "service_account"
}
''');

const _SCOPES = const [StorageApi.DevstorageReadOnlyScope];

void main() {
  clientViaServiceAccount(_credentials, _SCOPES).then((http_client) {
    var storage = new StorageApi(http_client);
    storage.buckets.list('dart-on-cloud').then((buckets) {
      print("Received ${buckets.items.length} bucket names:");
      for (var file in buckets.items) {
        print(file.name);
      }
    });
  });
}

Available Google APIs

The following is a list of APIs that are currently available inside this package.

Logo Ad Exchange Buyer API II - adexchangebuyer2 v2beta1

Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.

Official API documentation: https://developers.google.com/ad-exchange/buyer-rest/reference/rest/

Logo Google App Engine Admin API - appengine v1beta

The App Engine Admin API enables developers to provision and manage their App Engine applications.

Official API documentation: https://cloud.google.com/appengine/docs/admin-api/

Logo Google App Engine Admin API - appengine v1beta4

The App Engine Admin API enables developers to provision and manage their App Engine applications.

Official API documentation: https://cloud.google.com/appengine/docs/admin-api/

Logo Google App Engine Admin API - appengine v1beta5

The App Engine Admin API enables developers to provision and manage their App Engine applications.

Official API documentation: https://cloud.google.com/appengine/docs/admin-api/

Logo Stackdriver Error Reporting API - clouderrorreporting v1beta1

Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.

Official API documentation: https://cloud.google.com/error-reporting/

Logo Cloud Monitoring API - cloudmonitoring v2beta2

Accesses Google Cloud Monitoring data.

Official API documentation: https://cloud.google.com/monitoring/v2beta2/

Logo Google Cloud Resource Manager API - cloudresourcemanager v1beta1

The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.

Official API documentation: https://cloud.google.com/resource-manager

Logo Cloud User Accounts API - clouduseraccounts beta

Creates and manages users and groups for accessing Google Compute Engine virtual machines.

Official API documentation: https://cloud.google.com/compute/docs/access/user-accounts/api/latest/

Logo Google Dataflow API - dataflow v1b3

Manages Google Cloud Dataflow projects on Google Cloud Platform.

Official API documentation: https://cloud.google.com/dataflow

Logo DLP API - dlp v2beta1

The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.

Official API documentation: https://cloud.google.com/dlp/docs/

Logo Google Cloud DNS API - dns v2beta1

Configures and serves authoritative DNS records.

Official API documentation: https://developers.google.com/cloud-dns

Logo Google Cloud Natural Language API - language v1beta1

Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations.

Official API documentation: https://cloud.google.com/natural-language/

Logo Google Cloud Natural Language API - language v1beta2

Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations.

Official API documentation: https://cloud.google.com/natural-language/

Logo Stackdriver Logging API - logging v2beta1

Writes log entries and manages your Stackdriver Logging configuration.

Official API documentation: https://cloud.google.com/logging/docs/

Logo Google Cloud OS Login API - oslogin v1alpha

Manages OS login configuration for Directory API users.

Official API documentation: https://cloud.google.com/compute/docs/oslogin/rest/

Logo Google Proximity Beacon API - proximitybeacon v1beta1

Registers, manages, indexes, and searches beacons.

Official API documentation: https://developers.google.com/beacons/proximity/

Logo Google Cloud Pub/Sub API - pubsub v1beta2

Provides reliable, many-to-many, asynchronous messaging between applications.

Official API documentation: https://cloud.google.com/pubsub/docs

Logo Google Compute Engine Instance Group Manager API - replicapool v1beta2

[Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.

Official API documentation: https://developers.google.com/compute/docs/instance-groups/manager/v1beta2

Logo Google Compute Engine Instance Group Updater API - replicapoolupdater v1beta1

[Deprecated. Please use compute.instanceGroupManagers.update method. replicapoolupdater API will be disabled after December 30th, 2016] Updates groups of Compute Engine instances.

Official API documentation: https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service

Logo Resource Views API - resourceviews v1beta1

The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.

Official API documentation: https://developers.google.com/compute/

Logo Google Compute Engine Instance Groups API - resourceviews v1beta2

The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.

Official API documentation: https://developers.google.com/compute/

Logo Google Cloud Runtime Configuration API - runtimeconfig v1beta1

The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.

Official API documentation: https://cloud.google.com/deployment-manager/runtime-configurator/

Logo Google Cloud Speech API - speech v1beta1

Converts audio to text by applying powerful neural network models.

Official API documentation: https://cloud.google.com/speech/

Logo Cloud SQL Administration API - sqladmin v1beta3

Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.

Official API documentation: https://cloud.google.com/sql/docs/reference/latest

Logo Cloud SQL Administration API - sqladmin v1beta4

Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.

Official API documentation: https://cloud.google.com/sql/docs/reference/latest

Logo TaskQueue API - taskqueue v1beta2

Accesses a Google App Engine Pull Task Queue over REST.

Official API documentation: https://developers.google.com/appengine/docs/python/taskqueue/rest

Logo Cloud Tool Results API - toolresults v1beta3

Reads and publishes results from Firebase Test Lab.

Official API documentation: https://firebase.google.com/docs/test-lab/

Logo Cloud Tool Results firstparty API - toolresults v1beta3firstparty

Reads and publishes results from Firebase Test Lab.

Official API documentation: https://firebase.google.com/docs/test-lab/

Logo Google Cloud Video Intelligence API - videointelligence v1beta1

Google Cloud Video Intelligence API.

Official API documentation: https://cloud.google.com/video-intelligence/docs/

0.39.1

  • [api] dataflow:v1b3
  • [api] dlp:v2beta1
  • [api] logging:v2beta1
  • [api] sqladmin:v1beta4
  • [api] toolresults:v1beta3firstparty
  • [api] toolresults:v1beta3

0.39.0

  • [api-removed] dataproc:v1beta1

0.38.1

  • [api-new] oslogin:v1alpha
  • [api-new] toolresults:v1beta3firstparty

0.38.0

  • [api] sqladmin:v1beta4
  • [api] adexchangebuyer2:v2beta1
  • [api] dataflow:v1b3
  • [api] appengine:v1beta
  • [api] appengine:v1beta4
  • [api] appengine:v1beta5
  • [api-breaking] sqladmin:v1beta4
  • [api-breaking] dataflow:v1b3

0.37.0

  • [api-new] language:v1beta2
  • [api-new] videointelligence:v1beta1
  • [api] sqladmin:v1beta4
  • [api] clouderrorreporting:v1beta1
  • [api] dlp:v2beta1
  • [api] dataflow:v1b3
  • [api] logging:v2beta1
  • [api-breaking] dataflow:v1b3
  • [api-breaking] dataflow:v1b3
  • [api-breaking] dlp:v2beta1

0.36.0

  • [api] dataflow:v1b3
  • [api] logging:v2beta1
  • [api-breaking] cloudresourcemanager:v1beta1
  • [api-breaking] runtimeconfig:v1beta1
  • [api-removed] datastore:v1beta3
  • [api-removed] datastore:v1beta2

0.35.0

  • [api-new] dlp:v2beta1
  • [api] appengine:v1beta4
  • [api] appengine:v1beta5
  • [api] appengine:v1beta
  • [api] cloudresourcemanager:v1beta1
  • [api] dataflow:v1b3
  • [api] dataproc:v1beta1
  • [api] proximitybeacon:v1beta1
  • [api-breaking] appengine:v1beta
  • [api-breaking] dataflow:v1b3
  • [api-removed] cloudkmsv1beta1
  • [api-removed] mlv1beta1

0.34.0

  • [api-new] appengine
  • [api] sqladmin
  • [api] dataproc
  • [api] adexchangebuyer2
  • [api] dataflow
  • [api] ml
  • [api-breaking] dataproc
  • [api-removed] dfareporting

0.33.0

[api-breaking] dataflow [api-breaking] ml [api-breaking] speech [api] dataflow: changes [api] dataproc: changes [api] ml: changes [api] sqladmin: changes

0.32.1

  • [api-new] cloudkms:v1beta1
  • [api] dataflow:v1b3: schema changes
  • [api] ml:v1beta1: schema changes
  • [api] sqladmin:v1beta4: new methods
  • [api] toolresults:v1beta3: new resources

0.32.0

  • [api-removal] genomics:v1beta2
  • [api] appengine:v1beta4: schema changes
  • [api] appengine:v1beta5: schema changes
  • [api] cloudreporting:v1beta1: schema changes
  • [api] dataflow:v1b3: schema changes
  • [api] language:v1beta1: schema/method changes
  • [api] logging:v2beta1: schema/method changes
  • [api] ml:v1beta1: schema changes
  • [api] runtimeconfig:v1beta1: schema/method changes
  • [api] sqladmin:v1beta4: schema changes

0.31.0

  • [api-new] ml:v1beta1
  • [api-breaking] dataflow:v1b3: resource changes
  • [api-breaking] dns:v2beta1: renamed resource
  • [api-breaking] logging:v1beta1: added resources, method changes
  • [api] appengine:v1beta4: schema/method changes
  • [api] appengine:v1beta5: schema/method changes
  • [api] cloudreporting:v1beta1: schema changes
  • [api] cloudresourcemanager:v1beta1: schema/method changes
  • [api] dataproc:v1beta1: schema/method changes
  • [api] runtimeconfig:v1beta1: method changes
  • [api] sqladmin:v1beta3: schema changes
  • [api] sqladmin:v1beta4: schema changes

0.30.1

  • [api] datastore:v1beta3: schema changes

0.30.0

  • [api-new] language:v1beta1
  • [api-new] speech:v1beta1
  • [api] appengine:v1beta4: schema changes
  • [api] appengine:v1beta5: schema changes
  • [api] dataflow:v1b3: new resources, schema changes
  • [api] runtimeconfig:v1beta1: schema changes
  • [api-breaking] adexchangebuyer2:v2beta1: methods removed

0.29.0

  • [api] adexchangebuyer2:v2beta1: new resource
  • [api] appengine:v1beta4: new resource
  • [api] appengine:v1beta5: new resource
  • [api] clouderrorreporting:v1beta1: new methods
  • [api] dataflow:v1b3: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api-removal] autoscaler:v1beta2

0.28.0

  • [api] appengine:v1beta4: schema changes
  • [api] appengine:v1beta5: schema changes
  • [api] cloudresourcemanager:v1beta1: method/schema changes
  • [api] dataflow:v1b3: schema changes
  • [api-breaking] toolresults:v1beta3: schema changes

0.27.1

  • [api-new] dns:v2beta1

0.27.0

  • [api-new] adexchangebuyer2:v2beta1
  • [api-new] clouderrorreporting:v1beta1
  • [api-new] datastore:v1beta3
  • [api-new] runtimeconfig:v1beta1
  • [api] cloudmonitoring:v2beta2: API new methods
  • [api] cloudresourcemanager:v1beta1: schema/resource changes
  • [api] dfareporting:v2.5beta1: Schema changes
  • [api] genomics:v1beta2: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api] toolresults:v1beta3: schema changes
  • [api-breaking] autoscaler:v1beta2: schema/resource changes
  • [api-breaking] cloudresourcemanager:v1beta1: method changes
  • [api-breaking] dataproc:v1beta1: schema/resource changes
  • [api-breaking] proximitybeacon:v1beta1, schema/resource changes
  • [api-removal] reseller:v1sandbox
  • [api-removal] manager:v1beta2

0.26.0

  • [api] appengine:v1beta4: new resources
  • [api] appengine:v1beta5: new resources
  • [api-removal] deploymentmanager:v2beta2

0.25.0

  • [api-new] dfareporting:v2.5beta1
  • [api] dataflow:v1b3: method changes, schema changes
  • [api] toolresults:v1beta3: schema changes
  • [api-breaking] appengine:v1beta5: method changes
  • [api-breaking] logging:v2beta1: schema changes
  • [api-removal] deploymentmanager:v2beta1

0.24.0

  • [api-new] appengine:v1beta5
  • [api-new] toolresults:v1beta3
  • [api] clouduseraccounts:beta: schema changes
  • [api] dataflow:v1b3: schema changes
  • [api] dataproc:v1beta1: new methods
  • [api] deploymentmanager:v2beta2 schema changes
  • [api] sqladmin:v1beta3: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api-breaking] cloudresourcemanager:v1beta1: method changes

0.23.2

  • [api] appengine:v1beta4: schema changes
  • [api] dataflow:v1b3: new schemas

0.23.1

  • [api] dataflow:v1b3: schema changes

0.23.0

  • [api-new] dataproc:v1beta1
  • [api-new] logging:v2beta1
  • [api] dataflow:v1b3: new method/resources
  • [api] deploymentmanager:v2beta2: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api-removal] dns:v1beta1
  • [api-removal] logging:v1beta3
  • [api-breaking] genomics:v1beta2: method removals

0.22.0

  • [api] appengine:v1beta4: schema changes
  • [api] cloudresourcemanager:v1beta1: schema changes
  • [api-removed] logging:v2beta1

0.21.0

  • [api] dataflow:v1b3: schema changes
  • [api] pubsub:v1beta2: schema changes
  • [api] sqladmin:v1beta4: schema changes
  • [api-breaking] logging:v1beta3: method changes
  • [api-breaking] logging:v2beta1: method changes
  • [api-removal] pubsub:v1beta1

0.20.0

  • [apis-breaking] logging:v1beta3: resource/schema changes
  • [apis-new] logging:v2beta1
  • [apis] sqladmin:v1beta3: resource/schema changes

0.19.1

  • [apis-new] clouduseraccounts:beta

0.19.0

  • [apis-breaking] logging:v1beta3: method/schema removals
  • [apis] cloudresourcemanager:v1beta: method/schema changes

0.18.0

  • [apis-breaking] appengine:v1beta4: schema changes
  • [apis-breaking] cloudresourcemanager:v1beta: method/schema changes
  • [apis-breaking] pubsub:v1beta2: method/schema changes
  • [apis-breaking] sqladmin:v1beta4: method/schema changes
  • [apis] dataflow:v1b3: schema changes
  • [apis] deploymentmanager:v2beta2: schema changes
  • [apis] replicapoolupdater:v1beta1: method/schema changes
  • [apis-new] proximitybeacon:v1beta1

0.17.0

  • [apis] dataflow:v1b3: added schemas/resources
  • [apis] sqladmin:v1beta4: added method/schema
  • [apis-removed] container:v1beta1

0.16.0

  • [apis-breaking] replicapoolupdater:v1beta1: method/schema changes
  • [apis-new] appengine:v1beta4
  • [apis-new] cloudresourcemanager:v1beta1
  • [apis-new] dataflow:v1b3
  • [apis-new] deploymentmanager:v2beta2
  • [apis] dns:v1beta1: method/schema changes
  • [apis] genomics:v1beta2: method changes
  • [apis] logging:v1beta3: method/schema changes
  • [apis] resourceviews:v1beta1: schema changes
  • [apis] resourceviews:v1beta2: schema changes

0.15.2

  • [apis] replicapool:v1beta2: schema changes

0.15.1

  • [apis] genomics:v1beta2: schema changes

0.15.0

  • [apis-breaking] pubsub:v1beta2: schema changes, removed properties
  • [apis] container:v1beta1: schema changes
  • [apis] genomics:v1beta2: schema changes
  • [apis] pubsub:v1beta1: schema changes
  • [apis] replicapool:v1beta2: schema changes

0.14.0

  • [api] pubsub:v1beta2: new methods/schemas
  • [api-breaking] container:v1beta1: removed resource
  • [api-breaking] genomics:v1beta2: removed resource

0.13.0

  • [api] container:v1beta1: schema changes
  • [api] genomics:v1beta2: new resource
  • [api] sqladmin:v1beta3: schema changes
  • [api-breaking] replicapoolupdater:v1beta1: schema changes [wire compatible]
  • [apis-removed] dataflow:v1beta
  • [apis-removed] dataflow:v1b43

0.12.0

  • [api] container:v1beta1: new resources
  • [api-breaking] genomics:v1beta2: removed resources
  • [api-breaking] sqladmin:v1beta3: schema changes [wire compatible]

0.11.0

  • [apis] container:v1beta1: schema changes
  • [apis] dataflow:v1beta3: schema changes
  • [apis] genomics:v1beta2: method and schema changes
  • [apis] replicapool:v1beta2: schema changes
  • [apis] sqladmin:1beta4: schema changes
  • [apis-breaking] replicapoolupdater:v1beta1: schema changes
  • [apis-new] logging:v1beta3
  • [apis-removed] genomics:v1beta

0.10.0

  • [apis-breaking] dataflow:v1b4: Removal of schemas
  • [apis] dataflow:v1beta3: schema changes
  • [apis] genomics:v1beta2: method/schema addition
  • [apis] replicapoolupdater:v1beta1: schema changes
  • [apis-new] pubsub:v1beta2

0.9.0

  • [apis-new] cloudmonitoring:v2beta2: API added
  • [apis-new] sqladmin:v1beta4: API added
  • [apis] genomics:v1beta2: schema changes
  • [apis] sqladmin:v1beta3: scope changes
  • [apis-removed] cloudmonitoring:v2beta2: removed

0.8.0

  • [apis-new] dataflow:v1b4: API added
  • [apis] cloudmonitoring:v2beta1: method changes
  • [apis] dataflow:v1beta2: schema changes
  • [apis] genomics:v1beta2: new resources and schemas
  • [apis-breaking] replicapoolupdater:v1beta1: schema/method changes

0.7.0

  • [apis] container:v1beta1: schema changes
  • [apis-breaking] genomics:v1beta2: schema changes
  • [apis-breaking] replicapoolupdater:v1beta1: schema/method changes

0.6.2

  • [generator] Roll to use DetailedApiRequestError when only a HTTP status code is present.

0.6.1

  • [apis-new] dataflow:v1beta3: API added
  • [apis-new] deploymentmanager:v2beta1: API added
  • [apis] container:v1beta1: schema changes

0.6.0

  • [apis] dns:v1beta1: schema changes
  • [apis] genomics:v1beta2: schema changes
  • [apis] sqladmin:v1beta3: schema changes
  • [apis-breaking] replicapoolupdater:v1beta1: schema changes
  • [generator] Roll to include optional rootUrl/servicePath arguments.

0.5.2

  • [apis] container:v1beta1: schema changes
  • [apis] replicapoolupdater:v1beta1: schema changes

0.5.1

  • [apis] pubsub:v1beta1: schema changes

0.5.0

  • [apis-new] container:v1beta1: API added
  • [apis-new] genomics:v1beta2: API added
  • [apis-new] replicapool:v1beta2: API added
  • [apis-new] replicapoolupdater:v1beta1: API added
  • [apis] autoscaler:v1beta2: additional schemas/methods
  • [apis] qladmin:v1beta3: schema changes
  • [apis-breaking] genomics:v1beta: removed methods
  • [apis-removed] replicapool:v1beta1: removed (Deprecated)

0.4.0

  • [apis] cloudmonitoring:v2beta1: additional schemas/methods
  • [apis-breaking] genomics:v1beta: additional schemas/methods, minor removal of schema properties

0.3.0

  • [apis-breaking] genomics:v1beta: breaking changes (method argument changes and schema change)

0.2.1

  • [apis-new] resourceviews:v1beta2: API added
  • [apis] genomics:v1beta: additional method/schema changes

0.2.0

  • [apis] autoscaler:v1beta2: schema changes
  • [apis] datastore:v1beta2: new API scopes, more descriptions
  • [apis] manager:v1beta2: schema changes
  • [apis-breaking] genomics:v1beta: major changes (method argument changes, schema renames, method removals/additions)
  • [generator] Bugfix in resumable media uploader.

0.1.1

  • [generator] Make shorter descriptions in pubspec.yaml: Only list api:version tuples.
  • [generator] Rename test files to _test.dart so they get automatically run.

0.1.0

  • First release

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  googleapis_beta: "^0.39.1"

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support 'pub get'. Check the docs for your editor to learn more.

About

Auto-generated client libraries for accessing the following APIs:adexchangebuyer2:v2beta1, appengine:v1beta, appengine:v1beta4, appengine:v1beta5, clouderrorreporting:v1beta1, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, dlp:v2beta1, dns:v2beta1, language:v1beta1, language:v1beta2, logging:v2beta1, oslogin:v1alpha, proximitybeacon:v1beta1, pubsub:v1beta2, replicapool:v1beta2, replicapoolupdater:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, runtimeconfig:v1beta1, speech:v1beta1, sqladmin:v1beta3, sqladmin:v1beta4, taskqueue:v1beta2, toolresults:v1beta3, toolresults:v1beta3firstparty, videointelligence:v1beta1

Author

Email misc@dartlang.org Dart Team

Homepage

www.dartlang.org/googleapis/

Documentation

www.dartdocs.org/documentation/googleapis_beta/0.39.1/

Source code (hyperlinked)

www.crossdart.info/p/googleapis_beta/0.39.1/

Uploader

sgjesse@google.com
kustermann@google.com

Published

Aug 21, 2017

Share