Skip to content

Commit

Permalink
Regen APIs and bump version
Browse files Browse the repository at this point in the history
This commit also adds `dfareporting:v2.8`.
  • Loading branch information
saicheems committed May 4, 2017
1 parent ff5eb36 commit 7b5a460
Show file tree
Hide file tree
Showing 252 changed files with 125,106 additions and 54,289 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.11.2
* Regenerate all APIs except dataflow:v1b3
* Add `dfareporting:v2.8`

# 0.11.1
* Remove stray debug output

Expand Down
42,336 changes: 42,335 additions & 1 deletion api_names.yaml

Large diffs are not rendered by default.

12,096 changes: 6,967 additions & 5,129 deletions api_names_out.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions generated/google/apis/acceleratedmobilepageurl_v1.rb
Expand Up @@ -20,13 +20,13 @@ module Google
module Apis
# Accelerated Mobile Pages (AMP) URL API
#
# This API contains a single method, batchGet. Call this method to retrieve the
# AMP URL (and equivalent AMP Cache URL) for given public URL(s).
# Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list
# of public URL(s).
#
# @see https://developers.google.com/amp/cache/
module AcceleratedmobilepageurlV1
VERSION = 'V1'
REVISION = '20170329'
REVISION = '20170504'
end
end
end
56 changes: 28 additions & 28 deletions generated/google/apis/acceleratedmobilepageurl_v1/classes.rb
Expand Up @@ -22,34 +22,6 @@ module Google
module Apis
module AcceleratedmobilepageurlV1

# Batch AMP URL response.
class BatchGetAmpUrlsResponse
include Google::Apis::Core::Hashable

# For each URL in BatchAmpUrlsRequest, the URL response. The response might
# not be in the same order as URLs in the batch request.
# If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
# only once.
# Corresponds to the JSON property `ampUrls`
# @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
attr_accessor :amp_urls

# The errors for requested URLs that have no AMP URL.
# Corresponds to the JSON property `urlErrors`
# @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError>]
attr_accessor :url_errors

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@amp_urls = args[:amp_urls] if args.key?(:amp_urls)
@url_errors = args[:url_errors] if args.key?(:url_errors)
end
end

# AMP URL response for a requested URL.
class AmpUrl
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -139,6 +111,34 @@ def update!(**args)
@lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy)
end
end

# Batch AMP URL response.
class BatchGetAmpUrlsResponse
include Google::Apis::Core::Hashable

# For each URL in BatchAmpUrlsRequest, the URL response. The response might
# not be in the same order as URLs in the batch request.
# If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
# only once.
# Corresponds to the JSON property `ampUrls`
# @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
attr_accessor :amp_urls

# The errors for requested URLs that have no AMP URL.
# Corresponds to the JSON property `urlErrors`
# @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError>]
attr_accessor :url_errors

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@amp_urls = args[:amp_urls] if args.key?(:amp_urls)
@url_errors = args[:url_errors] if args.key?(:url_errors)
end
end
end
end
end
Expand Up @@ -22,12 +22,6 @@ module Google
module Apis
module AcceleratedmobilepageurlV1

class BatchGetAmpUrlsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class AmpUrl
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand All @@ -47,13 +41,9 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
end

class BatchGetAmpUrlsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation

collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end

end
include Google::Apis::Core::JsonObjectSupport
end

class AmpUrl
Expand Down Expand Up @@ -81,6 +71,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :lookup_strategy, as: 'lookupStrategy'
end
end

class BatchGetAmpUrlsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation

collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation

end
end
end
end
end
4 changes: 2 additions & 2 deletions generated/google/apis/acceleratedmobilepageurl_v1/service.rb
Expand Up @@ -22,8 +22,8 @@ module Apis
module AcceleratedmobilepageurlV1
# Accelerated Mobile Pages (AMP) URL API
#
# This API contains a single method, batchGet. Call this method to retrieve the
# AMP URL (and equivalent AMP Cache URL) for given public URL(s).
# Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list
# of public URL(s).
#
# @example
# require 'google/apis/acceleratedmobilepageurl_v1'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adexchangebuyer2_v2beta1.rb
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 = '20170331'
REVISION = '20170503'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down

0 comments on commit 7b5a460

Please sign in to comment.