googleapis 0.51.0 googleapis: ^0.51.0 copied to clipboard
Auto-generated client libraries for accessing the following APIs:abusiveexperiencereport:v1, acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchanges [...]
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.
Abusive Experience Report API - abusiveexperiencereport v1
View Abusive Experience Report data, and get a list of sites that have a significant number of abusive experiences.
Official API documentation: https://developers.google.com/abusive-experience-report/
Accelerated Mobile Pages (AMP) URL API - acceleratedmobilepageurl v1
Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).
Official API documentation: https://developers.google.com/amp/cache/
Ad Exchange Buyer API - adexchangebuyer v1.3
Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
Official API documentation: https://developers.google.com/ad-exchange/buyer-rest
Ad Exchange Buyer API - adexchangebuyer v1.4
Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
Official API documentation: https://developers.google.com/ad-exchange/buyer-rest
Ad Exchange Seller API - adexchangeseller v1.1
Accesses the inventory of Ad Exchange seller users and generates reports.
Official API documentation: https://developers.google.com/ad-exchange/seller-rest/
Ad Exchange Seller API - adexchangeseller v2.0
Accesses the inventory of Ad Exchange seller users and generates reports.
Official API documentation: https://developers.google.com/ad-exchange/seller-rest/
Ad Experience Report API - adexperiencereport v1
View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads.
Official API documentation: https://developers.google.com/ad-experience-report/
Admin Data Transfer API - admin datatransfer_v1
Transfers user data from one user to another.
Official API documentation: https://developers.google.com/admin-sdk/data-transfer/
Admin Directory API - admin directory_v1
Manages enterprise resources such as users and groups, administrative notifications, security features, and more.
Official API documentation: https://developers.google.com/admin-sdk/directory/
Admin Reports API - admin reports_v1
Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.
Official API documentation: https://developers.google.com/admin-sdk/reports/
AdSense Management API - adsense v1.4
Accesses AdSense publishers' inventory and generates performance reports.
Official API documentation: https://developers.google.com/adsense/management/
AdSense Host API - adsensehost v4.1
Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.
Official API documentation: https://developers.google.com/adsense/host/
Google Analytics API - analytics v3
Views and manages your Google Analytics data.
Official API documentation: https://developers.google.com/analytics/
Analytics Reporting API - analyticsreporting v4
Accesses Analytics report data.
Official API documentation: https://developers.google.com/analytics/devguides/reporting/core/v4/
Android Device Provisioning Partner API - androiddeviceprovisioning v1
Automates Android zero-touch enrollment for device resellers, customers, and EMMs.
Official API documentation: https://developers.google.com/zero-touch/
Google Play EMM API - androidenterprise v1
Manages the deployment of apps to Android for Work users.
Official API documentation: https://developers.google.com/android/work/play/emm-api
Android Management API - androidmanagement v1
The Android Management API provides remote enterprise management of Android devices and apps.
Official API documentation: https://developers.google.com/android/management
Google Play Developer API - androidpublisher v2
Lets Android application developers access their Google Play accounts.
Official API documentation: https://developers.google.com/android-publisher
Google Play Developer API - androidpublisher v3
Lets Android application developers access their Google Play accounts.
Official API documentation: https://developers.google.com/android-publisher
App Engine Admin API - appengine v1
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/
G Suite Activity API - appsactivity v1
Provides a historical view of activity.
Official API documentation: https://developers.google.com/google-apps/activity/
Google App State API - appstate v1
The Google App State API.
Official API documentation: https://developers.google.com/games/services/web/api/states
BigQuery API - bigquery v2
A data platform for customers to create, manage, share and query data.
Official API documentation: https://cloud.google.com/bigquery/
BigQuery Data Transfer API - bigquerydatatransfer v1
Transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis.
Official API documentation: https://cloud.google.com/bigquery/
Blogger API - blogger v3
API for access to the data within Blogger.
Official API documentation: https://developers.google.com/blogger/docs/3.0/getting_started
Books API - books v1
Searches for books and manages your Google Books library.
Official API documentation: https://developers.google.com/books/docs/v1/getting_started
Calendar API - calendar v3
Manipulates events and other calendar data.
Official API documentation: https://developers.google.com/google-apps/calendar/firstapp
Hangouts Chat API - chat v1
Enables bots to fetch information and perform actions in the new Hangouts Chat.
Official API documentation: https://developers.google.com/hangouts/chat
Google Civic Information API - civicinfo v2
Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.
Official API documentation: https://developers.google.com/civic-information
Google Classroom API - classroom v1
Manages classes, rosters, and invitations in Google Classroom.
Official API documentation: https://developers.google.com/classroom/
Cloud Billing API - cloudbilling v1
Allows developers to manage billing for their Google Cloud Platform projects programmatically.
Official API documentation: https://cloud.google.com/billing/
Cloud Container Builder API - cloudbuild v1
Builds container images in the cloud.
Official API documentation: https://cloud.google.com/container-builder/docs/
Stackdriver Debugger API - clouddebugger v2
Examines the call stack and variables of a running application without stopping or slowing it down.
Official API documentation: https://cloud.google.com/debugger
Cloud Functions API - cloudfunctions v1
Manages lightweight user-provided functions executed in response to events.
Official API documentation: https://cloud.google.com/functions
Cloud IoT API - cloudiot v1
Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.
Official API documentation: https://cloud.google.com/iot
Cloud Key Management Service (KMS) API - cloudkms v1
Manages encryption for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256 encryption keys.
Official API documentation: https://cloud.google.com/kms/
Cloud Resource Manager API - cloudresourcemanager v1
The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.
Official API documentation: https://cloud.google.com/resource-manager
Cloud Resource Manager API - cloudresourcemanager v2
The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.
Official API documentation: https://cloud.google.com/resource-manager
Cloud Shell API - cloudshell v1
Allows users to start, configure, and connect to interactive shell sessions running in the cloud.
Official API documentation: https://cloud.google.com/shell/docs/
Stackdriver Trace API - cloudtrace v1
Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API.
Official API documentation: https://cloud.google.com/trace
Stackdriver Trace API - cloudtrace v2
Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API.
Official API documentation: https://cloud.google.com/trace
Compute Engine API - compute v1
Creates and runs virtual machines on Google Cloud Platform.
Official API documentation: https://developers.google.com/compute/docs/reference/latest/
Kubernetes Engine API - container v1
The Google Kubernetes Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
Official API documentation: https://cloud.google.com/container-engine/
Content API for Shopping - content v2
Manages product items, inventory, and Merchant Center accounts for Google Shopping.
Official API documentation: https://developers.google.com/shopping-content
Content API for Shopping - content v2sandbox
Manages product items, inventory, and Merchant Center accounts for Google Shopping.
Official API documentation: https://developers.google.com/shopping-content
CustomSearch API - customsearch v1
Searches over a website or collection of websites
Official API documentation: https://developers.google.com/custom-search/v1/using_rest
Cloud Dataproc API - dataproc v1
Manages Hadoop-based clusters and jobs on Google Cloud Platform.
Official API documentation: https://cloud.google.com/dataproc/
Cloud Datastore API - datastore v1
Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.
Official API documentation: https://cloud.google.com/datastore/
Google Cloud Deployment Manager API - deploymentmanager v2
Declares, configures, and deploys complex solutions on Google Cloud Platform.
Official API documentation: https://cloud.google.com/deployment-manager/
DCM/DFA Reporting And Trafficking API - dfareporting v2.8
Manages your DoubleClick Campaign Manager ad campaigns and reports.
Official API documentation: https://developers.google.com/doubleclick-advertisers/
DCM/DFA Reporting And Trafficking API - dfareporting v3.0
Manages your DoubleClick Campaign Manager ad campaigns and reports.
Official API documentation: https://developers.google.com/doubleclick-advertisers/
DCM/DFA Reporting And Trafficking API - dfareporting v3.1
Manages your DoubleClick Campaign Manager ad campaigns and reports.
Official API documentation: https://developers.google.com/doubleclick-advertisers/
Dialogflow API - dialogflow v2
An end-to-end development suite for conversational interfaces (e.g., chatbots, voice-powered apps and devices).
Official API documentation: https://cloud.google.com/dialogflow-enterprise/
Digital Asset Links API - digitalassetlinks v1
API for discovering relationships between online assets such as web sites or mobile apps.
Official API documentation: https://developers.google.com/digital-asset-links/
APIs Discovery Service - discovery v1
Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.
Official API documentation: https://developers.google.com/discovery/
Cloud Data Loss Prevention (DLP) API - dlp v2
Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.
Official API documentation: https://cloud.google.com/dlp/docs/
Google Cloud DNS API - dns v1
Configures and serves authoritative DNS records.
Official API documentation: https://developers.google.com/cloud-dns
DoubleClick Bid Manager API - doubleclickbidmanager v1
API for viewing and managing your reports in DoubleClick Bid Manager.
Official API documentation: https://developers.google.com/bid-manager/
DoubleClick Search API - doubleclicksearch v2
Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).
Official API documentation: https://developers.google.com/doubleclick-search/
Drive API - drive v2
Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
Official API documentation: https://developers.google.com/drive/
Drive API - drive v3
Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
Official API documentation: https://developers.google.com/drive/
Firebase Dynamic Links API - firebasedynamiclinks v1
Programmatically creates and manages Firebase Dynamic Links.
Official API documentation: https://firebase.google.com/docs/dynamic-links/
Firebase Remote Config API - firebaseremoteconfig v1
Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.
Official API documentation: https://firebase.google.com/docs/remote-config/
Firebase Rules API - firebaserules v1
Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.
Official API documentation: https://firebase.google.com/docs/storage/security
Fitness - fitness v1
Stores and accesses user data in the fitness store from apps on any platform.
Official API documentation: https://developers.google.com/fit/rest/
Fusion Tables API - fusiontables v1
API for working with Fusion Tables data.
Official API documentation: https://developers.google.com/fusiontables
Fusion Tables API - fusiontables v2
API for working with Fusion Tables data.
Official API documentation: https://developers.google.com/fusiontables
Google Play Game Services API - games v1
The API for Google Play Game Services.
Official API documentation: https://developers.google.com/games/services/
Google Play Game Services Publishing API - gamesConfiguration v1configuration
The Publishing API for Google Play Game Services.
Official API documentation: https://developers.google.com/games/services
Google Play Game Services Management API - gamesManagement v1management
The Management API for Google Play Game Services.
Official API documentation: https://developers.google.com/games/services
Genomics API - genomics v1
Upload, process, query, and search Genomics data in the cloud.
Official API documentation: https://cloud.google.com/genomics
Gmail API - gmail v1
Access Gmail mailboxes including sending user email.
Official API documentation: https://developers.google.com/gmail/api/
Groups Migration API - groupsmigration v1
Groups Migration Api.
Official API documentation: https://developers.google.com/google-apps/groups-migration/
Groups Settings API - groupssettings v1
Lets you manage permission levels and related settings of a group.
Official API documentation: https://developers.google.com/google-apps/groups-settings/get_started
Identity and Access Management (IAM) API - iam v1
Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.
Official API documentation: https://cloud.google.com/iam/
Google Identity Toolkit API - identitytoolkit v3
Help the third party sites to implement federated login.
Official API documentation: https://developers.google.com/identity-toolkit/v3/
Cloud Job Discovery - jobs v2
Cloud Job Discovery provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.
Official API documentation: https://cloud.google.com/job-discovery/docs
Knowledge Graph Search API - kgsearch v1
Searches the Google Knowledge Graph for entities.
Official API documentation: https://developers.google.com/knowledge-graph/
Cloud Natural Language API - language v1
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/
Enterprise License Manager API - licensing v1
Views and manages licenses for your domain.
Official API documentation: https://developers.google.com/google-apps/licensing/
Stackdriver Logging API - logging v2
Writes log entries and manages your Stackdriver Logging configuration.
Official API documentation: https://cloud.google.com/logging/docs/
Manufacturer Center API - manufacturers v1
Public API for managing Manufacturer Center related data.
Official API documentation: https://developers.google.com/manufacturers/
Google Mirror API - mirror v1
Interacts with Glass users via the timeline.
Official API documentation: https://developers.google.com/glass
Cloud Machine Learning Engine - ml v1
An API to enable creating and using machine learning models.
Official API documentation: https://cloud.google.com/ml/
Stackdriver Monitoring API - monitoring v3
Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.
Official API documentation: https://cloud.google.com/monitoring/api/
Google OAuth2 API - oauth2 v2
Obtains end-user authorization grants for use with other Google APIs.
Official API documentation: https://developers.google.com/accounts/docs/OAuth2
Cloud OS Login API - oslogin v1
Manages OS login configuration for Google account users.
Official API documentation: https://cloud.google.com/compute/docs/oslogin/rest/
PageSpeed Insights API - pagespeedonline v1
Analyzes the performance of a web page and provides tailored suggestions to make that page faster.
Official API documentation: https://developers.google.com/speed/docs/insights/v1/getting_started
PageSpeed Insights API - pagespeedonline v2
Analyzes the performance of a web page and provides tailored suggestions to make that page faster.
Official API documentation: https://developers.google.com/speed/docs/insights/v2/getting-started
PageSpeed Insights API - pagespeedonline v4
Analyzes the performance of a web page and provides tailored suggestions to make that page faster.
Official API documentation: https://developers.google.com/speed/docs/insights/v4/getting-started
Google Partners API - partners v2
Searches certified companies and creates contact leads with them, and also audits the usage of clients.
Official API documentation: https://developers.google.com/partners/
People API - people v1
Provides access to information about profiles and contacts.
Official API documentation: https://developers.google.com/people/
Google Play Custom App Publishing API - playcustomapp v1
An API to publish custom Android apps.
Official API documentation: https://developers.google.com/android/work/play/custom-app-api
Google+ API - plus v1
Builds on top of the Google+ platform.
Official API documentation: https://developers.google.com/+/api/
Google+ Domains API - plusDomains v1
Builds on top of the Google+ platform for Google Apps Domains.
Official API documentation: https://developers.google.com/+/domains/
Poly API - poly v1
The Poly API provides read-only access to assets hosted on poly.google.com.
Official API documentation: https://developers.google.com/poly/
Prediction API - prediction v1.6
Lets you access a cloud hosted machine learning service that makes it easy to build smart apps
Official API documentation: https://developers.google.com/prediction/docs/developer-guide
Cloud Pub/Sub API - pubsub v1
Provides reliable, many-to-many, asynchronous messaging between applications.
Official API documentation: https://cloud.google.com/pubsub/docs
Enterprise Apps Reseller API - reseller v1
Creates and manages your customers and their subscriptions.
Official API documentation: https://developers.google.com/google-apps/reseller/
Cloud Runtime Configuration API - runtimeconfig v1
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/
Safe Browsing API - safebrowsing v4
Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.
Official API documentation: https://developers.google.com/safe-browsing/
Apps Script API - script v1
An API for managing and executing Google Apps Script projects.
Official API documentation: https://developers.google.com/apps-script/api/
Google Search Console URL Testing Tools API - searchconsole v1
Provides tools for running validation tests against single URLs
Official API documentation: https://developers.google.com/webmaster-tools/search-console-api/
Service Broker API - servicebroker v1
The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/).
Official API documentation: https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
Service Consumer Management API - serviceconsumermanagement v1
Provides management methods for configuring service producer resources on Google Cloud.
Official API documentation: https://cloud.google.com/service-consumer-management/docs/overview
Service Control API - servicecontrol v1
Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.
Official API documentation: https://cloud.google.com/service-control/
Service Management API - servicemanagement v1
Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.
Official API documentation: https://cloud.google.com/service-management/
Service User API - serviceuser v1
Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.
Official API documentation: https://cloud.google.com/service-management/
Google Sheets API - sheets v4
Reads and writes Google Sheets.
Official API documentation: https://developers.google.com/sheets/
Google Site Verification API - siteVerification v1
Verifies ownership of websites or domains with Google.
Official API documentation: https://developers.google.com/site-verification/
Google Slides API - slides v1
An API for creating and editing Google Slides presentations.
Official API documentation: https://developers.google.com/slides/
Cloud Source Repositories API - sourcerepo v1
Access source code repositories hosted by Google.
Official API documentation: https://cloud.google.com/source-repositories/docs/apis
Cloud Spanner API - spanner v1
Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
Official API documentation: https://cloud.google.com/spanner/
Cloud Speech API - speech v1
Converts audio to text by applying powerful neural network models.
Official API documentation: https://cloud.google.com/speech/
Cloud Storage JSON API - storage v1
Stores and retrieves potentially large, immutable data objects.
Official API documentation: https://developers.google.com/storage/docs/json_api/
Storage Transfer API - storagetransfer v1
Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.
Official API documentation: https://cloud.google.com/storage/transfer
Street View Publish API - streetviewpublish v1
Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.
Official API documentation: https://developers.google.com/streetview/publish/
Surveys API - surveys v2
Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.
Tag Manager API - tagmanager v1
Accesses Tag Manager accounts and containers.
Official API documentation: https://developers.google.com/tag-manager/api/v1/
Tag Manager API - tagmanager v2
Accesses Tag Manager accounts and containers.
Official API documentation: https://developers.google.com/tag-manager/api/v2/
Tasks API - tasks v1
Lets you manage your tasks and task lists.
Official API documentation: https://developers.google.com/google-apps/tasks/firstapp
Cloud Testing API - testing v1
Allows developers to run automated tests for their mobile applications on Google infrastructure.
Official API documentation: https://developers.google.com/cloud-test-lab/
Cloud TPU API - tpu v1
TPU API provides customers with access to Google TPU technology.
Official API documentation: https://cloud.google.com/tpu/
Google Cloud Translation API - translate v2
The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically.
Official API documentation: https://code.google.com/apis/language/translate/v2/getting_started.html
URL Shortener API - urlshortener v1
Lets you create, inspect, and manage goo.gl short URLs
Official API documentation: https://developers.google.com/url-shortener/v1/getting_started
G Suite Vault API - vault v1
Archiving and eDiscovery for G Suite.
Official API documentation: https://developers.google.com/vault
Cloud Video Intelligence API - videointelligence v1
Cloud Video Intelligence API.
Official API documentation: https://cloud.google.com/video-intelligence/docs/
Cloud Vision API - vision v1
Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
Official API documentation: https://cloud.google.com/vision/
Google Fonts Developer API - webfonts v1
Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets).
Official API documentation: https://developers.google.com/fonts/docs/developer_api
Search Console API - webmasters v3
View Google Search Console data for your verified sites.
Official API documentation: https://developers.google.com/webmaster-tools/
YouTube Data API - youtube v3
Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.
Official API documentation: https://developers.google.com/youtube/v3
YouTube Analytics API - youtubeAnalytics v1
Retrieves your YouTube Analytics data.
Official API documentation: http://developers.google.com/youtube/analytics/
YouTube Analytics API - youtubeAnalytics v2
Retrieves your YouTube Analytics data.
Official API documentation: https://developers.google.com/youtube/analytics
YouTube Reporting API - youtubereporting v1
Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.
Official API documentation: https://developers.google.com/youtube/reporting/v1/reports/