Skip to content

Commit

Permalink
Bump version, regen APIs
Browse files Browse the repository at this point in the history
Revert api_names.yaml to pick up the manual overrides lost in v0.12.0
  • Loading branch information
saicheems committed Jun 14, 2017
1 parent ebd954a commit 749539e
Show file tree
Hide file tree
Showing 314 changed files with 106,229 additions and 138,520 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.13.0
* Regenerate APIs
* Revert api\_names.yaml to an earlier revision to restore some manual name
overrides that were lost in 0.12.0
* For example, in `compute:v1`, `aggregated_address_list` has been reverted
to `list_aggregated_instances`.

# 0.12.0
* *Breaking change* - Change behavior of `fetch_all` to collect Hash responses
into a single collection.
Expand Down
42,554 changes: 945 additions & 41,609 deletions api_names.yaml

Large diffs are not rendered by default.

83,113 changes: 41,969 additions & 41,144 deletions api_names_out.yaml

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions generated/google/apis/acceleratedmobilepageurl_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ def update!(**args)
class AmpUrlError
include Google::Apis::Core::Hashable

# An optional descriptive error message.
# Corresponds to the JSON property `errorMessage`
# @return [String]
attr_accessor :error_message

# The error code of an API call.
# Corresponds to the JSON property `errorCode`
# @return [String]
Expand All @@ -73,42 +68,47 @@ class AmpUrlError
# @return [String]
attr_accessor :original_url

# An optional descriptive error message.
# Corresponds to the JSON property `errorMessage`
# @return [String]
attr_accessor :error_message

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

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

# AMP URL request for a batch of URLs.
class BatchGetAmpUrlsRequest
include Google::Apis::Core::Hashable

# The lookup_strategy being requested.
# Corresponds to the JSON property `lookupStrategy`
# @return [String]
attr_accessor :lookup_strategy

# List of URLs to look up for the paired AMP URLs.
# The URLs are case-sensitive. Up to 50 URLs per lookup
# (see [Usage Limits](/amp/cache/reference/limits)).
# Corresponds to the JSON property `urls`
# @return [Array<String>]
attr_accessor :urls

# The lookup_strategy being requested.
# Corresponds to the JSON property `lookupStrategy`
# @return [String]
attr_accessor :lookup_strategy

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
class AmpUrlError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
property :error_code, as: 'errorCode'
property :original_url, as: 'originalUrl'
property :error_message, as: 'errorMessage'
end
end

class BatchGetAmpUrlsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :urls, as: 'urls'
property :lookup_strategy, as: 'lookupStrategy'
collection :urls, as: 'urls'
end
end

Expand Down
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 = '20170531'
REVISION = '20170608'

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

0 comments on commit 749539e

Please sign in to comment.