google-api-client 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/api_names.yaml +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
- data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +97 -61
- data/generated/google/apis/bigquery_v2/representations.rb +23 -18
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +23 -2
- data/generated/google/apis/classroom_v1/classes.rb +920 -6
- data/generated/google/apis/classroom_v1/representations.rb +419 -0
- data/generated/google/apis/classroom_v1/service.rb +507 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
- data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
- data/generated/google/apis/cloudtrace_v1.rb +11 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
- data/generated/google/apis/compute_beta.rb +2 -2
- data/generated/google/apis/compute_beta/classes.rb +162 -32
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +392 -267
- data/generated/google/apis/compute_v1.rb +2 -2
- data/generated/google/apis/compute_v1/classes.rb +21 -9
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +291 -253
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +148 -0
- data/generated/google/apis/container_v1/representations.rb +55 -0
- data/generated/google/apis/container_v1/service.rb +161 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -6
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +2 -11
- data/generated/google/apis/dataproc_v1/classes.rb +0 -19
- data/generated/google/apis/dataproc_v1/representations.rb +0 -13
- data/generated/google/apis/dataproc_v1/service.rb +8 -87
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
- data/generated/google/apis/discovery_v1.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +2 -3
- data/generated/google/apis/dns_v1/service.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +3 -2
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +3 -2
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +34 -0
- data/generated/google/apis/games_management_v1management/representations.rb +16 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +34 -0
- data/generated/google/apis/games_v1/representations.rb +16 -0
- data/generated/google/apis/games_v1/service.rb +212 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +18 -0
- data/generated/google/apis/genomics_v1/representations.rb +3 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
- data/generated/google/apis/mybusiness_v3.rb +32 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
- data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
- data/generated/google/apis/mybusiness_v3/service.rb +960 -0
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -1
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6.rb +4 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
- data/generated/google/apis/replicapool_v1beta2.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
- data/generated/google/apis/script_v1.rb +6 -3
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +43 -0
- data/generated/google/apis/sheets_v4/classes.rb +5425 -0
- data/generated/google/apis/sheets_v4/representations.rb +2070 -0
- data/generated/google/apis/sheets_v4/service.rb +402 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -1
- data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +4 -5
- data/generated/google/apis/vision_v1/classes.rb +69 -68
- data/generated/google/apis/vision_v1/representations.rb +13 -13
- data/generated/google/apis/vision_v1/service.rb +3 -4
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +24 -0
- data/generated/google/apis/youtube_v3/representations.rb +4 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19503993f8fe0783c2362273e709bfec718dbea5
|
4
|
+
data.tar.gz: 3eed56a9c732cf3c6f074b6b61cfb1ff1bb2e396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7974cc965fa320d41cc9299b760bb6e24d88c63aac111ddc0c8fd7144ee128fe98573a5ba49f9da2bba3afafcfec738409d614bdf6d04746bcc489913d749131
|
7
|
+
data.tar.gz: d367b1792461fa3ea4f753df899ce9c9766de977dc63747907274e6fb5d8adc6791bf707a891fd32a4ac282ba274b969e712224216aed8a6ccdaf62f2d1db40e
|
data/CHANGELOG.md
CHANGED
data/api_names.yaml
CHANGED
@@ -172,6 +172,7 @@
|
|
172
172
|
"/analytics:v3/analytics.management.webpropertyUserLinks.update": update_web_property_user_link
|
173
173
|
"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns
|
174
174
|
"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket
|
175
|
+
"/analyticsreporting:v4/analyticsreporting.reports.batchGet": batch_get_reports
|
175
176
|
"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response
|
176
177
|
"/androidenterprise:v1/CollectionsListResponse": list_collections_response
|
177
178
|
"/androidenterprise:v1/DevicesListResponse": list_devices_response
|
@@ -991,6 +992,9 @@
|
|
991
992
|
"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse": get_web_resource_token_response
|
992
993
|
"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/method": verification_method
|
993
994
|
"/siteVerification:v1/SiteVerificationWebResourceListResponse": list_web_resource_response
|
995
|
+
"/sheets:v4/sheets.spreadsheets.sheets.copyTo": copy_spreadsheet
|
996
|
+
"/sheets:v4/sheets.spreadsheets.values.batchGet": batch_get_spreadsheet_values
|
997
|
+
"/sheets:v4/sheets.spreadsheets.values.get": get_spreadsheet_values
|
994
998
|
"/sqladmin:v1beta4/BackupRunsListResponse": list_backup_runs_response
|
995
999
|
"/sqladmin:v1beta4/DatabasesListResponse": list_databases_response
|
996
1000
|
"/sqladmin:v1beta4/FlagsListResponse": list_flags_response
|
@@ -1090,3 +1094,14 @@
|
|
1090
1094
|
"/youtube:v3/VideoListResponse": list_videos_response
|
1091
1095
|
"/youtubeAnalytics:v1/GroupItemListResponse": list_group_item_response
|
1092
1096
|
"/youtubeAnalytics:v1/GroupListResponse": list_groups_response
|
1097
|
+
"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated": get_google_updated_account_location
|
1098
|
+
"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply": delete_reply
|
1099
|
+
"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply": reply_to_review
|
1100
|
+
"/mybusiness:v3/mybusiness.accounts.locations.reviews.get": get_review
|
1101
|
+
"/mybusiness:v3/mybusiness.accounts.locations.reviews.list": list_reviews
|
1102
|
+
"/classroom:v1/classroom.courses.courseWork.create": create_course_work
|
1103
|
+
"/classroom:v1/classroom.courses.courseWork.get": get_course_work
|
1104
|
+
"/classroom:v1/classroom.courses.courseWork.list": list_course_works
|
1105
|
+
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission
|
1106
|
+
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission
|
1107
|
+
"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160509'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @return [Array<Google::Apis::AdexchangebuyerV1_4::Proposal>]
|
428
428
|
attr_accessor :proposals
|
429
429
|
|
430
|
-
#
|
430
|
+
# Web property id of the seller creating these orders
|
431
431
|
# Corresponds to the JSON property `webPropertyCode`
|
432
432
|
# @return [String]
|
433
433
|
attr_accessor :web_property_code
|
@@ -477,6 +477,11 @@ module Google
|
|
477
477
|
# @return [Fixnum]
|
478
478
|
attr_accessor :account_id
|
479
479
|
|
480
|
+
# The link to the Ad Preferences page. This is only supported for native ads.
|
481
|
+
# Corresponds to the JSON property `adChoicesDestinationUrl`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :ad_choices_destination_url
|
484
|
+
|
480
485
|
# Detected advertiser id, if any. Read-only. This field should not be set in
|
481
486
|
# requests.
|
482
487
|
# Corresponds to the JSON property `advertiserId`
|
@@ -619,6 +624,7 @@ module Google
|
|
619
624
|
def update!(**args)
|
620
625
|
@html_snippet = args[:html_snippet] if args.key?(:html_snippet)
|
621
626
|
@account_id = args[:account_id] if args.key?(:account_id)
|
627
|
+
@ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
|
622
628
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
623
629
|
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
624
630
|
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
@@ -1042,7 +1048,8 @@ module Google
|
|
1042
1048
|
include Google::Apis::Core::Hashable
|
1043
1049
|
|
1044
1050
|
# Tracks which parties (if any) have paused a deal. The deal is considered
|
1045
|
-
# paused if has_buyer_paused || has_seller_paused.
|
1051
|
+
# paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused
|
1052
|
+
# or the has_seller_paused bits can be set independently.
|
1046
1053
|
# Corresponds to the JSON property `dealPauseStatus`
|
1047
1054
|
# @return [Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus]
|
1048
1055
|
attr_accessor :deal_pause_status
|
@@ -1058,10 +1065,16 @@ module Google
|
|
1058
1065
|
end
|
1059
1066
|
|
1060
1067
|
# Tracks which parties (if any) have paused a deal. The deal is considered
|
1061
|
-
# paused if has_buyer_paused || has_seller_paused.
|
1068
|
+
# paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused
|
1069
|
+
# or the has_seller_paused bits can be set independently.
|
1062
1070
|
class DealServingMetadataDealPauseStatus
|
1063
1071
|
include Google::Apis::Core::Hashable
|
1064
1072
|
|
1073
|
+
# If the deal is paused, records which party paused the deal first.
|
1074
|
+
# Corresponds to the JSON property `firstPausedBy`
|
1075
|
+
# @return [String]
|
1076
|
+
attr_accessor :first_paused_by
|
1077
|
+
|
1065
1078
|
#
|
1066
1079
|
# Corresponds to the JSON property `hasBuyerPaused`
|
1067
1080
|
# @return [Boolean]
|
@@ -1080,6 +1093,7 @@ module Google
|
|
1080
1093
|
|
1081
1094
|
# Update properties of this object
|
1082
1095
|
def update!(**args)
|
1096
|
+
@first_paused_by = args[:first_paused_by] if args.key?(:first_paused_by)
|
1083
1097
|
@has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused)
|
1084
1098
|
@has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused)
|
1085
1099
|
end
|
@@ -1153,6 +1167,12 @@ module Google
|
|
1153
1167
|
class DealTermsGuaranteedFixedPriceTerms
|
1154
1168
|
include Google::Apis::Core::Hashable
|
1155
1169
|
|
1170
|
+
# External billing info for this Deal. This field is relevant when external
|
1171
|
+
# billing info such as price has a different currency code than DFP/AdX.
|
1172
|
+
# Corresponds to the JSON property `billingInfo`
|
1173
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo]
|
1174
|
+
attr_accessor :billing_info
|
1175
|
+
|
1156
1176
|
# Fixed price for the specified buyer.
|
1157
1177
|
# Corresponds to the JSON property `fixedPrices`
|
1158
1178
|
# @return [Array<Google::Apis::AdexchangebuyerV1_4::PricePerBuyer>]
|
@@ -1175,12 +1195,49 @@ module Google
|
|
1175
1195
|
|
1176
1196
|
# Update properties of this object
|
1177
1197
|
def update!(**args)
|
1198
|
+
@billing_info = args[:billing_info] if args.key?(:billing_info)
|
1178
1199
|
@fixed_prices = args[:fixed_prices] if args.key?(:fixed_prices)
|
1179
1200
|
@guaranteed_impressions = args[:guaranteed_impressions] if args.key?(:guaranteed_impressions)
|
1180
1201
|
@guaranteed_looks = args[:guaranteed_looks] if args.key?(:guaranteed_looks)
|
1181
1202
|
end
|
1182
1203
|
end
|
1183
1204
|
|
1205
|
+
#
|
1206
|
+
class DealTermsGuaranteedFixedPriceTermsBillingInfo
|
1207
|
+
include Google::Apis::Core::Hashable
|
1208
|
+
|
1209
|
+
# The timestamp (in ms since epoch) when the original reservation price for the
|
1210
|
+
# deal was first converted to DFP currency. This is used to convert the
|
1211
|
+
# contracted price into advertiser's currency without discrepancy.
|
1212
|
+
# Corresponds to the JSON property `currencyConversionTimeMs`
|
1213
|
+
# @return [String]
|
1214
|
+
attr_accessor :currency_conversion_time_ms
|
1215
|
+
|
1216
|
+
# The original contracted quantity (# impressions) for this deal. To ensure
|
1217
|
+
# delivery, sometimes publisher will book the deal with a impression buffer,
|
1218
|
+
# however clients are billed using the original contracted quantity.
|
1219
|
+
# Corresponds to the JSON property `originalContractedQuantity`
|
1220
|
+
# @return [String]
|
1221
|
+
attr_accessor :original_contracted_quantity
|
1222
|
+
|
1223
|
+
# The original reservation price for the deal, if the currency code is different
|
1224
|
+
# from the one used in negotiation.
|
1225
|
+
# Corresponds to the JSON property `price`
|
1226
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::Price]
|
1227
|
+
attr_accessor :price
|
1228
|
+
|
1229
|
+
def initialize(**args)
|
1230
|
+
update!(**args)
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
# Update properties of this object
|
1234
|
+
def update!(**args)
|
1235
|
+
@currency_conversion_time_ms = args[:currency_conversion_time_ms] if args.key?(:currency_conversion_time_ms)
|
1236
|
+
@original_contracted_quantity = args[:original_contracted_quantity] if args.key?(:original_contracted_quantity)
|
1237
|
+
@price = args[:price] if args.key?(:price)
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1184
1241
|
#
|
1185
1242
|
class DealTermsNonGuaranteedAuctionTerms
|
1186
1243
|
include Google::Apis::Core::Hashable
|
@@ -1241,7 +1298,7 @@ module Google
|
|
1241
1298
|
# @return [String]
|
1242
1299
|
attr_accessor :proposal_revision_number
|
1243
1300
|
|
1244
|
-
#
|
1301
|
+
# Indicates an optional action to take on the proposal
|
1245
1302
|
# Corresponds to the JSON property `updateAction`
|
1246
1303
|
# @return [String]
|
1247
1304
|
attr_accessor :update_action
|
@@ -2389,6 +2446,11 @@ module Google
|
|
2389
2446
|
class PricePerBuyer
|
2390
2447
|
include Google::Apis::Core::Hashable
|
2391
2448
|
|
2449
|
+
# Optional access type for this buyer.
|
2450
|
+
# Corresponds to the JSON property `auctionTier`
|
2451
|
+
# @return [String]
|
2452
|
+
attr_accessor :auction_tier
|
2453
|
+
|
2392
2454
|
# The buyer who will pay this price. If unset, all buyers can pay this price (if
|
2393
2455
|
# the advertisers match, and there's no more specific rule matching the buyer).
|
2394
2456
|
# Corresponds to the JSON property `buyer`
|
@@ -2406,6 +2468,7 @@ module Google
|
|
2406
2468
|
|
2407
2469
|
# Update properties of this object
|
2408
2470
|
def update!(**args)
|
2471
|
+
@auction_tier = args[:auction_tier] if args.key?(:auction_tier)
|
2409
2472
|
@buyer = args[:buyer] if args.key?(:buyer)
|
2410
2473
|
@price = args[:price] if args.key?(:price)
|
2411
2474
|
end
|
@@ -2534,6 +2597,11 @@ module Google
|
|
2534
2597
|
# @return [String]
|
2535
2598
|
attr_accessor :publisher_profile_id
|
2536
2599
|
|
2600
|
+
# This message carries publisher provided forecasting information.
|
2601
|
+
# Corresponds to the JSON property `publisherProvidedForecast`
|
2602
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast]
|
2603
|
+
attr_accessor :publisher_provided_forecast
|
2604
|
+
|
2537
2605
|
# The revision number of the product. (readonly)
|
2538
2606
|
# Corresponds to the JSON property `revisionNumber`
|
2539
2607
|
# @return [String]
|
@@ -2594,6 +2662,7 @@ module Google
|
|
2594
2662
|
@private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
|
2595
2663
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2596
2664
|
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
|
2665
|
+
@publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast)
|
2597
2666
|
@revision_number = args[:revision_number] if args.key?(:revision_number)
|
2598
2667
|
@seller = args[:seller] if args.key?(:seller)
|
2599
2668
|
@shared_targetings = args[:shared_targetings] if args.key?(:shared_targetings)
|
@@ -2685,11 +2754,6 @@ module Google
|
|
2685
2754
|
# @return [String]
|
2686
2755
|
attr_accessor :last_updater_or_commentor_role
|
2687
2756
|
|
2688
|
-
#
|
2689
|
-
# Corresponds to the JSON property `lastUpdaterRole`
|
2690
|
-
# @return [String]
|
2691
|
-
attr_accessor :last_updater_role
|
2692
|
-
|
2693
2757
|
# The name for the proposal (updatable)
|
2694
2758
|
# Corresponds to the JSON property `name`
|
2695
2759
|
# @return [String]
|
@@ -2758,7 +2822,6 @@ module Google
|
|
2758
2822
|
@kind = args[:kind] if args.key?(:kind)
|
2759
2823
|
@labels = args[:labels] if args.key?(:labels)
|
2760
2824
|
@last_updater_or_commentor_role = args[:last_updater_or_commentor_role] if args.key?(:last_updater_or_commentor_role)
|
2761
|
-
@last_updater_role = args[:last_updater_role] if args.key?(:last_updater_role)
|
2762
2825
|
@name = args[:name] if args.key?(:name)
|
2763
2826
|
@negotiation_id = args[:negotiation_id] if args.key?(:negotiation_id)
|
2764
2827
|
@originator_role = args[:originator_role] if args.key?(:originator_role)
|
@@ -2793,7 +2856,7 @@ module Google
|
|
2793
2856
|
|
2794
2857
|
# Direct contact for the publisher profile.
|
2795
2858
|
# Corresponds to the JSON property `directContact`
|
2796
|
-
# @return [
|
2859
|
+
# @return [String]
|
2797
2860
|
attr_accessor :direct_contact
|
2798
2861
|
|
2799
2862
|
# Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...
|
@@ -2853,7 +2916,7 @@ module Google
|
|
2853
2916
|
|
2854
2917
|
# Programmatic contact for the publisher profile.
|
2855
2918
|
# Corresponds to the JSON property `programmaticContact`
|
2856
|
-
# @return [
|
2919
|
+
# @return [String]
|
2857
2920
|
attr_accessor :programmatic_contact
|
2858
2921
|
|
2859
2922
|
# The list of domains represented in this publisher profile. Empty if this is a
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class DealTermsGuaranteedFixedPriceTermsBillingInfo
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class DealTermsNonGuaranteedAuctionTerms
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -591,6 +597,7 @@ module Google
|
|
591
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
592
598
|
property :html_snippet, as: 'HTMLSnippet'
|
593
599
|
property :account_id, as: 'accountId'
|
600
|
+
property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
|
594
601
|
collection :advertiser_id, as: 'advertiserId'
|
595
602
|
property :advertiser_name, as: 'advertiserName'
|
596
603
|
property :agency_id, as: 'agencyId'
|
@@ -745,6 +752,7 @@ module Google
|
|
745
752
|
class DealServingMetadataDealPauseStatus
|
746
753
|
# @private
|
747
754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
755
|
+
property :first_paused_by, as: 'firstPausedBy'
|
748
756
|
property :has_buyer_paused, as: 'hasBuyerPaused'
|
749
757
|
property :has_seller_paused, as: 'hasSellerPaused'
|
750
758
|
end
|
@@ -771,6 +779,8 @@ module Google
|
|
771
779
|
class DealTermsGuaranteedFixedPriceTerms
|
772
780
|
# @private
|
773
781
|
class Representation < Google::Apis::Core::JsonRepresentation
|
782
|
+
property :billing_info, as: 'billingInfo', class: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTermsBillingInfo::Representation
|
783
|
+
|
774
784
|
collection :fixed_prices, as: 'fixedPrices', class: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer, decorator: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer::Representation
|
775
785
|
|
776
786
|
property :guaranteed_impressions, as: 'guaranteedImpressions'
|
@@ -778,6 +788,16 @@ module Google
|
|
778
788
|
end
|
779
789
|
end
|
780
790
|
|
791
|
+
class DealTermsGuaranteedFixedPriceTermsBillingInfo
|
792
|
+
# @private
|
793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
794
|
+
property :currency_conversion_time_ms, as: 'currencyConversionTimeMs'
|
795
|
+
property :original_contracted_quantity, as: 'originalContractedQuantity'
|
796
|
+
property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
|
797
|
+
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
781
801
|
class DealTermsNonGuaranteedAuctionTerms
|
782
802
|
# @private
|
783
803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1105,6 +1125,7 @@ module Google
|
|
1105
1125
|
class PricePerBuyer
|
1106
1126
|
# @private
|
1107
1127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1128
|
+
property :auction_tier, as: 'auctionTier'
|
1108
1129
|
property :buyer, as: 'buyer', class: Google::Apis::AdexchangebuyerV1_4::Buyer, decorator: Google::Apis::AdexchangebuyerV1_4::Buyer::Representation
|
1109
1130
|
|
1110
1131
|
property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
|
@@ -1141,6 +1162,8 @@ module Google
|
|
1141
1162
|
property :private_auction_id, as: 'privateAuctionId'
|
1142
1163
|
property :product_id, as: 'productId'
|
1143
1164
|
property :publisher_profile_id, as: 'publisherProfileId'
|
1165
|
+
property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation
|
1166
|
+
|
1144
1167
|
property :revision_number, as: 'revisionNumber'
|
1145
1168
|
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
1146
1169
|
|
@@ -1174,7 +1197,6 @@ module Google
|
|
1174
1197
|
collection :labels, as: 'labels', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel::Representation
|
1175
1198
|
|
1176
1199
|
property :last_updater_or_commentor_role, as: 'lastUpdaterOrCommentorRole'
|
1177
|
-
property :last_updater_role, as: 'lastUpdaterRole'
|
1178
1200
|
property :name, as: 'name'
|
1179
1201
|
property :negotiation_id, as: 'negotiationId'
|
1180
1202
|
property :originator_role, as: 'originatorRole'
|
@@ -1196,8 +1218,7 @@ module Google
|
|
1196
1218
|
property :account_id, as: 'accountId'
|
1197
1219
|
property :audience, as: 'audience'
|
1198
1220
|
property :buyer_pitch_statement, as: 'buyerPitchStatement'
|
1199
|
-
property :direct_contact, as: 'directContact'
|
1200
|
-
|
1221
|
+
property :direct_contact, as: 'directContact'
|
1201
1222
|
property :exchange, as: 'exchange'
|
1202
1223
|
property :google_plus_link, as: 'googlePlusLink'
|
1203
1224
|
property :is_parent, as: 'isParent'
|
@@ -1208,8 +1229,7 @@ module Google
|
|
1208
1229
|
property :name, as: 'name'
|
1209
1230
|
property :overview, as: 'overview'
|
1210
1231
|
property :profile_id, as: 'profileId'
|
1211
|
-
property :programmatic_contact, as: 'programmaticContact'
|
1212
|
-
|
1232
|
+
property :programmatic_contact, as: 'programmaticContact'
|
1213
1233
|
collection :publisher_domains, as: 'publisherDomains'
|
1214
1234
|
property :publisher_profile_id, as: 'publisherProfileId'
|
1215
1235
|
property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation
|
@@ -673,7 +673,10 @@ module Google
|
|
673
673
|
|
674
674
|
# List all the deals for a given proposal
|
675
675
|
# @param [String] proposal_id
|
676
|
-
# The proposalId to get deals for.
|
676
|
+
# The proposalId to get deals for. To search across proposals specify order_id =
|
677
|
+
# '-' as part of the URL.
|
678
|
+
# @param [String] pql_query
|
679
|
+
# Query string to retrieve specific deals.
|
677
680
|
# @param [String] fields
|
678
681
|
# Selector specifying which fields to include in a partial response.
|
679
682
|
# @param [String] quota_user
|
@@ -695,11 +698,12 @@ module Google
|
|
695
698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
696
699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
697
700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
698
|
-
def list_marketplacedeals(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
701
|
+
def list_marketplacedeals(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
699
702
|
command = make_simple_command(:get, 'proposals/{proposalId}/deals', options)
|
700
703
|
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse::Representation
|
701
704
|
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse
|
702
705
|
command.params['proposalId'] = proposal_id unless proposal_id.nil?
|
706
|
+
command.query['pqlQuery'] = pql_query unless pql_query.nil?
|
703
707
|
command.query['fields'] = fields unless fields.nil?
|
704
708
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
705
709
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/seller-rest/
|
27
27
|
module AdexchangesellerV2_0
|
28
28
|
VERSION = 'V2_0'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160513'
|
30
30
|
|
31
31
|
# View and manage your Ad Exchange data
|
32
32
|
AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
|
@@ -390,8 +390,7 @@ module Google
|
|
390
390
|
class Aliases
|
391
391
|
# @private
|
392
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
-
collection :aliases, as: 'aliases'
|
394
|
-
|
393
|
+
collection :aliases, as: 'aliases'
|
395
394
|
property :etag, as: 'etag'
|
396
395
|
property :kind, as: 'kind'
|
397
396
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/adsense/management/
|
26
26
|
module AdsenseV1_4
|
27
27
|
VERSION = 'V1_4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160523'
|
29
29
|
|
30
30
|
# View and manage your AdSense data
|
31
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160523'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/
|
26
26
|
module AnalyticsV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160401'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|