Skip to content

Commit

Permalink
Add slides_v1, regenerate APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Nov 8, 2016
1 parent 7ef23f3 commit 1f7cb24
Show file tree
Hide file tree
Showing 115 changed files with 13,094 additions and 3,148 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 0.9.20
* Regenerate APIs
* Add Slides API

# 0.9.19
* Regenerate APIs
* Add Adexchangebuyer2 api
* Add Adexchangebuyer2 API

# 0.9.15
* Add datastore v1
Expand Down
2 changes: 2 additions & 0 deletions api_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@
"/dataproc:v1/dataproc.projects.regions.operations.list": list_operations
"/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation
"/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation
"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item
"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item
"/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request
"/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response
"/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request
Expand Down
5,949 changes: 3,355 additions & 2,594 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/adexchangebuyer2_v2beta1.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/guides/client-access/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20161019'
REVISION = '20161107'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down
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 = '20161006'
REVISION = '20161020'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down
23 changes: 20 additions & 3 deletions generated/google/apis/adexchangebuyer_v1_4/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,12 @@ class BidderLocation

# The protocol that the bidder endpoint is using. By default, OpenRTB protocols
# use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses
# protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right
# protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right
# now. Allowed values:
# - PROTOCOL_ADX
# - PROTOCOL_OPENRTB_2_2
# - PROTOCOL_OPENRTB_2_3
# - PROTOCOL_OPENRTB_2_4
# - PROTOCOL_OPENRTB_PROTOBUF
# Corresponds to the JSON property `bidProtocol`
# @return [String]
Expand Down Expand Up @@ -620,7 +621,7 @@ class Creative
attr_accessor :version

# The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not
# be set. Note, this is diffrent from resource.native_ad.video_url above.
# be set. Note, this is different from resource.native_ad.video_url above.
# Corresponds to the JSON property `videoURL`
# @return [String]
attr_accessor :video_url
Expand Down Expand Up @@ -816,6 +817,11 @@ class NativeAd
# @return [String]
attr_accessor :call_to_action

# The URL that the browser/SDK will load when the user clicks the ad.
# Corresponds to the JSON property `clickLinkUrl`
# @return [String]
attr_accessor :click_link_url

# The URL to use for click tracking.
# Corresponds to the JSON property `clickTrackingUrl`
# @return [String]
Expand Down Expand Up @@ -856,7 +862,8 @@ class NativeAd
# @return [String]
attr_accessor :store

#
# The URL of the XML VAST for a native ad. Note this is a separate field from
# resource.video_url.
# Corresponds to the JSON property `videoURL`
# @return [String]
attr_accessor :video_url
Expand All @@ -871,6 +878,7 @@ def update!(**args)
@app_icon = args[:app_icon] if args.key?(:app_icon)
@body = args[:body] if args.key?(:body)
@call_to_action = args[:call_to_action] if args.key?(:call_to_action)
@click_link_url = args[:click_link_url] if args.key?(:click_link_url)
@click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
@headline = args[:headline] if args.key?(:headline)
@image = args[:image] if args.key?(:image)
Expand Down Expand Up @@ -2427,6 +2435,14 @@ class PretargetingConfig
# @return [Array<String>]
attr_accessor :supported_creative_attributes

# Requests containing the specified type of user data will match. Possible
# values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and
# has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means
# the request has either a targetable cookie or an iOS IDFA.
# Corresponds to the JSON property `userIdentifierDataRequired`
# @return [Array<String>]
attr_accessor :user_identifier_data_required

# Requests containing any of these user list ids will match.
# Corresponds to the JSON property `userLists`
# @return [Array<String>]
Expand Down Expand Up @@ -2474,6 +2490,7 @@ def update!(**args)
@placements = args[:placements] if args.key?(:placements)
@platforms = args[:platforms] if args.key?(:platforms)
@supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes)
@user_identifier_data_required = args[:user_identifier_data_required] if args.key?(:user_identifier_data_required)
@user_lists = args[:user_lists] if args.key?(:user_lists)
@vendor_types = args[:vendor_types] if args.key?(:vendor_types)
@verticals = args[:verticals] if args.key?(:verticals)
Expand Down
2 changes: 2 additions & 0 deletions generated/google/apis/adexchangebuyer_v1_4/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :body, as: 'body'
property :call_to_action, as: 'callToAction'
property :click_link_url, as: 'clickLinkUrl'
property :click_tracking_url, as: 'clickTrackingUrl'
property :headline, as: 'headline'
property :image, as: 'image', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image::Representation
Expand Down Expand Up @@ -1139,6 +1140,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

collection :platforms, as: 'platforms'
collection :supported_creative_attributes, as: 'supportedCreativeAttributes'
collection :user_identifier_data_required, as: 'userIdentifierDataRequired'
collection :user_lists, as: 'userLists'
collection :vendor_types, as: 'vendorTypes'
collection :verticals, as: 'verticals'
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 = '20161003'
REVISION = '20161020'

# 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 = '20161019'
REVISION = '20161107'

# 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/adsense_v1_4/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class AdStyle
# @return [Google::Apis::AdsenseV1_4::AdStyle::Colors]
attr_accessor :colors

# The style of the corners in the ad.
# The style of the corners in the ad (deprecated: never populated, ignored).
# Corresponds to the JSON property `corners`
# @return [String]
attr_accessor :corners
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 = '20161019'
REVISION = '20161107'

# View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
Expand Down
3 changes: 1 addition & 2 deletions generated/google/apis/adsensehost_v4_1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ class AdStyle
# @return [Google::Apis::AdsensehostV4_1::AdStyle::Colors]
attr_accessor :colors

# The style of the corners in the ad. Possible values are SQUARE,
# SLIGHTLY_ROUNDED and VERY_ROUNDED.
# The style of the corners in the ad (deprecated: never populated, ignored).
# Corresponds to the JSON property `corners`
# @return [String]
attr_accessor :corners
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 = '20161011'
REVISION = '20161102'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
16 changes: 9 additions & 7 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class AdministratorWebTokenSpec

# The list of permissions the admin is granted within the iframe. The admin will
# only be allowed to view an iframe if they have all of the permissions
# associated with it.
# associated with it. The only valid value is "approveApps" that will allow the
# admin to access the iframe in "approve" mode.
# Corresponds to the JSON property `permission`
# @return [Array<String>]
attr_accessor :permission
Expand Down Expand Up @@ -2022,12 +2023,13 @@ class StoreLayout
# @return [String]
attr_accessor :kind

# Sets a store layout type. If set to "custom", "homepageId" must be specified.
# If set to "basic", the layout will consist of all approved apps accessible by
# the user, split in pages of 100 each; in this case, "homepageId" must not be
# specified. The "basic" setting takes precedence over any existing collections
# setup for this enterprise (if any). Should the enterprise use
# collectionViewers for controlling access rights, these will still be respected.
# The store layout type. By default, this value is set to "basic". If set to "
# custom", "homepageId" must be specified. If set to "basic", the layout will
# consist of all approved apps accessible by the user, split in pages of 100
# each; in this case, "homepageId" must not be specified. The "basic" setting
# takes precedence over any existing collections setup for this enterprise (if
# any). Should the enterprise use collectionViewers for controlling access
# rights, these will still be respected.
# Corresponds to the JSON property `storeLayoutType`
# @return [String]
attr_accessor :store_layout_type
Expand Down
8 changes: 7 additions & 1 deletion generated/google/apis/androidenterprise_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,13 @@ def set_enterprise_account(enterprise_id, enterprise_account_object = nil, field
execute_or_queue_command(command, &block)
end

# Sets the store layout for the enterprise.
# Sets the store layout for the enterprise. By default, storeLayoutType is set
# to "basic" and the basic store layout is enabled. The basic layout only
# contains apps approved by the administrator, and that have been added to the
# available product set for a user (using the setAvailableProductSet call).
# Apps on the page are sorted in order of their product ID value. If you create
# a custom store layout (by setting storeLayoutType = "custom"), the basic store
# layout is disabled.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
Expand Down
8 changes: 7 additions & 1 deletion generated/google/apis/appengine_v1beta5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ module Apis
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta5
VERSION = 'V1beta5'
REVISION = '20161012'
REVISION = '20161101'

# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

# View your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
end
end
end
Loading

0 comments on commit 1f7cb24

Please sign in to comment.