google-api-client 0.23.9 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2030 -58
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +878 -43
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +604 -0
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -1
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +8 -2
  11. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  12. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +108 -5
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +60 -0
  15. data/generated/google/apis/appengine_v1.rb +1 -1
  16. data/generated/google/apis/appengine_v1/classes.rb +1 -1
  17. data/generated/google/apis/appengine_v1/service.rb +3 -3
  18. data/generated/google/apis/appengine_v1beta.rb +1 -1
  19. data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta/service.rb +3 -3
  21. data/generated/google/apis/classroom_v1.rb +1 -1
  22. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  26. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  27. data/generated/google/apis/cloudtrace_v1/classes.rb +3 -2
  28. data/generated/google/apis/composer_v1.rb +1 -1
  29. data/generated/google/apis/composer_v1/classes.rb +1 -1
  30. data/generated/google/apis/composer_v1/service.rb +6 -6
  31. data/generated/google/apis/composer_v1beta1.rb +1 -1
  32. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  33. data/generated/google/apis/dataproc_v1.rb +1 -1
  34. data/generated/google/apis/dataproc_v1/classes.rb +475 -0
  35. data/generated/google/apis/dataproc_v1/representations.rb +188 -0
  36. data/generated/google/apis/dataproc_v1/service.rb +550 -0
  37. data/generated/google/apis/dlp_v2.rb +1 -1
  38. data/generated/google/apis/dlp_v2/classes.rb +21 -21
  39. data/generated/google/apis/file_v1beta1.rb +34 -0
  40. data/generated/google/apis/file_v1beta1/classes.rb +810 -0
  41. data/generated/google/apis/file_v1beta1/representations.rb +298 -0
  42. data/generated/google/apis/file_v1beta1/service.rb +472 -0
  43. data/generated/google/apis/jobs_v3.rb +1 -1
  44. data/generated/google/apis/jobs_v3/classes.rb +16 -17
  45. data/generated/google/apis/logging_v2.rb +1 -1
  46. data/generated/google/apis/logging_v2/classes.rb +8 -9
  47. data/generated/google/apis/logging_v2/service.rb +9 -9
  48. data/generated/google/apis/logging_v2beta1.rb +1 -1
  49. data/generated/google/apis/logging_v2beta1/classes.rb +8 -9
  50. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  51. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  52. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +14 -14
  53. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  54. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +142 -98
  55. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  56. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -2
  57. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  58. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -98
  59. data/generated/google/apis/serviceusage_v1.rb +1 -1
  60. data/generated/google/apis/serviceusage_v1/classes.rb +142 -98
  61. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  62. data/generated/google/apis/serviceusage_v1beta1/classes.rb +142 -98
  63. data/generated/google/apis/serviceuser_v1.rb +1 -1
  64. data/generated/google/apis/serviceuser_v1/classes.rb +142 -98
  65. data/generated/google/apis/speech_v1.rb +1 -1
  66. data/generated/google/apis/speech_v1/classes.rb +91 -0
  67. data/generated/google/apis/speech_v1/representations.rb +18 -0
  68. data/generated/google/apis/speech_v1/service.rb +47 -0
  69. data/generated/google/apis/speech_v1beta1.rb +1 -1
  70. data/generated/google/apis/speech_v1beta1/classes.rb +25 -0
  71. data/generated/google/apis/speech_v1beta1/representations.rb +15 -0
  72. data/generated/google/apis/speech_v1beta1/service.rb +47 -0
  73. data/generated/google/apis/sqladmin_v1beta4.rb +3 -3
  74. data/generated/google/apis/sqladmin_v1beta4/classes.rb +34 -31
  75. data/generated/google/apis/sqladmin_v1beta4/service.rb +8 -8
  76. data/generated/google/apis/storage_v1.rb +1 -1
  77. data/generated/google/apis/storage_v1/classes.rb +3 -4
  78. data/generated/google/apis/storage_v1/service.rb +2 -1
  79. data/generated/google/apis/storage_v1beta2.rb +1 -1
  80. data/generated/google/apis/storage_v1beta2/classes.rb +1 -2
  81. data/generated/google/apis/storage_v1beta2/service.rb +2 -1
  82. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  83. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -21
  84. data/generated/google/apis/testing_v1.rb +1 -1
  85. data/generated/google/apis/testing_v1/classes.rb +308 -14
  86. data/generated/google/apis/testing_v1/representations.rb +136 -0
  87. data/generated/google/apis/vision_v1.rb +1 -1
  88. data/generated/google/apis/vision_v1/classes.rb +156 -2
  89. data/generated/google/apis/vision_v1/representations.rb +60 -0
  90. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/vision_v1p1beta1/classes.rb +156 -2
  92. data/generated/google/apis/vision_v1p1beta1/representations.rb +60 -0
  93. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  94. data/generated/google/apis/vision_v1p2beta1/classes.rb +156 -2
  95. data/generated/google/apis/vision_v1p2beta1/representations.rb +60 -0
  96. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  97. data/lib/google/apis/version.rb +1 -1
  98. metadata +6 -14
  99. data/generated/google/apis/adexchangeseller_v1.rb +0 -37
  100. data/generated/google/apis/adexchangeseller_v1/classes.rb +0 -557
  101. data/generated/google/apis/adexchangeseller_v1/representations.rb +0 -248
  102. data/generated/google/apis/adexchangeseller_v1/service.rb +0 -544
  103. data/generated/google/apis/adexchangeseller_v1_1.rb +0 -37
  104. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +0 -842
  105. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +0 -364
  106. data/generated/google/apis/adexchangeseller_v1_1/service.rb +0 -735
  107. data/generated/google/apis/adexchangeseller_v2_0.rb +0 -37
  108. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +0 -792
  109. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +0 -347
  110. data/generated/google/apis/adexchangeseller_v2_0/service.rb +0 -638
@@ -1,37 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/adexchangeseller_v1_1/service.rb'
16
- require 'google/apis/adexchangeseller_v1_1/classes.rb'
17
- require 'google/apis/adexchangeseller_v1_1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Ad Exchange Seller API
22
- #
23
- # Accesses the inventory of Ad Exchange seller users and generates reports.
24
- #
25
- # @see https://developers.google.com/ad-exchange/seller-rest/
26
- module AdexchangesellerV1_1
27
- VERSION = 'V1_1'
28
- REVISION = '20180708'
29
-
30
- # View and manage your Ad Exchange data
31
- AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
32
-
33
- # View your Ad Exchange data
34
- AUTH_ADEXCHANGE_SELLER_READONLY = 'https://www.googleapis.com/auth/adexchange.seller.readonly'
35
- end
36
- end
37
- end
@@ -1,842 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module AdexchangesellerV1_1
24
-
25
- #
26
- class Account
27
- include Google::Apis::Core::Hashable
28
-
29
- # Unique identifier of this account.
30
- # Corresponds to the JSON property `id`
31
- # @return [String]
32
- attr_accessor :id
33
-
34
- # Kind of resource this is, in this case adexchangeseller#account.
35
- # Corresponds to the JSON property `kind`
36
- # @return [String]
37
- attr_accessor :kind
38
-
39
- # Name of this account.
40
- # Corresponds to the JSON property `name`
41
- # @return [String]
42
- attr_accessor :name
43
-
44
- def initialize(**args)
45
- update!(**args)
46
- end
47
-
48
- # Update properties of this object
49
- def update!(**args)
50
- @id = args[:id] if args.key?(:id)
51
- @kind = args[:kind] if args.key?(:kind)
52
- @name = args[:name] if args.key?(:name)
53
- end
54
- end
55
-
56
- #
57
- class AdClient
58
- include Google::Apis::Core::Hashable
59
-
60
- # Whether this ad client is opted in to ARC.
61
- # Corresponds to the JSON property `arcOptIn`
62
- # @return [Boolean]
63
- attr_accessor :arc_opt_in
64
- alias_method :arc_opt_in?, :arc_opt_in
65
-
66
- # Unique identifier of this ad client.
67
- # Corresponds to the JSON property `id`
68
- # @return [String]
69
- attr_accessor :id
70
-
71
- # Kind of resource this is, in this case adexchangeseller#adClient.
72
- # Corresponds to the JSON property `kind`
73
- # @return [String]
74
- attr_accessor :kind
75
-
76
- # This ad client's product code, which corresponds to the PRODUCT_CODE report
77
- # dimension.
78
- # Corresponds to the JSON property `productCode`
79
- # @return [String]
80
- attr_accessor :product_code
81
-
82
- # Whether this ad client supports being reported on.
83
- # Corresponds to the JSON property `supportsReporting`
84
- # @return [Boolean]
85
- attr_accessor :supports_reporting
86
- alias_method :supports_reporting?, :supports_reporting
87
-
88
- def initialize(**args)
89
- update!(**args)
90
- end
91
-
92
- # Update properties of this object
93
- def update!(**args)
94
- @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in)
95
- @id = args[:id] if args.key?(:id)
96
- @kind = args[:kind] if args.key?(:kind)
97
- @product_code = args[:product_code] if args.key?(:product_code)
98
- @supports_reporting = args[:supports_reporting] if args.key?(:supports_reporting)
99
- end
100
- end
101
-
102
- #
103
- class AdClients
104
- include Google::Apis::Core::Hashable
105
-
106
- # ETag of this response for caching purposes.
107
- # Corresponds to the JSON property `etag`
108
- # @return [String]
109
- attr_accessor :etag
110
-
111
- # The ad clients returned in this list response.
112
- # Corresponds to the JSON property `items`
113
- # @return [Array<Google::Apis::AdexchangesellerV1_1::AdClient>]
114
- attr_accessor :items
115
-
116
- # Kind of list this is, in this case adexchangeseller#adClients.
117
- # Corresponds to the JSON property `kind`
118
- # @return [String]
119
- attr_accessor :kind
120
-
121
- # Continuation token used to page through ad clients. To retrieve the next page
122
- # of results, set the next request's "pageToken" value to this.
123
- # Corresponds to the JSON property `nextPageToken`
124
- # @return [String]
125
- attr_accessor :next_page_token
126
-
127
- def initialize(**args)
128
- update!(**args)
129
- end
130
-
131
- # Update properties of this object
132
- def update!(**args)
133
- @etag = args[:etag] if args.key?(:etag)
134
- @items = args[:items] if args.key?(:items)
135
- @kind = args[:kind] if args.key?(:kind)
136
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
137
- end
138
- end
139
-
140
- #
141
- class AdUnit
142
- include Google::Apis::Core::Hashable
143
-
144
- # Identity code of this ad unit, not necessarily unique across ad clients.
145
- # Corresponds to the JSON property `code`
146
- # @return [String]
147
- attr_accessor :code
148
-
149
- # Unique identifier of this ad unit. This should be considered an opaque
150
- # identifier; it is not safe to rely on it being in any particular format.
151
- # Corresponds to the JSON property `id`
152
- # @return [String]
153
- attr_accessor :id
154
-
155
- # Kind of resource this is, in this case adexchangeseller#adUnit.
156
- # Corresponds to the JSON property `kind`
157
- # @return [String]
158
- attr_accessor :kind
159
-
160
- # Name of this ad unit.
161
- # Corresponds to the JSON property `name`
162
- # @return [String]
163
- attr_accessor :name
164
-
165
- # Status of this ad unit. Possible values are:
166
- # NEW: Indicates that the ad unit was created within the last seven days and
167
- # does not yet have any activity associated with it.
168
- # ACTIVE: Indicates that there has been activity on this ad unit in the last
169
- # seven days.
170
- # INACTIVE: Indicates that there has been no activity on this ad unit in the
171
- # last seven days.
172
- # Corresponds to the JSON property `status`
173
- # @return [String]
174
- attr_accessor :status
175
-
176
- def initialize(**args)
177
- update!(**args)
178
- end
179
-
180
- # Update properties of this object
181
- def update!(**args)
182
- @code = args[:code] if args.key?(:code)
183
- @id = args[:id] if args.key?(:id)
184
- @kind = args[:kind] if args.key?(:kind)
185
- @name = args[:name] if args.key?(:name)
186
- @status = args[:status] if args.key?(:status)
187
- end
188
- end
189
-
190
- #
191
- class AdUnits
192
- include Google::Apis::Core::Hashable
193
-
194
- # ETag of this response for caching purposes.
195
- # Corresponds to the JSON property `etag`
196
- # @return [String]
197
- attr_accessor :etag
198
-
199
- # The ad units returned in this list response.
200
- # Corresponds to the JSON property `items`
201
- # @return [Array<Google::Apis::AdexchangesellerV1_1::AdUnit>]
202
- attr_accessor :items
203
-
204
- # Kind of list this is, in this case adexchangeseller#adUnits.
205
- # Corresponds to the JSON property `kind`
206
- # @return [String]
207
- attr_accessor :kind
208
-
209
- # Continuation token used to page through ad units. To retrieve the next page of
210
- # results, set the next request's "pageToken" value to this.
211
- # Corresponds to the JSON property `nextPageToken`
212
- # @return [String]
213
- attr_accessor :next_page_token
214
-
215
- def initialize(**args)
216
- update!(**args)
217
- end
218
-
219
- # Update properties of this object
220
- def update!(**args)
221
- @etag = args[:etag] if args.key?(:etag)
222
- @items = args[:items] if args.key?(:items)
223
- @kind = args[:kind] if args.key?(:kind)
224
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
225
- end
226
- end
227
-
228
- #
229
- class Alert
230
- include Google::Apis::Core::Hashable
231
-
232
- # Unique identifier of this alert. This should be considered an opaque
233
- # identifier; it is not safe to rely on it being in any particular format.
234
- # Corresponds to the JSON property `id`
235
- # @return [String]
236
- attr_accessor :id
237
-
238
- # Kind of resource this is, in this case adexchangeseller#alert.
239
- # Corresponds to the JSON property `kind`
240
- # @return [String]
241
- attr_accessor :kind
242
-
243
- # The localized alert message.
244
- # Corresponds to the JSON property `message`
245
- # @return [String]
246
- attr_accessor :message
247
-
248
- # Severity of this alert. Possible values: INFO, WARNING, SEVERE.
249
- # Corresponds to the JSON property `severity`
250
- # @return [String]
251
- attr_accessor :severity
252
-
253
- # Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
254
- # ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
255
- # GRAYLISTED_PUBLISHER, API_HOLD.
256
- # Corresponds to the JSON property `type`
257
- # @return [String]
258
- attr_accessor :type
259
-
260
- def initialize(**args)
261
- update!(**args)
262
- end
263
-
264
- # Update properties of this object
265
- def update!(**args)
266
- @id = args[:id] if args.key?(:id)
267
- @kind = args[:kind] if args.key?(:kind)
268
- @message = args[:message] if args.key?(:message)
269
- @severity = args[:severity] if args.key?(:severity)
270
- @type = args[:type] if args.key?(:type)
271
- end
272
- end
273
-
274
- #
275
- class Alerts
276
- include Google::Apis::Core::Hashable
277
-
278
- # The alerts returned in this list response.
279
- # Corresponds to the JSON property `items`
280
- # @return [Array<Google::Apis::AdexchangesellerV1_1::Alert>]
281
- attr_accessor :items
282
-
283
- # Kind of list this is, in this case adexchangeseller#alerts.
284
- # Corresponds to the JSON property `kind`
285
- # @return [String]
286
- attr_accessor :kind
287
-
288
- def initialize(**args)
289
- update!(**args)
290
- end
291
-
292
- # Update properties of this object
293
- def update!(**args)
294
- @items = args[:items] if args.key?(:items)
295
- @kind = args[:kind] if args.key?(:kind)
296
- end
297
- end
298
-
299
- #
300
- class CustomChannel
301
- include Google::Apis::Core::Hashable
302
-
303
- # Code of this custom channel, not necessarily unique across ad clients.
304
- # Corresponds to the JSON property `code`
305
- # @return [String]
306
- attr_accessor :code
307
-
308
- # Unique identifier of this custom channel. This should be considered an opaque
309
- # identifier; it is not safe to rely on it being in any particular format.
310
- # Corresponds to the JSON property `id`
311
- # @return [String]
312
- attr_accessor :id
313
-
314
- # Kind of resource this is, in this case adexchangeseller#customChannel.
315
- # Corresponds to the JSON property `kind`
316
- # @return [String]
317
- attr_accessor :kind
318
-
319
- # Name of this custom channel.
320
- # Corresponds to the JSON property `name`
321
- # @return [String]
322
- attr_accessor :name
323
-
324
- # The targeting information of this custom channel, if activated.
325
- # Corresponds to the JSON property `targetingInfo`
326
- # @return [Google::Apis::AdexchangesellerV1_1::CustomChannel::TargetingInfo]
327
- attr_accessor :targeting_info
328
-
329
- def initialize(**args)
330
- update!(**args)
331
- end
332
-
333
- # Update properties of this object
334
- def update!(**args)
335
- @code = args[:code] if args.key?(:code)
336
- @id = args[:id] if args.key?(:id)
337
- @kind = args[:kind] if args.key?(:kind)
338
- @name = args[:name] if args.key?(:name)
339
- @targeting_info = args[:targeting_info] if args.key?(:targeting_info)
340
- end
341
-
342
- # The targeting information of this custom channel, if activated.
343
- class TargetingInfo
344
- include Google::Apis::Core::Hashable
345
-
346
- # The name used to describe this channel externally.
347
- # Corresponds to the JSON property `adsAppearOn`
348
- # @return [String]
349
- attr_accessor :ads_appear_on
350
-
351
- # The external description of the channel.
352
- # Corresponds to the JSON property `description`
353
- # @return [String]
354
- attr_accessor :description
355
-
356
- # The locations in which ads appear. (Only valid for content and mobile content
357
- # ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
358
- # MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER,
359
- # BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads are:
360
- # TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.
361
- # Corresponds to the JSON property `location`
362
- # @return [String]
363
- attr_accessor :location
364
-
365
- # The language of the sites ads will be displayed on.
366
- # Corresponds to the JSON property `siteLanguage`
367
- # @return [String]
368
- attr_accessor :site_language
369
-
370
- def initialize(**args)
371
- update!(**args)
372
- end
373
-
374
- # Update properties of this object
375
- def update!(**args)
376
- @ads_appear_on = args[:ads_appear_on] if args.key?(:ads_appear_on)
377
- @description = args[:description] if args.key?(:description)
378
- @location = args[:location] if args.key?(:location)
379
- @site_language = args[:site_language] if args.key?(:site_language)
380
- end
381
- end
382
- end
383
-
384
- #
385
- class CustomChannels
386
- include Google::Apis::Core::Hashable
387
-
388
- # ETag of this response for caching purposes.
389
- # Corresponds to the JSON property `etag`
390
- # @return [String]
391
- attr_accessor :etag
392
-
393
- # The custom channels returned in this list response.
394
- # Corresponds to the JSON property `items`
395
- # @return [Array<Google::Apis::AdexchangesellerV1_1::CustomChannel>]
396
- attr_accessor :items
397
-
398
- # Kind of list this is, in this case adexchangeseller#customChannels.
399
- # Corresponds to the JSON property `kind`
400
- # @return [String]
401
- attr_accessor :kind
402
-
403
- # Continuation token used to page through custom channels. To retrieve the next
404
- # page of results, set the next request's "pageToken" value to this.
405
- # Corresponds to the JSON property `nextPageToken`
406
- # @return [String]
407
- attr_accessor :next_page_token
408
-
409
- def initialize(**args)
410
- update!(**args)
411
- end
412
-
413
- # Update properties of this object
414
- def update!(**args)
415
- @etag = args[:etag] if args.key?(:etag)
416
- @items = args[:items] if args.key?(:items)
417
- @kind = args[:kind] if args.key?(:kind)
418
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
419
- end
420
- end
421
-
422
- #
423
- class Metadata
424
- include Google::Apis::Core::Hashable
425
-
426
- #
427
- # Corresponds to the JSON property `items`
428
- # @return [Array<Google::Apis::AdexchangesellerV1_1::ReportingMetadataEntry>]
429
- attr_accessor :items
430
-
431
- # Kind of list this is, in this case adexchangeseller#metadata.
432
- # Corresponds to the JSON property `kind`
433
- # @return [String]
434
- attr_accessor :kind
435
-
436
- def initialize(**args)
437
- update!(**args)
438
- end
439
-
440
- # Update properties of this object
441
- def update!(**args)
442
- @items = args[:items] if args.key?(:items)
443
- @kind = args[:kind] if args.key?(:kind)
444
- end
445
- end
446
-
447
- #
448
- class PreferredDeal
449
- include Google::Apis::Core::Hashable
450
-
451
- # The name of the advertiser this deal is for.
452
- # Corresponds to the JSON property `advertiserName`
453
- # @return [String]
454
- attr_accessor :advertiser_name
455
-
456
- # The name of the buyer network this deal is for.
457
- # Corresponds to the JSON property `buyerNetworkName`
458
- # @return [String]
459
- attr_accessor :buyer_network_name
460
-
461
- # The currency code that applies to the fixed_cpm value. If not set then assumed
462
- # to be USD.
463
- # Corresponds to the JSON property `currencyCode`
464
- # @return [String]
465
- attr_accessor :currency_code
466
-
467
- # Time when this deal stops being active in seconds since the epoch (GMT). If
468
- # not set then this deal is valid until manually disabled by the publisher.
469
- # Corresponds to the JSON property `endTime`
470
- # @return [Fixnum]
471
- attr_accessor :end_time
472
-
473
- # The fixed price for this preferred deal. In cpm micros of currency according
474
- # to currencyCode. If set, then this preferred deal is eligible for the fixed
475
- # price tier of buying (highest priority, pay exactly the configured fixed price)
476
- # .
477
- # Corresponds to the JSON property `fixedCpm`
478
- # @return [Fixnum]
479
- attr_accessor :fixed_cpm
480
-
481
- # Unique identifier of this preferred deal.
482
- # Corresponds to the JSON property `id`
483
- # @return [Fixnum]
484
- attr_accessor :id
485
-
486
- # Kind of resource this is, in this case adexchangeseller#preferredDeal.
487
- # Corresponds to the JSON property `kind`
488
- # @return [String]
489
- attr_accessor :kind
490
-
491
- # Time when this deal becomes active in seconds since the epoch (GMT). If not
492
- # set then this deal is active immediately upon creation.
493
- # Corresponds to the JSON property `startTime`
494
- # @return [Fixnum]
495
- attr_accessor :start_time
496
-
497
- def initialize(**args)
498
- update!(**args)
499
- end
500
-
501
- # Update properties of this object
502
- def update!(**args)
503
- @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
504
- @buyer_network_name = args[:buyer_network_name] if args.key?(:buyer_network_name)
505
- @currency_code = args[:currency_code] if args.key?(:currency_code)
506
- @end_time = args[:end_time] if args.key?(:end_time)
507
- @fixed_cpm = args[:fixed_cpm] if args.key?(:fixed_cpm)
508
- @id = args[:id] if args.key?(:id)
509
- @kind = args[:kind] if args.key?(:kind)
510
- @start_time = args[:start_time] if args.key?(:start_time)
511
- end
512
- end
513
-
514
- #
515
- class PreferredDeals
516
- include Google::Apis::Core::Hashable
517
-
518
- # The preferred deals returned in this list response.
519
- # Corresponds to the JSON property `items`
520
- # @return [Array<Google::Apis::AdexchangesellerV1_1::PreferredDeal>]
521
- attr_accessor :items
522
-
523
- # Kind of list this is, in this case adexchangeseller#preferredDeals.
524
- # Corresponds to the JSON property `kind`
525
- # @return [String]
526
- attr_accessor :kind
527
-
528
- def initialize(**args)
529
- update!(**args)
530
- end
531
-
532
- # Update properties of this object
533
- def update!(**args)
534
- @items = args[:items] if args.key?(:items)
535
- @kind = args[:kind] if args.key?(:kind)
536
- end
537
- end
538
-
539
- #
540
- class Report
541
- include Google::Apis::Core::Hashable
542
-
543
- # The averages of the report. This is the same length as any other row in the
544
- # report; cells corresponding to dimension columns are empty.
545
- # Corresponds to the JSON property `averages`
546
- # @return [Array<String>]
547
- attr_accessor :averages
548
-
549
- # The header information of the columns requested in the report. This is a list
550
- # of headers; one for each dimension in the request, followed by one for each
551
- # metric in the request.
552
- # Corresponds to the JSON property `headers`
553
- # @return [Array<Google::Apis::AdexchangesellerV1_1::Report::Header>]
554
- attr_accessor :headers
555
-
556
- # Kind this is, in this case adexchangeseller#report.
557
- # Corresponds to the JSON property `kind`
558
- # @return [String]
559
- attr_accessor :kind
560
-
561
- # The output rows of the report. Each row is a list of cells; one for each
562
- # dimension in the request, followed by one for each metric in the request. The
563
- # dimension cells contain strings, and the metric cells contain numbers.
564
- # Corresponds to the JSON property `rows`
565
- # @return [Array<Array<String>>]
566
- attr_accessor :rows
567
-
568
- # The total number of rows matched by the report request. Fewer rows may be
569
- # returned in the response due to being limited by the row count requested or
570
- # the report row limit.
571
- # Corresponds to the JSON property `totalMatchedRows`
572
- # @return [Fixnum]
573
- attr_accessor :total_matched_rows
574
-
575
- # The totals of the report. This is the same length as any other row in the
576
- # report; cells corresponding to dimension columns are empty.
577
- # Corresponds to the JSON property `totals`
578
- # @return [Array<String>]
579
- attr_accessor :totals
580
-
581
- # Any warnings associated with generation of the report.
582
- # Corresponds to the JSON property `warnings`
583
- # @return [Array<String>]
584
- attr_accessor :warnings
585
-
586
- def initialize(**args)
587
- update!(**args)
588
- end
589
-
590
- # Update properties of this object
591
- def update!(**args)
592
- @averages = args[:averages] if args.key?(:averages)
593
- @headers = args[:headers] if args.key?(:headers)
594
- @kind = args[:kind] if args.key?(:kind)
595
- @rows = args[:rows] if args.key?(:rows)
596
- @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
597
- @totals = args[:totals] if args.key?(:totals)
598
- @warnings = args[:warnings] if args.key?(:warnings)
599
- end
600
-
601
- #
602
- class Header
603
- include Google::Apis::Core::Hashable
604
-
605
- # The currency of this column. Only present if the header type is
606
- # METRIC_CURRENCY.
607
- # Corresponds to the JSON property `currency`
608
- # @return [String]
609
- attr_accessor :currency
610
-
611
- # The name of the header.
612
- # Corresponds to the JSON property `name`
613
- # @return [String]
614
- attr_accessor :name
615
-
616
- # The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
617
- # METRIC_CURRENCY.
618
- # Corresponds to the JSON property `type`
619
- # @return [String]
620
- attr_accessor :type
621
-
622
- def initialize(**args)
623
- update!(**args)
624
- end
625
-
626
- # Update properties of this object
627
- def update!(**args)
628
- @currency = args[:currency] if args.key?(:currency)
629
- @name = args[:name] if args.key?(:name)
630
- @type = args[:type] if args.key?(:type)
631
- end
632
- end
633
- end
634
-
635
- #
636
- class ReportingMetadataEntry
637
- include Google::Apis::Core::Hashable
638
-
639
- # For metrics this is a list of dimension IDs which the metric is compatible
640
- # with, for dimensions it is a list of compatibility groups the dimension
641
- # belongs to.
642
- # Corresponds to the JSON property `compatibleDimensions`
643
- # @return [Array<String>]
644
- attr_accessor :compatible_dimensions
645
-
646
- # The names of the metrics the dimension or metric this reporting metadata entry
647
- # describes is compatible with.
648
- # Corresponds to the JSON property `compatibleMetrics`
649
- # @return [Array<String>]
650
- attr_accessor :compatible_metrics
651
-
652
- # Unique identifier of this reporting metadata entry, corresponding to the name
653
- # of the appropriate dimension or metric.
654
- # Corresponds to the JSON property `id`
655
- # @return [String]
656
- attr_accessor :id
657
-
658
- # Kind of resource this is, in this case adexchangeseller#reportingMetadataEntry.
659
- # Corresponds to the JSON property `kind`
660
- # @return [String]
661
- attr_accessor :kind
662
-
663
- # The names of the dimensions which the dimension or metric this reporting
664
- # metadata entry describes requires to also be present in order for the report
665
- # to be valid. Omitting these will not cause an error or warning, but may result
666
- # in data which cannot be correctly interpreted.
667
- # Corresponds to the JSON property `requiredDimensions`
668
- # @return [Array<String>]
669
- attr_accessor :required_dimensions
670
-
671
- # The names of the metrics which the dimension or metric this reporting metadata
672
- # entry describes requires to also be present in order for the report to be
673
- # valid. Omitting these will not cause an error or warning, but may result in
674
- # data which cannot be correctly interpreted.
675
- # Corresponds to the JSON property `requiredMetrics`
676
- # @return [Array<String>]
677
- attr_accessor :required_metrics
678
-
679
- # The codes of the projects supported by the dimension or metric this reporting
680
- # metadata entry describes.
681
- # Corresponds to the JSON property `supportedProducts`
682
- # @return [Array<String>]
683
- attr_accessor :supported_products
684
-
685
- def initialize(**args)
686
- update!(**args)
687
- end
688
-
689
- # Update properties of this object
690
- def update!(**args)
691
- @compatible_dimensions = args[:compatible_dimensions] if args.key?(:compatible_dimensions)
692
- @compatible_metrics = args[:compatible_metrics] if args.key?(:compatible_metrics)
693
- @id = args[:id] if args.key?(:id)
694
- @kind = args[:kind] if args.key?(:kind)
695
- @required_dimensions = args[:required_dimensions] if args.key?(:required_dimensions)
696
- @required_metrics = args[:required_metrics] if args.key?(:required_metrics)
697
- @supported_products = args[:supported_products] if args.key?(:supported_products)
698
- end
699
- end
700
-
701
- #
702
- class SavedReport
703
- include Google::Apis::Core::Hashable
704
-
705
- # Unique identifier of this saved report.
706
- # Corresponds to the JSON property `id`
707
- # @return [String]
708
- attr_accessor :id
709
-
710
- # Kind of resource this is, in this case adexchangeseller#savedReport.
711
- # Corresponds to the JSON property `kind`
712
- # @return [String]
713
- attr_accessor :kind
714
-
715
- # This saved report's name.
716
- # Corresponds to the JSON property `name`
717
- # @return [String]
718
- attr_accessor :name
719
-
720
- def initialize(**args)
721
- update!(**args)
722
- end
723
-
724
- # Update properties of this object
725
- def update!(**args)
726
- @id = args[:id] if args.key?(:id)
727
- @kind = args[:kind] if args.key?(:kind)
728
- @name = args[:name] if args.key?(:name)
729
- end
730
- end
731
-
732
- #
733
- class SavedReports
734
- include Google::Apis::Core::Hashable
735
-
736
- # ETag of this response for caching purposes.
737
- # Corresponds to the JSON property `etag`
738
- # @return [String]
739
- attr_accessor :etag
740
-
741
- # The saved reports returned in this list response.
742
- # Corresponds to the JSON property `items`
743
- # @return [Array<Google::Apis::AdexchangesellerV1_1::SavedReport>]
744
- attr_accessor :items
745
-
746
- # Kind of list this is, in this case adexchangeseller#savedReports.
747
- # Corresponds to the JSON property `kind`
748
- # @return [String]
749
- attr_accessor :kind
750
-
751
- # Continuation token used to page through saved reports. To retrieve the next
752
- # page of results, set the next request's "pageToken" value to this.
753
- # Corresponds to the JSON property `nextPageToken`
754
- # @return [String]
755
- attr_accessor :next_page_token
756
-
757
- def initialize(**args)
758
- update!(**args)
759
- end
760
-
761
- # Update properties of this object
762
- def update!(**args)
763
- @etag = args[:etag] if args.key?(:etag)
764
- @items = args[:items] if args.key?(:items)
765
- @kind = args[:kind] if args.key?(:kind)
766
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
767
- end
768
- end
769
-
770
- #
771
- class UrlChannel
772
- include Google::Apis::Core::Hashable
773
-
774
- # Unique identifier of this URL channel. This should be considered an opaque
775
- # identifier; it is not safe to rely on it being in any particular format.
776
- # Corresponds to the JSON property `id`
777
- # @return [String]
778
- attr_accessor :id
779
-
780
- # Kind of resource this is, in this case adexchangeseller#urlChannel.
781
- # Corresponds to the JSON property `kind`
782
- # @return [String]
783
- attr_accessor :kind
784
-
785
- # URL Pattern of this URL channel. Does not include "http://" or "https://".
786
- # Example: www.example.com/home
787
- # Corresponds to the JSON property `urlPattern`
788
- # @return [String]
789
- attr_accessor :url_pattern
790
-
791
- def initialize(**args)
792
- update!(**args)
793
- end
794
-
795
- # Update properties of this object
796
- def update!(**args)
797
- @id = args[:id] if args.key?(:id)
798
- @kind = args[:kind] if args.key?(:kind)
799
- @url_pattern = args[:url_pattern] if args.key?(:url_pattern)
800
- end
801
- end
802
-
803
- #
804
- class UrlChannels
805
- include Google::Apis::Core::Hashable
806
-
807
- # ETag of this response for caching purposes.
808
- # Corresponds to the JSON property `etag`
809
- # @return [String]
810
- attr_accessor :etag
811
-
812
- # The URL channels returned in this list response.
813
- # Corresponds to the JSON property `items`
814
- # @return [Array<Google::Apis::AdexchangesellerV1_1::UrlChannel>]
815
- attr_accessor :items
816
-
817
- # Kind of list this is, in this case adexchangeseller#urlChannels.
818
- # Corresponds to the JSON property `kind`
819
- # @return [String]
820
- attr_accessor :kind
821
-
822
- # Continuation token used to page through URL channels. To retrieve the next
823
- # page of results, set the next request's "pageToken" value to this.
824
- # Corresponds to the JSON property `nextPageToken`
825
- # @return [String]
826
- attr_accessor :next_page_token
827
-
828
- def initialize(**args)
829
- update!(**args)
830
- end
831
-
832
- # Update properties of this object
833
- def update!(**args)
834
- @etag = args[:etag] if args.key?(:etag)
835
- @items = args[:items] if args.key?(:items)
836
- @kind = args[:kind] if args.key?(:kind)
837
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
838
- end
839
- end
840
- end
841
- end
842
- end