Skip to content

Commit

Permalink
Autogenerated update (2017-08-25)
Browse files Browse the repository at this point in the history
Add:
- adexperiencereport_v1
- androiddeviceprovisioning_v1
- androidmanagement_v1
- bigquerydatatransfer_v1
- cloudtrace_v2
- clouduseraccounts_vm_alpha
- consumersurveys_v2
- dlp_v2beta1
- oslogin_v1alpha
- playcustomapp_v1
- playmoviespartner_v1
- safebrowsing_v4
- spectrum_v1explorer
- speech_v1
- streetviewpublish_v1
- vault_v1
- videointelligence_v1beta1

Update:
- acceleratedmobilepageurl_v1
- adexchangebuyer2_v2beta1
- adexchangebuyer_v1_4
- adsense_v1_4
- adsensehost_v4_1
- analytics_v3
- analyticsreporting_v4
- androidenterprise_v1
- androidpublisher_v2
- appengine_v1
- appsactivity_v1
- appstate_v1
- bigquery_v2
- calendar_v3
- classroom_v1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- clouderrorreporting_v1beta1
- cloudfunctions_v1
- cloudkms_v1
- cloudmonitoring_v2beta2
- cloudresourcemanager_v1
- compute_beta
- compute_v1
- container_v1
- content_v2
- dataflow_v1b3
- dataproc_v1
- datastore_v1
- deploymentmanager_v2
- dfareporting_v2_8
- dns_v1
- doubleclicksearch_v2
- drive_v3
- firebasedynamiclinks_v1
- firebaserules_v1
- fitness_v1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- genomics_v1
- gmail_v1
- iam_v1
- identitytoolkit_v3
- language_v1
- logging_v2
- manufacturers_v1
- ml_v1
- monitoring_v3
- oauth2_v2
- partners_v2
- people_v1
- plus_domains_v1
- plus_v1
- proximitybeacon_v1beta1
- pubsub_v1
- runtimeconfig_v1
- script_v1
- searchconsole_v1
- servicecontrol_v1
- servicemanagement_v1
- serviceuser_v1
- sheets_v4
- slides_v1
- sourcerepo_v1
- spanner_v1
- sqladmin_v1beta4
- storage_v1
- storagetransfer_v1
- toolresults_v1beta3
- vision_v1
- webmasters_v3
- youtube_analytics_v1
- youtube_partner_v1
- youtubereporting_v1
  • Loading branch information
googleapis-publisher committed Aug 25, 2017
1 parent ce32dea commit 2dd396c
Show file tree
Hide file tree
Showing 315 changed files with 146,545 additions and 104,625 deletions.
74,119 changes: 38,678 additions & 35,441 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
#
# Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list
# of public URL(s).
# Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
# list of public URL(s).
#
# @see https://developers.google.com/amp/cache/
module AcceleratedmobilepageurlV1
VERSION = 'V1'
REVISION = '20170504'
REVISION = '20170718'
end
end
end
92 changes: 46 additions & 46 deletions generated/google/apis/acceleratedmobilepageurl_v1/classes.rb
Expand Up @@ -22,49 +22,21 @@ module Google
module Apis
module AcceleratedmobilepageurlV1

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

# 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

# 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

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

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

# AMP URL response for a requested URL.
class AmpUrl
include Google::Apis::Core::Hashable

# The AMP URL pointing to the publisher's web server.
# Corresponds to the JSON property `ampUrl`
# @return [String]
attr_accessor :amp_url

# The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to
# the cached document in the Google AMP Cache.
# Corresponds to the JSON property `cdnAmpUrl`
# @return [String]
attr_accessor :cdn_amp_url

# The AMP URL pointing to the publisher's web server.
# Corresponds to the JSON property `ampUrl`
# @return [String]
attr_accessor :amp_url

# The original non-AMP URL.
# Corresponds to the JSON property `originalUrl`
# @return [String]
Expand All @@ -76,8 +48,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url)
@amp_url = args[:amp_url] if args.key?(:amp_url)
@cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url)
@original_url = args[:original_url] if args.key?(:original_url)
end
end
Expand All @@ -86,16 +58,16 @@ 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]
attr_accessor :error_code

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

# The original non-AMP URL.
# Corresponds to the JSON property `originalUrl`
# @return [String]
Expand All @@ -107,8 +79,8 @@ def initialize(**args)

# 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)
@error_message = args[:error_message] if args.key?(:error_message)
@original_url = args[:original_url] if args.key?(:original_url)
end
end
Expand All @@ -117,26 +89,54 @@ def update!(**args)
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

# 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
Expand Down
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,38 +41,44 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
end

class BatchGetAmpUrlsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation

collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end

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

class AmpUrl
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cdn_amp_url, as: 'cdnAmpUrl'
property :amp_url, as: 'ampUrl'
property :cdn_amp_url, as: 'cdnAmpUrl'
property :original_url, as: 'originalUrl'
end
end

class AmpUrlError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
property :error_code, as: 'errorCode'
property :error_message, as: 'errorMessage'
property :original_url, as: 'originalUrl'
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

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
Expand Down
12 changes: 6 additions & 6 deletions generated/google/apis/acceleratedmobilepageurl_v1/service.rb
Expand Up @@ -22,8 +22,8 @@ module Apis
module AcceleratedmobilepageurlV1
# Accelerated Mobile Pages (AMP) URL API
#
# Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list
# of public URL(s).
# Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
# list of public URL(s).
#
# @example
# require 'google/apis/acceleratedmobilepageurl_v1'
Expand Down Expand Up @@ -51,11 +51,11 @@ def initialize
# Returns AMP URL(s) and equivalent
# [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
# @param [Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest] batch_get_amp_urls_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
Expand All @@ -68,14 +68,14 @@ def initialize
# @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 batch_get_amp_urls(batch_get_amp_urls_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/ampUrls:batchGet', options)
command.request_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest::Representation
command.request_object = batch_get_amp_urls_request_object
command.response_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse::Representation
command.response_class = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/adexchangebuyer2_v2beta1.rb
Expand Up @@ -23,10 +23,10 @@ module Apis
# Accesses the latest features for managing Ad Exchange accounts, Real-Time
# Bidding configurations and auction metrics, and Marketplace programmatic deals.
#
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20170710'
REVISION = '20170809'

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

0 comments on commit 2dd396c

Please sign in to comment.