googleapis_beta 0.23.2 copy "googleapis_beta: ^0.23.2" to clipboard
googleapis_beta: ^0.23.2 copied to clipboard

outdatedDart 1 only

Auto-generated client libraries for accessing the following APIs:appengine:v1beta4, autoscaler:v1beta2, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, da [...]

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 Google App Engine Admin API - appengine v1beta4

The Google 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 Compute Engine Autoscaler API - autoscaler v1beta2

The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.

Official API documentation: http://developers.google.com/compute/docs/autoscaler

Logo Cloud Monitoring API - cloudmonitoring v2beta2

API for accessing Google Cloud and API 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

API for the Google Cloud User Accounts service.

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

Logo Google Dataflow API - dataflow v1b3

Google Dataflow API.

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

Logo Google Cloud Dataproc API - dataproc v1beta1

An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.

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

Logo Google Cloud Datastore API - datastore v1beta2

API for accessing Google Cloud Datastore.

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

Logo Google Cloud Deployment Manager API - deploymentmanager v2beta1

The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.

Official API documentation: https://developers.google.com/deployment-manager/

Logo Google Cloud Deployment Manager API - deploymentmanager v2beta2

The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.

Official API documentation: https://developers.google.com/deployment-manager/

Logo Genomics API - genomics v1beta2

Provides access to Genomics data.

Official API documentation: https://developers.google.com/genomics/v1beta2/reference

Logo Google Cloud Logging API - logging v2beta1

The Google Cloud Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics.

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

Logo Deployment Manager API - manager v1beta2

The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.

Official API documentation: https://developers.google.com/deployment-manager/

Logo Google Proximity Beacon API - proximitybeacon v1beta1

This API provides services to register, manage, index, and search 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

The Google Compute Engine Instance Group Manager 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

The Google Compute Engine Instance Group Updater API provides services for updating 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 Cloud SQL Administration API - sqladmin v1beta3

API for Cloud SQL database instance management.

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

Logo Cloud SQL Administration API - sqladmin v1beta4

API for Cloud SQL database instance management.

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

Logo TaskQueue API - taskqueue v1beta2

Lets you access a Google App Engine Pull Task Queue over REST.

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

14
likes
0
pub points
68%
popularity

Publisher

verified publishergoogle.dev

Auto-generated client libraries for accessing the following APIs:appengine:v1beta4, autoscaler:v1beta2, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, dataproc:v1beta1, datastore:v1beta2, deploymentmanager:v2beta1, deploymentmanager:v2beta2, genomics:v1beta2, logging:v2beta1, manager:v1beta2, proximitybeacon:v1beta1, pubsub:v1beta2, replicapool:v1beta2, replicapoolupdater:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, sqladmin:v1beta3, sqladmin:v1beta4, taskqueue:v1beta2

Homepage

License

unknown (license)

Dependencies

_discoveryapis_commons, crypto, http

More

Packages that depend on googleapis_beta