google-api-client 0.11.2 → 0.11.3
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 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- 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_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -94,13 +94,13 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class ListClientUserInvitationsResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class ListClientUsersResponse
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -130,13 +130,13 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class FilteringStats
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class Creative
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -218,31 +218,31 @@ module Google
|
|
218
218
|
class NativeContent
|
219
219
|
# @private
|
220
220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
property :body, as: 'body'
|
222
|
+
property :star_rating, as: 'starRating'
|
221
223
|
property :video_url, as: 'videoUrl'
|
224
|
+
property :click_link_url, as: 'clickLinkUrl'
|
222
225
|
property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation
|
223
226
|
|
224
|
-
property :click_link_url, as: 'clickLinkUrl'
|
225
227
|
property :price_display_text, as: 'priceDisplayText'
|
228
|
+
property :click_tracking_url, as: 'clickTrackingUrl'
|
226
229
|
property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation
|
227
230
|
|
228
|
-
property :click_tracking_url, as: 'clickTrackingUrl'
|
229
231
|
property :advertiser_name, as: 'advertiserName'
|
230
232
|
property :store_url, as: 'storeUrl'
|
231
233
|
property :headline, as: 'headline'
|
232
234
|
property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation
|
233
235
|
|
234
236
|
property :call_to_action, as: 'callToAction'
|
235
|
-
property :body, as: 'body'
|
236
|
-
property :star_rating, as: 'starRating'
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
240
240
|
class ListClientsResponse
|
241
241
|
# @private
|
242
242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
243
|
+
property :next_page_token, as: 'nextPageToken'
|
243
244
|
collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
244
245
|
|
245
|
-
property :next_page_token, as: 'nextPageToken'
|
246
246
|
end
|
247
247
|
end
|
248
248
|
|
@@ -265,19 +265,15 @@ module Google
|
|
265
265
|
class HtmlContent
|
266
266
|
# @private
|
267
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
property :height, as: 'height'
|
269
268
|
property :width, as: 'width'
|
270
269
|
property :snippet, as: 'snippet'
|
270
|
+
property :height, as: 'height'
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
274
|
class ServingContext
|
275
275
|
# @private
|
276
276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
-
property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation
|
278
|
-
|
279
|
-
property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation
|
280
|
-
|
281
277
|
property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation
|
282
278
|
|
283
279
|
property :all, as: 'all'
|
@@ -285,6 +281,10 @@ module Google
|
|
285
281
|
|
286
282
|
property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation
|
287
283
|
|
284
|
+
property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation
|
285
|
+
|
286
|
+
property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation
|
287
|
+
|
288
288
|
end
|
289
289
|
end
|
290
290
|
|
@@ -300,8 +300,8 @@ module Google
|
|
300
300
|
class Reason
|
301
301
|
# @private
|
302
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
-
property :count, :numeric_string => true, as: 'count'
|
304
303
|
property :status, as: 'status'
|
304
|
+
property :count, :numeric_string => true, as: 'count'
|
305
305
|
end
|
306
306
|
end
|
307
307
|
|
@@ -328,21 +328,21 @@ module Google
|
|
328
328
|
end
|
329
329
|
end
|
330
330
|
|
331
|
-
class
|
331
|
+
class ListClientUserInvitationsResponse
|
332
332
|
# @private
|
333
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
334
334
|
property :next_page_token, as: 'nextPageToken'
|
335
|
-
collection :
|
335
|
+
collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
336
336
|
|
337
337
|
end
|
338
338
|
end
|
339
339
|
|
340
|
-
class
|
340
|
+
class ListClientUsersResponse
|
341
341
|
# @private
|
342
342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
-
|
344
|
-
collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
343
|
+
collection :users, as: 'users', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUser, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
345
344
|
|
345
|
+
property :next_page_token, as: 'nextPageToken'
|
346
346
|
end
|
347
347
|
end
|
348
348
|
|
@@ -363,10 +363,10 @@ module Google
|
|
363
363
|
class ClientUser
|
364
364
|
# @private
|
365
365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
-
property :user_id, :numeric_string => true, as: 'userId'
|
367
|
-
property :email, as: 'email'
|
368
366
|
property :client_account_id, :numeric_string => true, as: 'clientAccountId'
|
369
367
|
property :status, as: 'status'
|
368
|
+
property :user_id, :numeric_string => true, as: 'userId'
|
369
|
+
property :email, as: 'email'
|
370
370
|
end
|
371
371
|
end
|
372
372
|
|
@@ -379,9 +379,29 @@ module Google
|
|
379
379
|
end
|
380
380
|
end
|
381
381
|
|
382
|
+
class FilteringStats
|
383
|
+
# @private
|
384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
+
collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation
|
386
|
+
|
387
|
+
property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation
|
388
|
+
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
382
392
|
class Creative
|
383
393
|
# @private
|
384
394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation
|
396
|
+
|
397
|
+
property :deals_status, as: 'dealsStatus'
|
398
|
+
collection :detected_product_categories, as: 'detectedProductCategories'
|
399
|
+
property :open_auction_status, as: 'openAuctionStatus'
|
400
|
+
property :advertiser_name, as: 'advertiserName'
|
401
|
+
collection :detected_advertiser_ids, as: 'detectedAdvertiserIds'
|
402
|
+
collection :detected_domains, as: 'detectedDomains'
|
403
|
+
property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation
|
404
|
+
|
385
405
|
collection :attributes, as: 'attributes'
|
386
406
|
property :api_update_time, as: 'apiUpdateTime'
|
387
407
|
collection :detected_languages, as: 'detectedLanguages'
|
@@ -389,10 +409,10 @@ module Google
|
|
389
409
|
property :account_id, as: 'accountId'
|
390
410
|
property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation
|
391
411
|
|
392
|
-
collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation
|
393
|
-
|
394
412
|
property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation
|
395
413
|
|
414
|
+
collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation
|
415
|
+
|
396
416
|
property :agency_id, :numeric_string => true, as: 'agencyId'
|
397
417
|
collection :click_through_urls, as: 'clickThroughUrls'
|
398
418
|
property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
|
@@ -403,26 +423,6 @@ module Google
|
|
403
423
|
property :version, as: 'version'
|
404
424
|
collection :vendor_ids, as: 'vendorIds'
|
405
425
|
collection :impression_tracking_urls, as: 'impressionTrackingUrls'
|
406
|
-
property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation
|
407
|
-
|
408
|
-
collection :detected_product_categories, as: 'detectedProductCategories'
|
409
|
-
property :deals_status, as: 'dealsStatus'
|
410
|
-
property :open_auction_status, as: 'openAuctionStatus'
|
411
|
-
property :advertiser_name, as: 'advertiserName'
|
412
|
-
collection :detected_advertiser_ids, as: 'detectedAdvertiserIds'
|
413
|
-
collection :detected_domains, as: 'detectedDomains'
|
414
|
-
property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation
|
415
|
-
|
416
|
-
end
|
417
|
-
end
|
418
|
-
|
419
|
-
class FilteringStats
|
420
|
-
# @private
|
421
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
-
collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation
|
423
|
-
|
424
|
-
property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation
|
425
|
-
|
426
426
|
end
|
427
427
|
end
|
428
428
|
|
@@ -469,9 +469,9 @@ module Google
|
|
469
469
|
class ListDealAssociationsResponse
|
470
470
|
# @private
|
471
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
-
property :next_page_token, as: 'nextPageToken'
|
473
472
|
collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation
|
474
473
|
|
474
|
+
property :next_page_token, as: 'nextPageToken'
|
475
475
|
end
|
476
476
|
end
|
477
477
|
|
@@ -492,11 +492,11 @@ module Google
|
|
492
492
|
class ServingRestriction
|
493
493
|
# @private
|
494
494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
495
|
+
property :status, as: 'status'
|
495
496
|
collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation
|
496
497
|
|
497
498
|
collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation
|
498
499
|
|
499
|
-
property :status, as: 'status'
|
500
500
|
end
|
501
501
|
end
|
502
502
|
|
@@ -53,11 +53,11 @@ module Google
|
|
53
53
|
# Numerical account ID of the client's sponsor buyer. (required)
|
54
54
|
# @param [Fixnum] client_account_id
|
55
55
|
# Numerical account ID of the client buyer to retrieve. (required)
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
56
58
|
# @param [String] quota_user
|
57
59
|
# Available to use for quota purposes for server-side applications. Can be any
|
58
60
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
-
# @param [String] fields
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
61
61
|
# @param [Google::Apis::RequestOptions] options
|
62
62
|
# Request-specific options
|
63
63
|
#
|
@@ -70,14 +70,14 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
-
def get_account_client(account_id, client_account_id,
|
73
|
+
def get_account_client(account_id, client_account_id, fields: nil, quota_user: nil, options: nil, &block)
|
74
74
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
|
75
75
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
76
76
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
77
77
|
command.params['accountId'] = account_id unless account_id.nil?
|
78
78
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
79
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
79
|
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
@@ -93,11 +93,11 @@ module Google
|
|
93
93
|
# @param [Fixnum] page_size
|
94
94
|
# Requested page size. The server may return fewer clients than requested.
|
95
95
|
# If unspecified, the server will pick an appropriate default.
|
96
|
+
# @param [String] fields
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
96
98
|
# @param [String] quota_user
|
97
99
|
# Available to use for quota purposes for server-side applications. Can be any
|
98
100
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
-
# @param [String] fields
|
100
|
-
# Selector specifying which fields to include in a partial response.
|
101
101
|
# @param [Google::Apis::RequestOptions] options
|
102
102
|
# Request-specific options
|
103
103
|
#
|
@@ -110,15 +110,15 @@ module Google
|
|
110
110
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
-
def list_account_clients(account_id, page_token: nil, page_size: nil,
|
113
|
+
def list_account_clients(account_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
114
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
|
115
115
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
|
116
116
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
|
117
117
|
command.params['accountId'] = account_id unless account_id.nil?
|
118
118
|
command.query['pageToken'] = page_token unless page_token.nil?
|
119
119
|
command.query['pageSize'] = page_size unless page_size.nil?
|
120
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
120
|
command.query['fields'] = fields unless fields.nil?
|
121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
@@ -129,11 +129,11 @@ module Google
|
|
129
129
|
# @param [Fixnum] client_account_id
|
130
130
|
# Unique numerical account ID of the client to update. (required)
|
131
131
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
|
132
|
+
# @param [String] fields
|
133
|
+
# Selector specifying which fields to include in a partial response.
|
132
134
|
# @param [String] quota_user
|
133
135
|
# Available to use for quota purposes for server-side applications. Can be any
|
134
136
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
135
|
-
# @param [String] fields
|
136
|
-
# Selector specifying which fields to include in a partial response.
|
137
137
|
# @param [Google::Apis::RequestOptions] options
|
138
138
|
# Request-specific options
|
139
139
|
#
|
@@ -146,7 +146,7 @@ module Google
|
|
146
146
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
147
147
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
148
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
|
-
def update_account_client(account_id, client_account_id, client_object = nil,
|
149
|
+
def update_account_client(account_id, client_account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
150
150
|
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
|
151
151
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
152
152
|
command.request_object = client_object
|
@@ -154,8 +154,8 @@ module Google
|
|
154
154
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
155
155
|
command.params['accountId'] = account_id unless account_id.nil?
|
156
156
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
157
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
157
|
command.query['fields'] = fields unless fields.nil?
|
158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
159
|
execute_or_queue_command(command, &block)
|
160
160
|
end
|
161
161
|
|
@@ -164,11 +164,11 @@ module Google
|
|
164
164
|
# Unique numerical account ID for the buyer of which the client buyer
|
165
165
|
# is a customer; the sponsor buyer to create a client for. (required)
|
166
166
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
|
167
|
+
# @param [String] fields
|
168
|
+
# Selector specifying which fields to include in a partial response.
|
167
169
|
# @param [String] quota_user
|
168
170
|
# Available to use for quota purposes for server-side applications. Can be any
|
169
171
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
170
|
-
# @param [String] fields
|
171
|
-
# Selector specifying which fields to include in a partial response.
|
172
172
|
# @param [Google::Apis::RequestOptions] options
|
173
173
|
# Request-specific options
|
174
174
|
#
|
@@ -181,15 +181,15 @@ module Google
|
|
181
181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
182
182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
183
183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
184
|
-
def create_account_client(account_id, client_object = nil,
|
184
|
+
def create_account_client(account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
185
185
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
|
186
186
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
187
187
|
command.request_object = client_object
|
188
188
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
189
189
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
190
190
|
command.params['accountId'] = account_id unless account_id.nil?
|
191
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
191
|
command.query['fields'] = fields unless fields.nil?
|
192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
193
193
|
execute_or_queue_command(command, &block)
|
194
194
|
end
|
195
195
|
|
@@ -201,11 +201,11 @@ module Google
|
|
201
201
|
# to be retrieved is associated with. (required)
|
202
202
|
# @param [Fixnum] invitation_id
|
203
203
|
# Numerical identifier of the user invitation to retrieve. (required)
|
204
|
+
# @param [String] fields
|
205
|
+
# Selector specifying which fields to include in a partial response.
|
204
206
|
# @param [String] quota_user
|
205
207
|
# Available to use for quota purposes for server-side applications. Can be any
|
206
208
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
|
-
# @param [String] fields
|
208
|
-
# Selector specifying which fields to include in a partial response.
|
209
209
|
# @param [Google::Apis::RequestOptions] options
|
210
210
|
# Request-specific options
|
211
211
|
#
|
@@ -218,15 +218,15 @@ module Google
|
|
218
218
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
-
def get_account_client_invitation(account_id, client_account_id, invitation_id,
|
221
|
+
def get_account_client_invitation(account_id, client_account_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
|
222
222
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options)
|
223
223
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
224
224
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
|
225
225
|
command.params['accountId'] = account_id unless account_id.nil?
|
226
226
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
227
227
|
command.params['invitationId'] = invitation_id unless invitation_id.nil?
|
228
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
229
228
|
command.query['fields'] = fields unless fields.nil?
|
229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
230
|
execute_or_queue_command(command, &block)
|
231
231
|
end
|
232
232
|
|
@@ -241,6 +241,9 @@ module Google
|
|
241
241
|
# numerical account identifier or the `-` character
|
242
242
|
# to list all the invitations for all the clients
|
243
243
|
# of a given sponsor buyer.
|
244
|
+
# @param [Fixnum] page_size
|
245
|
+
# Requested page size. Server may return fewer clients than requested.
|
246
|
+
# If unspecified, server will pick an appropriate default.
|
244
247
|
# @param [String] page_token
|
245
248
|
# A token identifying a page of results the server should return.
|
246
249
|
# Typically, this is the value of
|
@@ -248,14 +251,11 @@ module Google
|
|
248
251
|
# returned from the previous call to the
|
249
252
|
# clients.invitations.list
|
250
253
|
# method.
|
251
|
-
# @param [
|
252
|
-
#
|
253
|
-
# If unspecified, server will pick an appropriate default.
|
254
|
+
# @param [String] fields
|
255
|
+
# Selector specifying which fields to include in a partial response.
|
254
256
|
# @param [String] quota_user
|
255
257
|
# Available to use for quota purposes for server-side applications. Can be any
|
256
258
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
257
|
-
# @param [String] fields
|
258
|
-
# Selector specifying which fields to include in a partial response.
|
259
259
|
# @param [Google::Apis::RequestOptions] options
|
260
260
|
# Request-specific options
|
261
261
|
#
|
@@ -268,16 +268,16 @@ module Google
|
|
268
268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
269
269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
270
270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
271
|
-
def list_account_client_invitations(account_id, client_account_id,
|
271
|
+
def list_account_client_invitations(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
272
272
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
|
273
273
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation
|
274
274
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse
|
275
275
|
command.params['accountId'] = account_id unless account_id.nil?
|
276
276
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
277
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
278
277
|
command.query['pageSize'] = page_size unless page_size.nil?
|
279
|
-
command.query['
|
278
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
280
279
|
command.query['fields'] = fields unless fields.nil?
|
280
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
281
281
|
execute_or_queue_command(command, &block)
|
282
282
|
end
|
283
283
|
|
@@ -289,11 +289,11 @@ module Google
|
|
289
289
|
# Numerical account ID of the client buyer that the user
|
290
290
|
# should be associated with. (required)
|
291
291
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object
|
292
|
+
# @param [String] fields
|
293
|
+
# Selector specifying which fields to include in a partial response.
|
292
294
|
# @param [String] quota_user
|
293
295
|
# Available to use for quota purposes for server-side applications. Can be any
|
294
296
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
295
|
-
# @param [String] fields
|
296
|
-
# Selector specifying which fields to include in a partial response.
|
297
297
|
# @param [Google::Apis::RequestOptions] options
|
298
298
|
# Request-specific options
|
299
299
|
#
|
@@ -306,7 +306,7 @@ module Google
|
|
306
306
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
307
307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
308
308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
309
|
-
def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil,
|
309
|
+
def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
310
310
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
|
311
311
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
312
312
|
command.request_object = client_user_invitation_object
|
@@ -314,49 +314,8 @@ module Google
|
|
314
314
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
|
315
315
|
command.params['accountId'] = account_id unless account_id.nil?
|
316
316
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
317
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
318
317
|
command.query['fields'] = fields unless fields.nil?
|
319
|
-
execute_or_queue_command(command, &block)
|
320
|
-
end
|
321
|
-
|
322
|
-
# Updates an existing client user.
|
323
|
-
# Only the user status can be changed on update.
|
324
|
-
# @param [Fixnum] account_id
|
325
|
-
# Numerical account ID of the client's sponsor buyer. (required)
|
326
|
-
# @param [Fixnum] client_account_id
|
327
|
-
# Numerical account ID of the client buyer that the user to be retrieved
|
328
|
-
# is associated with. (required)
|
329
|
-
# @param [Fixnum] user_id
|
330
|
-
# Numerical identifier of the user to retrieve. (required)
|
331
|
-
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object
|
332
|
-
# @param [String] quota_user
|
333
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
335
|
-
# @param [String] fields
|
336
|
-
# Selector specifying which fields to include in a partial response.
|
337
|
-
# @param [Google::Apis::RequestOptions] options
|
338
|
-
# Request-specific options
|
339
|
-
#
|
340
|
-
# @yield [result, err] Result & error if block supplied
|
341
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object
|
342
|
-
# @yieldparam err [StandardError] error object if request failed
|
343
|
-
#
|
344
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser]
|
345
|
-
#
|
346
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
347
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
|
-
def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
350
|
-
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
|
351
|
-
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
352
|
-
command.request_object = client_user_object
|
353
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
354
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
|
355
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
356
|
-
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
357
|
-
command.params['userId'] = user_id unless user_id.nil?
|
358
318
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
359
|
-
command.query['fields'] = fields unless fields.nil?
|
360
319
|
execute_or_queue_command(command, &block)
|
361
320
|
end
|
362
321
|
|
@@ -371,20 +330,20 @@ module Google
|
|
371
330
|
# numerical account identifier or the `-` character
|
372
331
|
# to list all the client users for all the clients
|
373
332
|
# of a given sponsor buyer.
|
333
|
+
# @param [Fixnum] page_size
|
334
|
+
# Requested page size. The server may return fewer clients than requested.
|
335
|
+
# If unspecified, the server will pick an appropriate default.
|
374
336
|
# @param [String] page_token
|
375
337
|
# A token identifying a page of results the server should return.
|
376
338
|
# Typically, this is the value of
|
377
339
|
# ListClientUsersResponse.nextPageToken
|
378
340
|
# returned from the previous call to the
|
379
341
|
# accounts.clients.users.list method.
|
380
|
-
# @param [
|
381
|
-
#
|
382
|
-
# If unspecified, the server will pick an appropriate default.
|
342
|
+
# @param [String] fields
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
383
344
|
# @param [String] quota_user
|
384
345
|
# Available to use for quota purposes for server-side applications. Can be any
|
385
346
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
386
|
-
# @param [String] fields
|
387
|
-
# Selector specifying which fields to include in a partial response.
|
388
347
|
# @param [Google::Apis::RequestOptions] options
|
389
348
|
# Request-specific options
|
390
349
|
#
|
@@ -397,16 +356,16 @@ module Google
|
|
397
356
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
398
357
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
399
358
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
400
|
-
def list_account_client_users(account_id, client_account_id,
|
359
|
+
def list_account_client_users(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
401
360
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options)
|
402
361
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation
|
403
362
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse
|
404
363
|
command.params['accountId'] = account_id unless account_id.nil?
|
405
364
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
406
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
407
365
|
command.query['pageSize'] = page_size unless page_size.nil?
|
408
|
-
command.query['
|
366
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
409
367
|
command.query['fields'] = fields unless fields.nil?
|
368
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
410
369
|
execute_or_queue_command(command, &block)
|
411
370
|
end
|
412
371
|
|
@@ -418,11 +377,11 @@ module Google
|
|
418
377
|
# that the user to be retrieved is associated with. (required)
|
419
378
|
# @param [Fixnum] user_id
|
420
379
|
# Numerical identifier of the user to retrieve. (required)
|
380
|
+
# @param [String] fields
|
381
|
+
# Selector specifying which fields to include in a partial response.
|
421
382
|
# @param [String] quota_user
|
422
383
|
# Available to use for quota purposes for server-side applications. Can be any
|
423
384
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
424
|
-
# @param [String] fields
|
425
|
-
# Selector specifying which fields to include in a partial response.
|
426
385
|
# @param [Google::Apis::RequestOptions] options
|
427
386
|
# Request-specific options
|
428
387
|
#
|
@@ -435,15 +394,56 @@ module Google
|
|
435
394
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
436
395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
437
396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
438
|
-
def get_account_client_user(account_id, client_account_id, user_id,
|
397
|
+
def get_account_client_user(account_id, client_account_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
439
398
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
|
440
399
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
441
400
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
|
442
401
|
command.params['accountId'] = account_id unless account_id.nil?
|
443
402
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
444
403
|
command.params['userId'] = user_id unless user_id.nil?
|
404
|
+
command.query['fields'] = fields unless fields.nil?
|
445
405
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
406
|
+
execute_or_queue_command(command, &block)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Updates an existing client user.
|
410
|
+
# Only the user status can be changed on update.
|
411
|
+
# @param [Fixnum] account_id
|
412
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
413
|
+
# @param [Fixnum] client_account_id
|
414
|
+
# Numerical account ID of the client buyer that the user to be retrieved
|
415
|
+
# is associated with. (required)
|
416
|
+
# @param [Fixnum] user_id
|
417
|
+
# Numerical identifier of the user to retrieve. (required)
|
418
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object
|
419
|
+
# @param [String] fields
|
420
|
+
# Selector specifying which fields to include in a partial response.
|
421
|
+
# @param [String] quota_user
|
422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
424
|
+
# @param [Google::Apis::RequestOptions] options
|
425
|
+
# Request-specific options
|
426
|
+
#
|
427
|
+
# @yield [result, err] Result & error if block supplied
|
428
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object
|
429
|
+
# @yieldparam err [StandardError] error object if request failed
|
430
|
+
#
|
431
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser]
|
432
|
+
#
|
433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
436
|
+
def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
437
|
+
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
|
438
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
439
|
+
command.request_object = client_user_object
|
440
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
441
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
|
442
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
443
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
444
|
+
command.params['userId'] = user_id unless user_id.nil?
|
446
445
|
command.query['fields'] = fields unless fields.nil?
|
446
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
447
447
|
execute_or_queue_command(command, &block)
|
448
448
|
end
|
449
449
|
|
@@ -477,11 +477,11 @@ module Google
|
|
477
477
|
# </ul>
|
478
478
|
# Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
|
479
479
|
# unacceptable_content) OR attribute:47'
|
480
|
+
# @param [String] fields
|
481
|
+
# Selector specifying which fields to include in a partial response.
|
480
482
|
# @param [String] quota_user
|
481
483
|
# Available to use for quota purposes for server-side applications. Can be any
|
482
484
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
483
|
-
# @param [String] fields
|
484
|
-
# Selector specifying which fields to include in a partial response.
|
485
485
|
# @param [Google::Apis::RequestOptions] options
|
486
486
|
# Request-specific options
|
487
487
|
#
|
@@ -494,7 +494,7 @@ module Google
|
|
494
494
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
495
495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
496
496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
497
|
-
def list_account_creatives(account_id, page_token: nil, page_size: nil, query: nil,
|
497
|
+
def list_account_creatives(account_id, page_token: nil, page_size: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
498
498
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
|
499
499
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation
|
500
500
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse
|
@@ -502,8 +502,8 @@ module Google
|
|
502
502
|
command.query['pageToken'] = page_token unless page_token.nil?
|
503
503
|
command.query['pageSize'] = page_size unless page_size.nil?
|
504
504
|
command.query['query'] = query unless query.nil?
|
505
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
506
505
|
command.query['fields'] = fields unless fields.nil?
|
506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
507
507
|
execute_or_queue_command(command, &block)
|
508
508
|
end
|
509
509
|
|
@@ -517,11 +517,11 @@ module Google
|
|
517
517
|
# @param [String] duplicate_id_mode
|
518
518
|
# Indicates if multiple creatives can share an ID or not. Default is
|
519
519
|
# NO_DUPLICATES (one ID per creative).
|
520
|
+
# @param [String] fields
|
521
|
+
# Selector specifying which fields to include in a partial response.
|
520
522
|
# @param [String] quota_user
|
521
523
|
# Available to use for quota purposes for server-side applications. Can be any
|
522
524
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
523
|
-
# @param [String] fields
|
524
|
-
# Selector specifying which fields to include in a partial response.
|
525
525
|
# @param [Google::Apis::RequestOptions] options
|
526
526
|
# Request-specific options
|
527
527
|
#
|
@@ -534,7 +534,7 @@ module Google
|
|
534
534
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
535
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
536
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
537
|
-
def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil,
|
537
|
+
def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
538
538
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options)
|
539
539
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
540
540
|
command.request_object = creative_object
|
@@ -542,8 +542,8 @@ module Google
|
|
542
542
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
543
543
|
command.params['accountId'] = account_id unless account_id.nil?
|
544
544
|
command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil?
|
545
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
546
545
|
command.query['fields'] = fields unless fields.nil?
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
547
|
execute_or_queue_command(command, &block)
|
548
548
|
end
|
549
549
|
|
@@ -555,11 +555,11 @@ module Google
|
|
555
555
|
# The creative ID of the creative to stop notifications for.
|
556
556
|
# Specify "-" to specify stopping account level notifications.
|
557
557
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_request_object
|
558
|
+
# @param [String] fields
|
559
|
+
# Selector specifying which fields to include in a partial response.
|
558
560
|
# @param [String] quota_user
|
559
561
|
# Available to use for quota purposes for server-side applications. Can be any
|
560
562
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
561
|
-
# @param [String] fields
|
562
|
-
# Selector specifying which fields to include in a partial response.
|
563
563
|
# @param [Google::Apis::RequestOptions] options
|
564
564
|
# Request-specific options
|
565
565
|
#
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
573
573
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
574
574
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
575
|
-
def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil,
|
575
|
+
def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
576
576
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
|
577
577
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation
|
578
578
|
command.request_object = stop_watching_creative_request_object
|
@@ -580,8 +580,8 @@ module Google
|
|
580
580
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
581
581
|
command.params['accountId'] = account_id unless account_id.nil?
|
582
582
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
583
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
584
583
|
command.query['fields'] = fields unless fields.nil?
|
584
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
585
585
|
execute_or_queue_command(command, &block)
|
586
586
|
end
|
587
587
|
|
@@ -590,11 +590,11 @@ module Google
|
|
590
590
|
# The account the creative belongs to.
|
591
591
|
# @param [String] creative_id
|
592
592
|
# The ID of the creative to retrieve.
|
593
|
+
# @param [String] fields
|
594
|
+
# Selector specifying which fields to include in a partial response.
|
593
595
|
# @param [String] quota_user
|
594
596
|
# Available to use for quota purposes for server-side applications. Can be any
|
595
597
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
596
|
-
# @param [String] fields
|
597
|
-
# Selector specifying which fields to include in a partial response.
|
598
598
|
# @param [Google::Apis::RequestOptions] options
|
599
599
|
# Request-specific options
|
600
600
|
#
|
@@ -607,14 +607,14 @@ module Google
|
|
607
607
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
608
608
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
609
609
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
610
|
-
def get_account_creative(account_id, creative_id,
|
610
|
+
def get_account_creative(account_id, creative_id, fields: nil, quota_user: nil, options: nil, &block)
|
611
611
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
|
612
612
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
613
613
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
614
614
|
command.params['accountId'] = account_id unless account_id.nil?
|
615
615
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
616
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
617
616
|
command.query['fields'] = fields unless fields.nil?
|
617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
618
618
|
execute_or_queue_command(command, &block)
|
619
619
|
end
|
620
620
|
|
@@ -629,11 +629,11 @@ module Google
|
|
629
629
|
# sent, only a single notification will be sent to the
|
630
630
|
# creative-level notification topic.
|
631
631
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object
|
632
|
+
# @param [String] fields
|
633
|
+
# Selector specifying which fields to include in a partial response.
|
632
634
|
# @param [String] quota_user
|
633
635
|
# Available to use for quota purposes for server-side applications. Can be any
|
634
636
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
635
|
-
# @param [String] fields
|
636
|
-
# Selector specifying which fields to include in a partial response.
|
637
637
|
# @param [Google::Apis::RequestOptions] options
|
638
638
|
# Request-specific options
|
639
639
|
#
|
@@ -646,7 +646,7 @@ module Google
|
|
646
646
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
647
647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
648
648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
649
|
-
def watch_creative(account_id, creative_id, watch_creative_request_object = nil,
|
649
|
+
def watch_creative(account_id, creative_id, watch_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
650
650
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
|
651
651
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation
|
652
652
|
command.request_object = watch_creative_request_object
|
@@ -654,8 +654,8 @@ module Google
|
|
654
654
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
655
655
|
command.params['accountId'] = account_id unless account_id.nil?
|
656
656
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
657
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
658
657
|
command.query['fields'] = fields unless fields.nil?
|
658
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
659
659
|
execute_or_queue_command(command, &block)
|
660
660
|
end
|
661
661
|
|
@@ -671,11 +671,11 @@ module Google
|
|
671
671
|
# creatives.list
|
672
672
|
# method.
|
673
673
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object
|
674
|
+
# @param [String] fields
|
675
|
+
# Selector specifying which fields to include in a partial response.
|
674
676
|
# @param [String] quota_user
|
675
677
|
# Available to use for quota purposes for server-side applications. Can be any
|
676
678
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
677
|
-
# @param [String] fields
|
678
|
-
# Selector specifying which fields to include in a partial response.
|
679
679
|
# @param [Google::Apis::RequestOptions] options
|
680
680
|
# Request-specific options
|
681
681
|
#
|
@@ -688,7 +688,7 @@ module Google
|
|
688
688
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
689
689
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
690
690
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
691
|
-
def update_account_creative(account_id, creative_id, creative_object = nil,
|
691
|
+
def update_account_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
692
692
|
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
|
693
693
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
694
694
|
command.request_object = creative_object
|
@@ -696,8 +696,8 @@ module Google
|
|
696
696
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
697
697
|
command.params['accountId'] = account_id unless account_id.nil?
|
698
698
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
699
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
700
699
|
command.query['fields'] = fields unless fields.nil?
|
700
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
701
701
|
execute_or_queue_command(command, &block)
|
702
702
|
end
|
703
703
|
|
@@ -730,11 +730,11 @@ module Google
|
|
730
730
|
# not_checked`
|
731
731
|
# </ul>
|
732
732
|
# Example: 'dealsId=12345 AND dealsStatus:disapproved'
|
733
|
+
# @param [String] fields
|
734
|
+
# Selector specifying which fields to include in a partial response.
|
733
735
|
# @param [String] quota_user
|
734
736
|
# Available to use for quota purposes for server-side applications. Can be any
|
735
737
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
736
|
-
# @param [String] fields
|
737
|
-
# Selector specifying which fields to include in a partial response.
|
738
738
|
# @param [Google::Apis::RequestOptions] options
|
739
739
|
# Request-specific options
|
740
740
|
#
|
@@ -747,7 +747,7 @@ module Google
|
|
747
747
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
748
748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
749
749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
750
|
-
def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil,
|
750
|
+
def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
751
751
|
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
|
752
752
|
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
|
753
753
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
|
@@ -756,8 +756,8 @@ module Google
|
|
756
756
|
command.query['pageToken'] = page_token unless page_token.nil?
|
757
757
|
command.query['pageSize'] = page_size unless page_size.nil?
|
758
758
|
command.query['query'] = query unless query.nil?
|
759
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
760
759
|
command.query['fields'] = fields unless fields.nil?
|
760
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
761
761
|
execute_or_queue_command(command, &block)
|
762
762
|
end
|
763
763
|
|
@@ -767,11 +767,11 @@ module Google
|
|
767
767
|
# @param [String] creative_id
|
768
768
|
# The ID of the creative associated with the deal.
|
769
769
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object
|
770
|
+
# @param [String] fields
|
771
|
+
# Selector specifying which fields to include in a partial response.
|
770
772
|
# @param [String] quota_user
|
771
773
|
# Available to use for quota purposes for server-side applications. Can be any
|
772
774
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
773
|
-
# @param [String] fields
|
774
|
-
# Selector specifying which fields to include in a partial response.
|
775
775
|
# @param [Google::Apis::RequestOptions] options
|
776
776
|
# Request-specific options
|
777
777
|
#
|
@@ -784,7 +784,7 @@ module Google
|
|
784
784
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
785
785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
786
786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
787
|
-
def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil,
|
787
|
+
def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
788
788
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
|
789
789
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation
|
790
790
|
command.request_object = add_deal_association_request_object
|
@@ -792,8 +792,8 @@ module Google
|
|
792
792
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
793
793
|
command.params['accountId'] = account_id unless account_id.nil?
|
794
794
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
795
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
796
795
|
command.query['fields'] = fields unless fields.nil?
|
796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
797
797
|
execute_or_queue_command(command, &block)
|
798
798
|
end
|
799
799
|
|
@@ -803,11 +803,11 @@ module Google
|
|
803
803
|
# @param [String] creative_id
|
804
804
|
# The ID of the creative associated with the deal.
|
805
805
|
# @param [Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest] remove_deal_association_request_object
|
806
|
+
# @param [String] fields
|
807
|
+
# Selector specifying which fields to include in a partial response.
|
806
808
|
# @param [String] quota_user
|
807
809
|
# Available to use for quota purposes for server-side applications. Can be any
|
808
810
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
809
|
-
# @param [String] fields
|
810
|
-
# Selector specifying which fields to include in a partial response.
|
811
811
|
# @param [Google::Apis::RequestOptions] options
|
812
812
|
# Request-specific options
|
813
813
|
#
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
821
821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
822
822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
823
|
-
def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil,
|
823
|
+
def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
824
824
|
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options)
|
825
825
|
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation
|
826
826
|
command.request_object = remove_deal_association_request_object
|
@@ -828,8 +828,8 @@ module Google
|
|
828
828
|
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
829
829
|
command.params['accountId'] = account_id unless account_id.nil?
|
830
830
|
command.params['creativeId'] = creative_id unless creative_id.nil?
|
831
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
832
831
|
command.query['fields'] = fields unless fields.nil?
|
832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
833
833
|
execute_or_queue_command(command, &block)
|
834
834
|
end
|
835
835
|
|