Skip to content

Commit

Permalink
Add people API, remove Mapsengine
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Feb 10, 2016
1 parent 554c20d commit a68c43d
Show file tree
Hide file tree
Showing 68 changed files with 4,598 additions and 9,224 deletions.
44 changes: 1 addition & 43 deletions api_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -909,49 +909,6 @@
"/logging:v2beta1/logging.projects.logs.entries.write": write_log_entries
"/manager:v1beta2/DeploymentsListResponse": list_deployments_response
"/manager:v1beta2/TemplatesListResponse": list_templates_response
"/mapsengine:v1/AssetsListResponse": list_assets_response
"/mapsengine:v1/FeaturesBatchDeleteRequest": batch_delete_features_request
"/mapsengine:v1/FeaturesBatchInsertRequest": batch_insert_features_request
"/mapsengine:v1/FeaturesBatchPatchRequest": batch_patch_features_request
"/mapsengine:v1/FeaturesListResponse": list_features_response
"/mapsengine:v1/IconsListResponse": list_icons_response
"/mapsengine:v1/LayersListResponse": list_layers_response
"/mapsengine:v1/MapsListResponse": list_maps_response
"/mapsengine:v1/ParentsListResponse": list_parents_response
"/mapsengine:v1/PermissionsBatchDeleteRequest": batch_delete_permissions_request
"/mapsengine:v1/PermissionsBatchDeleteResponse": batch_delete_permissions_response
"/mapsengine:v1/PermissionsBatchUpdateRequest": batch_update_permissions_request
"/mapsengine:v1/PermissionsBatchUpdateResponse": batch_update_permissions_response
"/mapsengine:v1/PermissionsListResponse": list_permissions_response
"/mapsengine:v1/ProjectsListResponse": list_projects_response
"/mapsengine:v1/PublishedLayersListResponse": list_published_layers_response
"/mapsengine:v1/PublishedMapsListResponse": list_published_maps_response
"/mapsengine:v1/RasterCollectionsListResponse": list_raster_collections_response
"/mapsengine:v1/RasterCollectionsRasterBatchDeleteRequest": batch_delete_raster_collections_raster_request
"/mapsengine:v1/RasterCollectionsRastersBatchDeleteResponse": batch_delete_raster_collections_rasters_response
"/mapsengine:v1/RasterCollectionsRastersBatchInsertRequest": batch_insert_raster_collections_rasters_request
"/mapsengine:v1/RasterCollectionsRastersBatchInsertResponse": batch_insert_raster_collections_rasters_response
"/mapsengine:v1/RasterCollectionsRastersListResponse": list_raster_collections_rasters_response
"/mapsengine:v1/RastersListResponse": list_rasters_response
"/mapsengine:v1/TablesListResponse": list_tables_response
"/mapsengine:v1/mapsengine.layers.getPublished": get_published_layer
"/mapsengine:v1/mapsengine.layers.listPublished": list_published_layers
"/mapsengine:v1/mapsengine.layers.permissions.batchDelete": batch_delete_layer_permission
"/mapsengine:v1/mapsengine.layers.permissions.batchUpdate": batch_update_layer_permission
"/mapsengine:v1/mapsengine.maps.getPublished": get_published_map
"/mapsengine:v1/mapsengine.maps.permissions.batchDelete": batch_delete_map_permission
"/mapsengine:v1/mapsengine.maps.permissions.batchUpdate": batch_update_map_permission
"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchDelete": batch_delete_raster_collection_permission
"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchUpdate": batch_update_raster_collection_permission
"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchDelete": batch_delete_raster_collection_raster
"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchInsert": batch_insert_raster_collection_raster
"/mapsengine:v1/mapsengine.rasters.permissions.batchDelete": batch_delete_raster_permission
"/mapsengine:v1/mapsengine.rasters.permissions.batchUpdate": batch_update_raster_permission
"/mapsengine:v1/mapsengine.tables.features.batchDelete": batch_delete_table_feature
"/mapsengine:v1/mapsengine.tables.features.batchInsert": batch_insert_table_feature
"/mapsengine:v1/mapsengine.tables.features.batchPatch": batch_patch_table_feature
"/mapsengine:v1/mapsengine.tables.permissions.batchDelete": batch_delete_table_permission
"/mapsengine:v1/mapsengine.tables.permissions.batchUpdate": batch_update_table_permission
"/mirror:v1/AttachmentsListResponse": list_attachments_response
"/mirror:v1/ContactsListResponse": list_contacts_response
"/mirror:v1/LocationsListResponse": list_locations_response
Expand All @@ -961,6 +918,7 @@
"/pagespeedonline:v2/PagespeedApiFormatStringV2": format_string
"/pagespeedonline:v2/PagespeedApiImageV2": image
"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed": run_pagespeed
"/people:v1/people.people.getBatchGet": get_people
"/plus:v1/plus.people.listByActivity": list_people_by_activity
"/plusDomains:v1/plusDomains.circles.addPeople": add_people
"/plusDomains:v1/plusDomains.circles.removePeople": remove_people
Expand Down
1,003 changes: 312 additions & 691 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/adsense_v1_4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/adsense/management/
module AdsenseV1_4
VERSION = 'V1_4'
REVISION = '20160127'
REVISION = '20160209'

# View and manage your AdSense data
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adsensehost_v4_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/adsense/host/
module AdsensehostV4_1
VERSION = 'V4_1'
REVISION = '20160127'
REVISION = '20160209'

# View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20160106'
REVISION = '20160203'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
36 changes: 18 additions & 18 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def update!(**args)
end
end

# A device resource represents a mobile device managed by the MDM and belonging
# A device resource represents a mobile device managed by the EMM and belonging
# to a specific enterprise user.
# This collection cannot be modified via the API; it is automatically populated
# as devices are set up to be managed.
Expand All @@ -339,10 +339,10 @@ class Device
# @return [String]
attr_accessor :kind

# The mechanism by which this device is managed by the MDM. "managedDevice"
# means that the MDM's app is a device owner. "managedProfile" means that the
# MDM's app is the profile owner (and there is a separate personal profile which
# is not managed). "containerApp" means that the MDM's app is managing the
# The mechanism by which this device is managed by the EMM. "managedDevice"
# means that the EMM's app is a device owner. "managedProfile" means that the
# EMM's app is the profile owner (and there is a separate personal profile which
# is not managed). "containerApp" means that the EMM's app is managing the
# Android for Work container app on the device.
# Corresponds to the JSON property `managementType`
# @return [String]
Expand Down Expand Up @@ -417,21 +417,21 @@ def update!(**args)
end

# An enterprise resource represents a binding between an organisation and their
# MDM.
# EMM.
# To create an enterprise, an admin of the enterprise must first go through a
# Play for Work sign-up flow. At the end of this the admin will be presented
# with a token (a short opaque alphanumeric string). They must then present this
# to the MDM, who then supplies it to the enroll method. Until this is done the
# MDM will not have any access to the enterprise.
# After calling enroll the MDM should call setAccount to specify the service
# to the EMM, who then supplies it to the enroll method. Until this is done the
# EMM will not have any access to the enterprise.
# After calling enroll the EMM should call setAccount to specify the service
# account that will be allowed to act on behalf of the enterprise, which will be
# required for access to the enterprise's data through this API. Only one call
# of setAccount is allowed for a given enterprise; the only way to change the
# account later is to unenroll the enterprise and enroll it again (obtaining a
# new token).
# The MDM can unenroll an enterprise in order to sever the binding between them.
# The EMM can unenroll an enterprise in order to sever the binding between them.
# Re-enrolling an enterprise is possible, but requires a new token to be
# retrieved. Enterprises.unenroll requires the MDM's credentials (as enroll does)
# retrieved. Enterprises.unenroll requires the EMM's credentials (as enroll does)
# , not the enterprise's. Enterprises.unenroll can only be used for enterprises
# that were previously enrolled with the enroll call. Any enterprises that were
# enrolled using the (deprecated) Enterprises.insert call must be unenrolled
Expand Down Expand Up @@ -563,7 +563,7 @@ def update!(**args)
# It should always be true that a user has an app installed on one of their
# devices only if they have an entitlement to it. So if an entitlement is
# deleted, the app will be uninstalled from all devices. Similarly if the user
# installs an app (and is permitted to do so), or the MDM triggers an install of
# installs an app (and is permitted to do so), or the EMM triggers an install of
# the app, an entitlement to that app is automatically created. If this is
# impossible - e.g. the enterprise has not purchased sufficient licenses - then
# installation fails.
Expand Down Expand Up @@ -887,7 +887,7 @@ def update!(**args)
# permissions on behalf of their users before an entitlement for the app can be
# created.
# The permissions collection is read-only. The information provided for each
# permission (localized name and description) is intended to be used in the MDM
# permission (localized name and description) is intended to be used in the EMM
# user interface when obtaining consent from the enterprise.
class Permission
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -932,7 +932,7 @@ def update!(**args)
# enterprise.)
# The information provided for each product (localized name, icon, link to the
# full Google Play details page) is intended to allow a basic representation of
# the product within an MDM user interface.
# the product within an EMM user interface.
class Product
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1340,9 +1340,9 @@ def update!(**args)
# A user resource represents an individual user within the enterprise's domain.
# Note that each user is associated with a Google account based on the user's
# corporate email address (which must be in one of the enterprise's domains). As
# part of installing an MDM app to manage a device the Google account must be
# provisioned to the device, and so the user resource must be created before
# that. This can be done using the Google Admin SDK Directory API.
# part of installing the EMM's DPC app to manage a device the Google account
# must be provisioned to the device, and so the user resource must be created
# before that. This can be done using the Google Admin SDK Directory API.
# The ID for a user is an opaque string. It can be retrieved using the list
# method queried by the user's primary email address.
class User
Expand Down Expand Up @@ -1379,7 +1379,7 @@ def update!(**args)

# A UserToken is used by a user when setting up a managed device or profile with
# their work account on a device. When the user enters their email address and
# token (activation code) the appropriate MDM app can be automatically
# token (activation code) the appropriate EMM app can be automatically
# downloaded.
class UserToken
include Google::Apis::Core::Hashable
Expand Down
17 changes: 9 additions & 8 deletions generated/google/apis/androidenterprise_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def set_device_state(enterprise_id, user_id, device_id, device_state_object = ni
execute_or_queue_command(command, &block)
end

# Deletes the binding between the MDM and enterprise. This is now deprecated;
# Deletes the binding between the EMM and enterprise. This is now deprecated;
# use this to unenroll customers that were previously enrolled with the 'insert'
# call, then enroll them again with the 'enroll' call.
# @param [String] enterprise_id
Expand Down Expand Up @@ -703,9 +703,9 @@ def delete_enterprise(enterprise_id, fields: nil, quota_user: nil, user_ip: nil,
execute_or_queue_command(command, &block)
end

# Enrolls an enterprise with the calling MDM.
# Enrolls an enterprise with the calling EMM.
# @param [String] token
# The token provided by the enterprise to register the MDM.
# The token provided by the enterprise to register the EMM.
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
Expand Down Expand Up @@ -811,10 +811,10 @@ def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil, use
execute_or_queue_command(command, &block)
end

# Establishes the binding between the MDM and an enterprise. This is now
# Establishes the binding between the EMM and an enterprise. This is now
# deprecated; use enroll instead.
# @param [String] token
# The token provided by the enterprise to register the MDM.
# The token provided by the enterprise to register the EMM.
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
Expand Down Expand Up @@ -885,7 +885,7 @@ def list_enterprises(domain, fields: nil, quota_user: nil, user_ip: nil, options
execute_or_queue_command(command, &block)
end

# Sends a test push notification to validate the MDM integration with the Google
# Sends a test push notification to validate the EMM integration with the Google
# Cloud Pub/Sub service for this enterprise.
# @param [String] enterprise_id
# The ID of the enterprise.
Expand Down Expand Up @@ -997,7 +997,7 @@ def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields
execute_or_queue_command(command, &block)
end

# Unenrolls an enterprise from the calling MDM.
# Unenrolls an enterprise from the calling EMM.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] fields
Expand Down Expand Up @@ -2361,6 +2361,7 @@ def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fiel

# Generates a token (activation code) to allow this user to configure their work
# account in the Android Setup Wizard. Revokes any previously generated token.
# This call only works with Google managed accounts.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] user_id
Expand Down Expand Up @@ -2474,7 +2475,7 @@ def get_user_available_product_set(enterprise_id, user_id, fields: nil, quota_us
execute_or_queue_command(command, &block)
end

# Looks up a user by email address. This only works for Google managed users.
# Looks up a user by their primary email address.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] email
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/appstate_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/games/services/web/api/states
module AppstateV1
VERSION = 'V1'
REVISION = '20160121'
REVISION = '20160203'

# View and manage your data for this application
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/bigquery_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20160119'
REVISION = '20160129'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
21 changes: 11 additions & 10 deletions generated/google/apis/bigquery_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1131,10 +1131,10 @@ class JobConfigurationQuery
# @return [String]
attr_accessor :query

# [Experimental] If querying an external data source outside of BigQuery,
# describes the data format, location and other properties of the data source.
# By defining these properties, the data source can then be queried as if it
# were a standard BigQuery table.
# [Optional] If querying an external data source outside of BigQuery, describes
# the data format, location and other properties of the data source. By defining
# these properties, the data source can then be queried as if it were a standard
# BigQuery table.
# Corresponds to the JSON property `tableDefinitions`
# @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
attr_accessor :table_definitions
Expand Down Expand Up @@ -1908,7 +1908,7 @@ class Table
# @return [String]
attr_accessor :expiration_time

# [Experimental] Describes the data format, location, and other properties of a
# [Optional] Describes the data format, location, and other properties of a
# table stored outside of BigQuery. By defining these properties, the data
# source can then be queried as if it were a standard BigQuery table.
# Corresponds to the JSON property `externalDataConfiguration`
Expand Down Expand Up @@ -2065,11 +2065,12 @@ class InsertAllTableDataRequest
attr_accessor :skip_invalid_rows
alias_method :skip_invalid_rows?, :skip_invalid_rows

# [Optional] If specified, treats the destination table as a base template, and
# inserts the rows into an instance table named "`destination``templateSuffix`".
# BigQuery will manage creation of the instance table, using the schema of the
# base template table. See https://cloud.google.com/bigquery/streaming-data-into-
# bigquery#template-tables for considerations when working with templates tables.
# [Experimental] If specified, treats the destination table as a base template,
# and inserts the rows into an instance table named "`destination``
# templateSuffix`". BigQuery will manage creation of the instance table, using
# the schema of the base template table. See https://cloud.google.com/bigquery/
# streaming-data-into-bigquery#template-tables for considerations when working
# with templates tables.
# Corresponds to the JSON property `templateSuffix`
# @return [String]
attr_accessor :template_suffix
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/books_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1
VERSION = 'V1'
REVISION = '20151218'
REVISION = '20160113'

# Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
Expand Down
Loading

0 comments on commit a68c43d

Please sign in to comment.