Skip to content

Commit

Permalink
Regen APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
saicheems committed Jan 20, 2017
1 parent 555dfcb commit 0edc957
Show file tree
Hide file tree
Showing 155 changed files with 78,387 additions and 40,732 deletions.
34,237 changes: 33,179 additions & 1,058 deletions api_names.yaml

Large diffs are not rendered by default.

65,881 changes: 33,179 additions & 32,702 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 = '20161107'
REVISION = '20170118'

# 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 = '20161020'
REVISION = '20170118'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down
30 changes: 24 additions & 6 deletions generated/google/apis/adexchangebuyer_v1_4/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ def update!(**args)
class BidderLocation
include Google::Apis::Core::Hashable

# 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.4 right
# now. Allowed values:
# The protocol that the bidder endpoint is using. OpenRTB protocols with prefix
# PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed
# values:
# - PROTOCOL_ADX
# - PROTOCOL_OPENRTB_2_2
# - PROTOCOL_OPENRTB_2_3
# - PROTOCOL_OPENRTB_2_4
# - PROTOCOL_OPENRTB_PROTOBUF
# - PROTOCOL_OPENRTB_PROTOBUF_2_3
# - PROTOCOL_OPENRTB_PROTOBUF_2_4
# Corresponds to the JSON property `bidProtocol`
# @return [String]
attr_accessor :bid_protocol
Expand Down Expand Up @@ -1901,7 +1901,7 @@ class MarketplaceDeal
# @return [String]
attr_accessor :flight_start_time_ms

# Description for the deal terms. (updatable)
# Description for the deal terms. (buyer-readonly)
# Corresponds to the JSON property `inventoryDescription`
# @return [String]
attr_accessor :inventory_description
Expand Down Expand Up @@ -2398,6 +2398,14 @@ class PretargetingConfig
# @return [Array<String>]
attr_accessor :languages

# Requests where the predicted viewability is below the specified decile will
# not match. E.g. if the buyer sets this value to 5, requests from slots where
# the predicted viewability is below 50% will not match. If the predicted
# viewability is unknown this field will be ignored.
# Corresponds to the JSON property `minimumViewabilityDecile`
# @return [Fixnum]
attr_accessor :minimum_viewability_decile

# Requests containing any of these mobile carrier ids will match. Values are
# from mobile-carriers.csv in the downloadable files section.
# Corresponds to the JSON property `mobileCarriers`
Expand Down Expand Up @@ -2484,6 +2492,7 @@ def update!(**args)
@is_active = args[:is_active] if args.key?(:is_active)
@kind = args[:kind] if args.key?(:kind)
@languages = args[:languages] if args.key?(:languages)
@minimum_viewability_decile = args[:minimum_viewability_decile] if args.key?(:minimum_viewability_decile)
@mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers)
@mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices)
@mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions)
Expand Down Expand Up @@ -2809,6 +2818,14 @@ class Product
# @return [String]
attr_accessor :legacy_offer_id

# Marketplace publisher profile Id. This Id differs from the regular
# publisher_profile_id in that 1. This is a new id, the old Id will be
# deprecated in 2017. 2. This id uniquely identifies a publisher profile by
# itself.
# Corresponds to the JSON property `marketplacePublisherProfileId`
# @return [String]
attr_accessor :marketplace_publisher_profile_id

# The name for this product as set by the seller. (buyer-readonly)
# Corresponds to the JSON property `name`
# @return [String]
Expand Down Expand Up @@ -2893,6 +2910,7 @@ def update!(**args)
@labels = args[:labels] if args.key?(:labels)
@last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms)
@legacy_offer_id = args[:legacy_offer_id] if args.key?(:legacy_offer_id)
@marketplace_publisher_profile_id = args[:marketplace_publisher_profile_id] if args.key?(:marketplace_publisher_profile_id)
@name = args[:name] if args.key?(:name)
@private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
@product_id = args[:product_id] if args.key?(:product_id)
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 @@ -1133,6 +1133,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :is_active, as: 'isActive'
property :kind, as: 'kind'
collection :languages, as: 'languages'
property :minimum_viewability_decile, as: 'minimumViewabilityDecile'
collection :mobile_carriers, as: 'mobileCarriers'
collection :mobile_devices, as: 'mobileDevices'
collection :mobile_operating_system_versions, as: 'mobileOperatingSystemVersions'
Expand Down Expand Up @@ -1237,6 +1238,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :last_update_time_ms, as: 'lastUpdateTimeMs'
property :legacy_offer_id, as: 'legacyOfferId'
property :marketplace_publisher_profile_id, as: 'marketplacePublisherProfileId'
property :name, as: 'name'
property :private_auction_id, as: 'privateAuctionId'
property :product_id, as: 'productId'
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 = '20161020'
REVISION = '20161214'

# View and manage customer related information
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
Expand Down
14 changes: 14 additions & 0 deletions generated/google/apis/admin_directory_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2400,6 +2400,18 @@ class User
attr_accessor :is_delegated_admin
alias_method :is_delegated_admin?, :is_delegated_admin

# Is 2-step verification enforced (Read-only)
# Corresponds to the JSON property `isEnforcedIn2Sv`
# @return [Boolean]
attr_accessor :is_enforced_in2_sv
alias_method :is_enforced_in2_sv?, :is_enforced_in2_sv

# Is enrolled in 2-step verification (Read-only)
# Corresponds to the JSON property `isEnrolledIn2Sv`
# @return [Boolean]
attr_accessor :is_enrolled_in2_sv
alias_method :is_enrolled_in2_sv?, :is_enrolled_in2_sv

# Is mailbox setup (Read-only)
# Corresponds to the JSON property `isMailboxSetup`
# @return [Boolean]
Expand Down Expand Up @@ -2511,6 +2523,8 @@ def update!(**args)
@ip_whitelisted = args[:ip_whitelisted] if args.key?(:ip_whitelisted)
@is_admin = args[:is_admin] if args.key?(:is_admin)
@is_delegated_admin = args[:is_delegated_admin] if args.key?(:is_delegated_admin)
@is_enforced_in2_sv = args[:is_enforced_in2_sv] if args.key?(:is_enforced_in2_sv)
@is_enrolled_in2_sv = args[:is_enrolled_in2_sv] if args.key?(:is_enrolled_in2_sv)
@is_mailbox_setup = args[:is_mailbox_setup] if args.key?(:is_mailbox_setup)
@kind = args[:kind] if args.key?(:kind)
@last_login_time = args[:last_login_time] if args.key?(:last_login_time)
Expand Down
2 changes: 2 additions & 0 deletions generated/google/apis/admin_directory_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :ip_whitelisted, as: 'ipWhitelisted'
property :is_admin, as: 'isAdmin'
property :is_delegated_admin, as: 'isDelegatedAdmin'
property :is_enforced_in2_sv, as: 'isEnforcedIn2Sv'
property :is_enrolled_in2_sv, as: 'isEnrolledIn2Sv'
property :is_mailbox_setup, as: 'isMailboxSetup'
property :kind, as: 'kind'
property :last_login_time, as: 'lastLoginTime', type: DateTime
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 = '20161107'
REVISION = '20170118'

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

# 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/analyticsreporting_v4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
module AnalyticsreportingV4
VERSION = 'V4'
REVISION = '20161011'
REVISION = '20161129'

# View your Google Analytics data
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
Expand Down
7 changes: 7 additions & 0 deletions generated/google/apis/analyticsreporting_v4/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,12 @@ class ReportData
# @return [Array<Google::Apis::AnalyticsreportingV4::ReportRow>]
attr_accessor :rows

# The last time the data in the report was refreshed. All the hits received
# before this timestamp are included in the calculation of the report.
# Corresponds to the JSON property `dataLastRefreshed`
# @return [String]
attr_accessor :data_last_refreshed

# For each requested date range, for the set of all rows that match
# the query, every requested value format gets a total. The total
# for a value format is computed by first totaling the metrics
Expand Down Expand Up @@ -696,6 +702,7 @@ def update!(**args)
@samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts)
@minimums = args[:minimums] if args.key?(:minimums)
@rows = args[:rows] if args.key?(:rows)
@data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed)
@totals = args[:totals] if args.key?(:totals)
@is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation

property :data_last_refreshed, as: 'dataLastRefreshed'
collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation

property :is_data_golden, as: 'isDataGolden'
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 = '20161102'
REVISION = '20170111'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
Loading

0 comments on commit 0edc957

Please sign in to comment.