google-apis-doubleclickbidmanager_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
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
+ module Google
16
+ module Apis
17
+ module DoubleclickbidmanagerV2
18
+ # Version of the google-apis-doubleclickbidmanager_v2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.5.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220524"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,376 @@
1
+ # Copyright 2020 Google LLC
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 DoubleclickbidmanagerV2
24
+
25
+ class ChannelGrouping
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class DataRange
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Date
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class DisjunctiveMatchStatement
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class EventFilter
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class FilterPair
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ListQueriesResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ListReportsResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Options
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Parameters
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class PathFilter
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class PathQueryOptions
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class PathQueryOptionsFilter
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Query
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class QueryMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class QuerySchedule
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Report
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ReportKey
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ReportMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ReportStatus
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Rule
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class RunQueryRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ChannelGrouping
158
+ # @private
159
+ class Representation < Google::Apis::Core::JsonRepresentation
160
+ property :fallback_name, as: 'fallbackName'
161
+ property :name, as: 'name'
162
+ collection :rules, as: 'rules', class: Google::Apis::DoubleclickbidmanagerV2::Rule, decorator: Google::Apis::DoubleclickbidmanagerV2::Rule::Representation
163
+
164
+ end
165
+ end
166
+
167
+ class DataRange
168
+ # @private
169
+ class Representation < Google::Apis::Core::JsonRepresentation
170
+ property :custom_end_date, as: 'customEndDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
171
+
172
+ property :custom_start_date, as: 'customStartDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
173
+
174
+ property :range, as: 'range'
175
+ end
176
+ end
177
+
178
+ class Date
179
+ # @private
180
+ class Representation < Google::Apis::Core::JsonRepresentation
181
+ property :day, as: 'day'
182
+ property :month, as: 'month'
183
+ property :year, as: 'year'
184
+ end
185
+ end
186
+
187
+ class DisjunctiveMatchStatement
188
+ # @private
189
+ class Representation < Google::Apis::Core::JsonRepresentation
190
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV2::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV2::EventFilter::Representation
191
+
192
+ end
193
+ end
194
+
195
+ class EventFilter
196
+ # @private
197
+ class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::DoubleclickbidmanagerV2::PathQueryOptionsFilter, decorator: Google::Apis::DoubleclickbidmanagerV2::PathQueryOptionsFilter::Representation
199
+
200
+ end
201
+ end
202
+
203
+ class FilterPair
204
+ # @private
205
+ class Representation < Google::Apis::Core::JsonRepresentation
206
+ property :type, as: 'type'
207
+ property :value, as: 'value'
208
+ end
209
+ end
210
+
211
+ class ListQueriesResponse
212
+ # @private
213
+ class Representation < Google::Apis::Core::JsonRepresentation
214
+ property :next_page_token, as: 'nextPageToken'
215
+ collection :queries, as: 'queries', class: Google::Apis::DoubleclickbidmanagerV2::Query, decorator: Google::Apis::DoubleclickbidmanagerV2::Query::Representation
216
+
217
+ end
218
+ end
219
+
220
+ class ListReportsResponse
221
+ # @private
222
+ class Representation < Google::Apis::Core::JsonRepresentation
223
+ property :next_page_token, as: 'nextPageToken'
224
+ collection :reports, as: 'reports', class: Google::Apis::DoubleclickbidmanagerV2::Report, decorator: Google::Apis::DoubleclickbidmanagerV2::Report::Representation
225
+
226
+ end
227
+ end
228
+
229
+ class Options
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :include_only_targeted_user_lists, as: 'includeOnlyTargetedUserLists'
233
+ property :path_query_options, as: 'pathQueryOptions', class: Google::Apis::DoubleclickbidmanagerV2::PathQueryOptions, decorator: Google::Apis::DoubleclickbidmanagerV2::PathQueryOptions::Representation
234
+
235
+ end
236
+ end
237
+
238
+ class Parameters
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ collection :filters, as: 'filters', class: Google::Apis::DoubleclickbidmanagerV2::FilterPair, decorator: Google::Apis::DoubleclickbidmanagerV2::FilterPair::Representation
242
+
243
+ collection :group_bys, as: 'groupBys'
244
+ collection :metrics, as: 'metrics'
245
+ property :options, as: 'options', class: Google::Apis::DoubleclickbidmanagerV2::Options, decorator: Google::Apis::DoubleclickbidmanagerV2::Options::Representation
246
+
247
+ property :type, as: 'type'
248
+ end
249
+ end
250
+
251
+ class PathFilter
252
+ # @private
253
+ class Representation < Google::Apis::Core::JsonRepresentation
254
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV2::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV2::EventFilter::Representation
255
+
256
+ property :path_match_position, as: 'pathMatchPosition'
257
+ end
258
+ end
259
+
260
+ class PathQueryOptions
261
+ # @private
262
+ class Representation < Google::Apis::Core::JsonRepresentation
263
+ property :channel_grouping, as: 'channelGrouping', class: Google::Apis::DoubleclickbidmanagerV2::ChannelGrouping, decorator: Google::Apis::DoubleclickbidmanagerV2::ChannelGrouping::Representation
264
+
265
+ collection :path_filters, as: 'pathFilters', class: Google::Apis::DoubleclickbidmanagerV2::PathFilter, decorator: Google::Apis::DoubleclickbidmanagerV2::PathFilter::Representation
266
+
267
+ end
268
+ end
269
+
270
+ class PathQueryOptionsFilter
271
+ # @private
272
+ class Representation < Google::Apis::Core::JsonRepresentation
273
+ property :filter, as: 'filter'
274
+ property :match, as: 'match'
275
+ collection :values, as: 'values'
276
+ end
277
+ end
278
+
279
+ class Query
280
+ # @private
281
+ class Representation < Google::Apis::Core::JsonRepresentation
282
+ property :metadata, as: 'metadata', class: Google::Apis::DoubleclickbidmanagerV2::QueryMetadata, decorator: Google::Apis::DoubleclickbidmanagerV2::QueryMetadata::Representation
283
+
284
+ property :params, as: 'params', class: Google::Apis::DoubleclickbidmanagerV2::Parameters, decorator: Google::Apis::DoubleclickbidmanagerV2::Parameters::Representation
285
+
286
+ property :query_id, :numeric_string => true, as: 'queryId'
287
+ property :schedule, as: 'schedule', class: Google::Apis::DoubleclickbidmanagerV2::QuerySchedule, decorator: Google::Apis::DoubleclickbidmanagerV2::QuerySchedule::Representation
288
+
289
+ end
290
+ end
291
+
292
+ class QueryMetadata
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :data_range, as: 'dataRange', class: Google::Apis::DoubleclickbidmanagerV2::DataRange, decorator: Google::Apis::DoubleclickbidmanagerV2::DataRange::Representation
296
+
297
+ property :format, as: 'format'
298
+ property :send_notification, as: 'sendNotification'
299
+ collection :share_email_address, as: 'shareEmailAddress'
300
+ property :title, as: 'title'
301
+ end
302
+ end
303
+
304
+ class QuerySchedule
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :end_date, as: 'endDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
308
+
309
+ property :frequency, as: 'frequency'
310
+ property :next_run_timezone_code, as: 'nextRunTimezoneCode'
311
+ property :start_date, as: 'startDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
312
+
313
+ end
314
+ end
315
+
316
+ class Report
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :key, as: 'key', class: Google::Apis::DoubleclickbidmanagerV2::ReportKey, decorator: Google::Apis::DoubleclickbidmanagerV2::ReportKey::Representation
320
+
321
+ property :metadata, as: 'metadata', class: Google::Apis::DoubleclickbidmanagerV2::ReportMetadata, decorator: Google::Apis::DoubleclickbidmanagerV2::ReportMetadata::Representation
322
+
323
+ property :params, as: 'params', class: Google::Apis::DoubleclickbidmanagerV2::Parameters, decorator: Google::Apis::DoubleclickbidmanagerV2::Parameters::Representation
324
+
325
+ end
326
+ end
327
+
328
+ class ReportKey
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ property :query_id, :numeric_string => true, as: 'queryId'
332
+ property :report_id, :numeric_string => true, as: 'reportId'
333
+ end
334
+ end
335
+
336
+ class ReportMetadata
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :google_cloud_storage_path, as: 'googleCloudStoragePath'
340
+ property :report_data_end_date, as: 'reportDataEndDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
341
+
342
+ property :report_data_start_date, as: 'reportDataStartDate', class: Google::Apis::DoubleclickbidmanagerV2::Date, decorator: Google::Apis::DoubleclickbidmanagerV2::Date::Representation
343
+
344
+ property :status, as: 'status', class: Google::Apis::DoubleclickbidmanagerV2::ReportStatus, decorator: Google::Apis::DoubleclickbidmanagerV2::ReportStatus::Representation
345
+
346
+ end
347
+ end
348
+
349
+ class ReportStatus
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :finish_time, as: 'finishTime'
353
+ property :format, as: 'format'
354
+ property :state, as: 'state'
355
+ end
356
+ end
357
+
358
+ class Rule
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ collection :disjunctive_match_statements, as: 'disjunctiveMatchStatements', class: Google::Apis::DoubleclickbidmanagerV2::DisjunctiveMatchStatement, decorator: Google::Apis::DoubleclickbidmanagerV2::DisjunctiveMatchStatement::Representation
362
+
363
+ property :name, as: 'name'
364
+ end
365
+ end
366
+
367
+ class RunQueryRequest
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :data_range, as: 'dataRange', class: Google::Apis::DoubleclickbidmanagerV2::DataRange, decorator: Google::Apis::DoubleclickbidmanagerV2::DataRange::Representation
371
+
372
+ end
373
+ end
374
+ end
375
+ end
376
+ end