Skip to content

Commit

Permalink
add language_v1beta1 and speech_v1beta1 APIs, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Aug 31, 2016
1 parent 70596d2 commit 0dc5432
Show file tree
Hide file tree
Showing 65 changed files with 2,719 additions and 84 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# 0.9.13
* Fix fetch_all to work correctly with the genomics API
* Add speech & language APIs, regenerate APIs


# 0.9.12
* Regenerated APIs


# 0.9.11
* Add DFA Reporting 2.5, regenerate APIs

Expand Down
2 changes: 2 additions & 0 deletions api_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1050,3 +1050,5 @@
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions
"/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech
"/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech
178 changes: 178 additions & 0 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/adexchangebuyer_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/ad-exchange/buyer-rest
module AdexchangebuyerV1_4
VERSION = 'V1_4'
REVISION = '20160721'
REVISION = '20160831'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down
8 changes: 8 additions & 0 deletions generated/google/apis/adexchangebuyer_v1_4/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,13 @@ class DealTerms
# @return [String]
attr_accessor :branding_type

# Indicates that this ExternalDealId exists under at least two different
# AdxInventoryDeals. Currently, the only case that the same ExternalDealId will
# exist is programmatic cross sell case.
# Corresponds to the JSON property `crossListedExternalDealIdType`
# @return [String]
attr_accessor :cross_listed_external_deal_id_type

# Description for the proposed terms of the deal.
# Corresponds to the JSON property `description`
# @return [String]
Expand Down Expand Up @@ -1230,6 +1237,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@branding_type = args[:branding_type] if args.key?(:branding_type)
@cross_listed_external_deal_id_type = args[:cross_listed_external_deal_id_type] if args.key?(:cross_listed_external_deal_id_type)
@description = args[:description] if args.key?(:description)
@estimated_gross_spend = args[:estimated_gross_spend] if args.key?(:estimated_gross_spend)
@estimated_impressions_per_day = args[:estimated_impressions_per_day] if args.key?(:estimated_impressions_per_day)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ class DealTerms
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :branding_type, as: 'brandingType'
property :cross_listed_external_deal_id_type, as: 'crossListedExternalDealIdType'
property :description, as: 'description'
property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation

Expand Down
16 changes: 12 additions & 4 deletions generated/google/apis/adexchangebuyer_v1_4/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &blo
# @param [Fixnum] id
# The account id
# @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object
# @param [Boolean] confirm_unsafe_account_change
# Confirmation for erasing bidder and cookie matching urls.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -145,13 +147,14 @@ def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &blo
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Account
command.params['id'] = id unless id.nil?
command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
Expand All @@ -162,6 +165,8 @@ def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_i
# @param [Fixnum] id
# The account id
# @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object
# @param [Boolean] confirm_unsafe_account_change
# Confirmation for erasing bidder and cookie matching urls.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -183,13 +188,14 @@ def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_i
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Account
command.params['id'] = id unless id.nil?
command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
Expand Down Expand Up @@ -1291,7 +1297,8 @@ def insert_proposal(create_orders_request_object = nil, fields: nil, quota_user:
# should then fetch the latest proposal at head revision and retry the update at
# that revision.
# @param [String] update_action
# The proposed action to take on the proposal.
# The proposed action to take on the proposal. This field is required and it
# must be set when updating a proposal.
# @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
Expand Down Expand Up @@ -1406,7 +1413,8 @@ def proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip:
# should then fetch the latest proposal at head revision and retry the update at
# that revision.
# @param [String] update_action
# The proposed action to take on the proposal.
# The proposed action to take on the proposal. This field is required and it
# must be set when updating a proposal.
# @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/admin_directory_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/admin-sdk/directory/
module AdminDirectoryV1
VERSION = 'DirectoryV1'
REVISION = '20160715'
REVISION = '20160824'

# View and manage customer related information
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
Expand Down
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 @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/adsense/management/
module AdsenseV1_4
VERSION = 'V1_4'
REVISION = '20160815'
REVISION = '20160830'

# 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 = '20160815'
REVISION = '20160830'

# 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 @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20160803'
REVISION = '20160825'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
18 changes: 13 additions & 5 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,19 @@ class Device
# @return [String]
attr_accessor :kind

# 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.
# Identifies the extent to which the device is controlled by an Android for Work
# EMM in various deployment configurations.
# Possible values include:
# - "managedDevice"—A device that has the EMM's device policy controller (DPC)
# as the device owner.
# - "managedProfile"—A device that has a work profile managed by the DPC (DPC is
# profile owner) in addition to a separate, personal profile that is unavailable
# to the DPC.
# - "containerApp"—A device running the Android for Work App. The Android for
# Work App is managed by the DPC.
# - "unmanagedProfile"—A device that has been allowed (by the domain's admin,
# using the Admin Console to enable the privilege) to use Android for Work apps
# or Google Apps for Work, but the profile is itself not owned by a DPC.
# Corresponds to the JSON property `managementType`
# @return [String]
attr_accessor :management_type
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidpublisher_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20160816'
REVISION = '20160817'

# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
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 = '20160810'
REVISION = '20160824'

# 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 = '20160804'
REVISION = '20160822'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
Loading

0 comments on commit 0dc5432

Please sign in to comment.