google-api-client 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATING.md +22 -7
  4. data/README.md +4 -8
  5. data/api_names.yaml +1210 -37815
  6. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
  14. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
  21. data/generated/google/apis/appengine_v1.rb +40 -0
  22. data/generated/google/apis/appengine_v1/classes.rb +2251 -0
  23. data/generated/google/apis/appengine_v1/representations.rb +858 -0
  24. data/generated/google/apis/appengine_v1/service.rb +894 -0
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +11 -6
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +26 -0
  29. data/generated/google/apis/books_v1/representations.rb +15 -0
  30. data/generated/google/apis/books_v1/service.rb +4 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
  35. data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
  36. data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
  37. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  38. data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
  39. data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
  40. data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
  41. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
  42. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
  43. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
  44. data/generated/google/apis/cloudfunctions_v1.rb +35 -0
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
  47. data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
  48. data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
  49. data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
  50. data/generated/google/apis/cloudkms_v1/service.rb +194 -194
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  60. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  61. data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
  62. data/generated/google/apis/compute_beta.rb +1 -1
  63. data/generated/google/apis/compute_beta/classes.rb +32 -7
  64. data/generated/google/apis/compute_beta/representations.rb +2 -0
  65. data/generated/google/apis/compute_beta/service.rb +11 -11
  66. data/generated/google/apis/compute_v1.rb +1 -1
  67. data/generated/google/apis/compute_v1/classes.rb +95 -2
  68. data/generated/google/apis/compute_v1/representations.rb +33 -0
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
  71. data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
  74. data/generated/google/apis/dataproc_v1/representations.rb +200 -200
  75. data/generated/google/apis/dataproc_v1/service.rb +356 -356
  76. data/generated/google/apis/datastore_v1.rb +4 -4
  77. data/generated/google/apis/datastore_v1/classes.rb +701 -690
  78. data/generated/google/apis/datastore_v1/representations.rb +160 -160
  79. data/generated/google/apis/datastore_v1/service.rb +52 -52
  80. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
  81. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2.rb +1 -1
  83. data/generated/google/apis/drive_v2/classes.rb +158 -35
  84. data/generated/google/apis/drive_v2/representations.rb +39 -0
  85. data/generated/google/apis/drive_v2/service.rb +4 -4
  86. data/generated/google/apis/drive_v3.rb +1 -1
  87. data/generated/google/apis/drive_v3/classes.rb +162 -33
  88. data/generated/google/apis/drive_v3/representations.rb +39 -0
  89. data/generated/google/apis/drive_v3/service.rb +4 -4
  90. data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
  91. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
  92. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
  93. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
  94. data/generated/google/apis/firebaserules_v1.rb +41 -0
  95. data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
  96. data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
  97. data/generated/google/apis/firebaserules_v1/service.rb +495 -0
  98. data/generated/google/apis/games_v1/classes.rb +4 -0
  99. data/generated/google/apis/genomics_v1.rb +7 -7
  100. data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
  101. data/generated/google/apis/genomics_v1/representations.rb +387 -387
  102. data/generated/google/apis/genomics_v1/service.rb +1187 -1187
  103. data/generated/google/apis/gmail_v1/classes.rb +3 -0
  104. data/generated/google/apis/iam_v1.rb +1 -1
  105. data/generated/google/apis/iam_v1/classes.rb +123 -117
  106. data/generated/google/apis/iam_v1/representations.rb +33 -33
  107. data/generated/google/apis/iam_v1/service.rb +109 -109
  108. data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
  109. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  110. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  111. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  112. data/generated/google/apis/language_v1.rb +36 -0
  113. data/generated/google/apis/language_v1/classes.rb +757 -0
  114. data/generated/google/apis/language_v1/representations.rb +338 -0
  115. data/generated/google/apis/language_v1/service.rb +185 -0
  116. data/generated/google/apis/language_v1beta1/classes.rb +407 -407
  117. data/generated/google/apis/language_v1beta1/representations.rb +103 -103
  118. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  119. data/generated/google/apis/logging_v2.rb +46 -0
  120. data/generated/google/apis/logging_v2/classes.rb +1271 -0
  121. data/generated/google/apis/logging_v2/representations.rb +421 -0
  122. data/generated/google/apis/logging_v2/service.rb +1569 -0
  123. data/generated/google/apis/logging_v2beta1.rb +1 -1
  124. data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
  125. data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
  126. data/generated/google/apis/logging_v2beta1/service.rb +235 -235
  127. data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
  128. data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
  129. data/generated/google/apis/ml_v1.rb +34 -0
  130. data/generated/google/apis/ml_v1/classes.rb +1617 -0
  131. data/generated/google/apis/ml_v1/representations.rb +498 -0
  132. data/generated/google/apis/ml_v1/service.rb +769 -0
  133. data/generated/google/apis/monitoring_v3.rb +4 -4
  134. data/generated/google/apis/monitoring_v3/classes.rb +630 -630
  135. data/generated/google/apis/monitoring_v3/representations.rb +134 -134
  136. data/generated/google/apis/monitoring_v3/service.rb +240 -240
  137. data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
  138. data/generated/google/apis/partners_v2.rb +1 -1
  139. data/generated/google/apis/partners_v2/classes.rb +639 -639
  140. data/generated/google/apis/partners_v2/representations.rb +168 -168
  141. data/generated/google/apis/partners_v2/service.rb +381 -381
  142. data/generated/google/apis/people_v1.rb +10 -10
  143. data/generated/google/apis/people_v1/classes.rb +524 -524
  144. data/generated/google/apis/people_v1/representations.rb +143 -143
  145. data/generated/google/apis/people_v1/service.rb +30 -30
  146. data/generated/google/apis/plus_domains_v1.rb +1 -1
  147. data/generated/google/apis/plus_v1.rb +1 -1
  148. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
  149. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
  150. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
  151. data/generated/google/apis/pubsub_v1/classes.rb +175 -173
  152. data/generated/google/apis/pubsub_v1/representations.rb +53 -53
  153. data/generated/google/apis/pubsub_v1/service.rb +210 -210
  154. data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
  155. data/generated/google/apis/runtimeconfig_v1.rb +38 -0
  156. data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
  157. data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
  158. data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
  159. data/generated/google/apis/script_v1.rb +1 -1
  160. data/generated/google/apis/script_v1/classes.rb +6 -6
  161. data/generated/google/apis/script_v1/representations.rb +1 -1
  162. data/generated/google/apis/searchconsole_v1.rb +31 -0
  163. data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
  164. data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
  165. data/generated/google/apis/searchconsole_v1/service.rb +88 -0
  166. data/generated/google/apis/servicecontrol_v1.rb +38 -0
  167. data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
  168. data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
  169. data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
  170. data/generated/google/apis/servicemanagement_v1.rb +45 -0
  171. data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
  172. data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
  173. data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
  174. data/generated/google/apis/serviceuser_v1.rb +42 -0
  175. data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
  176. data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
  177. data/generated/google/apis/serviceuser_v1/service.rb +214 -0
  178. data/generated/google/apis/sheets_v4.rb +3 -3
  179. data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
  180. data/generated/google/apis/sheets_v4/representations.rb +381 -381
  181. data/generated/google/apis/sheets_v4/service.rb +48 -48
  182. data/generated/google/apis/slides_v1.rb +3 -3
  183. data/generated/google/apis/slides_v1/classes.rb +2860 -2860
  184. data/generated/google/apis/slides_v1/representations.rb +693 -693
  185. data/generated/google/apis/slides_v1/service.rb +30 -30
  186. data/generated/google/apis/sourcerepo_v1.rb +34 -0
  187. data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
  188. data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
  189. data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
  190. data/generated/google/apis/spanner_v1.rb +35 -0
  191. data/generated/google/apis/spanner_v1/classes.rb +3294 -0
  192. data/generated/google/apis/spanner_v1/representations.rb +984 -0
  193. data/generated/google/apis/spanner_v1/service.rb +1504 -0
  194. data/generated/google/apis/speech_v1beta1.rb +1 -1
  195. data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
  196. data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
  197. data/generated/google/apis/speech_v1beta1/service.rb +27 -27
  198. data/generated/google/apis/storage_v1.rb +1 -1
  199. data/generated/google/apis/storage_v1/classes.rb +131 -0
  200. data/generated/google/apis/storage_v1/representations.rb +51 -0
  201. data/generated/google/apis/storage_v1/service.rb +182 -0
  202. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  203. data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
  204. data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
  205. data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
  206. data/generated/google/apis/surveys_v2.rb +40 -0
  207. data/generated/google/apis/surveys_v2/classes.rb +806 -0
  208. data/generated/google/apis/surveys_v2/representations.rb +347 -0
  209. data/generated/google/apis/surveys_v2/service.rb +477 -0
  210. data/generated/google/apis/tagmanager_v2.rb +52 -0
  211. data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
  212. data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
  213. data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
  214. data/generated/google/apis/toolresults_v1beta3.rb +34 -0
  215. data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
  216. data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
  217. data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
  218. data/generated/google/apis/tracing_v1.rb +40 -0
  219. data/generated/google/apis/tracing_v1/classes.rb +664 -0
  220. data/generated/google/apis/tracing_v1/representations.rb +279 -0
  221. data/generated/google/apis/tracing_v1/service.rb +225 -0
  222. data/generated/google/apis/vision_v1.rb +1 -1
  223. data/generated/google/apis/vision_v1/classes.rb +1223 -1222
  224. data/generated/google/apis/vision_v1/representations.rb +234 -234
  225. data/generated/google/apis/vision_v1/service.rb +10 -10
  226. data/generated/google/apis/webfonts_v1.rb +33 -0
  227. data/generated/google/apis/webfonts_v1/classes.rb +113 -0
  228. data/generated/google/apis/webfonts_v1/representations.rb +62 -0
  229. data/generated/google/apis/webfonts_v1/service.rb +102 -0
  230. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  231. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  232. data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
  233. data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
  234. data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
  235. data/generated/google/apis/youtube_v3/classes.rb +1 -0
  236. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  237. data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
  238. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  239. data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
  240. data/lib/google/apis/generator/annotator.rb +5 -4
  241. data/lib/google/apis/generator/templates/_class.tmpl +3 -0
  242. data/lib/google/apis/version.rb +1 -1
  243. data/samples/cli/lib/samples/adsense.rb +99 -0
  244. data/samples/cli/lib/samples/analytics.rb +18 -0
  245. data/samples/cli/lib/samples/gmail.rb +33 -0
  246. data/samples/cli/lib/samples/vision.rb +69 -0
  247. metadata +89 -4
  248. data/sync.rb +0 -71
@@ -22,7 +22,19 @@ module Google
22
22
  module Apis
23
23
  module PartnersV2
24
24
 
25
- class Company
25
+ class Certification
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class User
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ListAnalyticsResponse
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
28
40
  include Google::Apis::Core::JsonObjectSupport
@@ -34,6 +46,12 @@ module Google
34
46
  include Google::Apis::Core::JsonObjectSupport
35
47
  end
36
48
 
49
+ class Company
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
37
55
  class CreateLeadResponse
38
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
57
 
@@ -52,13 +70,13 @@ module Google
52
70
  include Google::Apis::Core::JsonObjectSupport
53
71
  end
54
72
 
55
- class CertificationExamStatus
73
+ class ExamToken
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
58
76
  include Google::Apis::Core::JsonObjectSupport
59
77
  end
60
78
 
61
- class ExamToken
79
+ class CertificationExamStatus
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
81
 
64
82
  include Google::Apis::Core::JsonObjectSupport
@@ -94,13 +112,13 @@ module Google
94
112
  include Google::Apis::Core::JsonObjectSupport
95
113
  end
96
114
 
97
- class LogUserEventRequest
115
+ class UserOverrides
98
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
117
 
100
118
  include Google::Apis::Core::JsonObjectSupport
101
119
  end
102
120
 
103
- class UserOverrides
121
+ class LogUserEventRequest
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
106
124
  include Google::Apis::Core::JsonObjectSupport
@@ -118,13 +136,13 @@ module Google
118
136
  include Google::Apis::Core::JsonObjectSupport
119
137
  end
120
138
 
121
- class AdWordsManagerAccountInfo
139
+ class PublicProfile
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
124
142
  include Google::Apis::Core::JsonObjectSupport
125
143
  end
126
144
 
127
- class PublicProfile
145
+ class AdWordsManagerAccountInfo
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
130
148
  include Google::Apis::Core::JsonObjectSupport
@@ -172,13 +190,13 @@ module Google
172
190
  include Google::Apis::Core::JsonObjectSupport
173
191
  end
174
192
 
175
- class DebugInfo
193
+ class Lead
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
181
- class Lead
199
+ class DebugInfo
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
184
202
  include Google::Apis::Core::JsonObjectSupport
@@ -214,13 +232,13 @@ module Google
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
217
- class CreateLeadRequest
235
+ class RequestMetadata
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
220
238
  include Google::Apis::Core::JsonObjectSupport
221
239
  end
222
240
 
223
- class RequestMetadata
241
+ class CreateLeadRequest
224
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
243
 
226
244
  include Google::Apis::Core::JsonObjectSupport
@@ -299,21 +317,61 @@ module Google
299
317
  end
300
318
 
301
319
  class Certification
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :last_achieved, as: 'lastAchieved'
323
+ property :achieved, as: 'achieved'
324
+ property :expiration, as: 'expiration'
325
+ property :warning, as: 'warning'
326
+ property :certification_type, as: 'certificationType'
327
+ end
305
328
  end
306
329
 
307
330
  class User
308
- class Representation < Google::Apis::Core::JsonRepresentation; end
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
309
334
 
310
- include Google::Apis::Core::JsonObjectSupport
335
+ property :id, as: 'id'
336
+ property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
337
+
338
+ collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
339
+
340
+ property :company_verification_email, as: 'companyVerificationEmail'
341
+ property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
342
+
343
+ property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
344
+
345
+ property :last_access_time, as: 'lastAccessTime'
346
+ collection :primary_emails, as: 'primaryEmails'
347
+ collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
348
+
349
+ end
311
350
  end
312
351
 
313
352
  class ListAnalyticsResponse
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ property :next_page_token, as: 'nextPageToken'
356
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
315
357
 
316
- include Google::Apis::Core::JsonObjectSupport
358
+ property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
359
+
360
+ collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
361
+
362
+ end
363
+ end
364
+
365
+ class ListLeadsResponse
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :next_page_token, as: 'nextPageToken'
369
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
370
+
371
+ property :total_size, as: 'totalSize'
372
+ collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
373
+
374
+ end
317
375
  end
318
376
 
319
377
  class Company
@@ -331,39 +389,27 @@ module Google
331
389
  collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
332
390
 
333
391
  property :id, as: 'id'
334
- collection :services, as: 'services'
335
392
  property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
336
393
 
337
394
  property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
338
395
 
339
396
  property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
340
397
 
398
+ collection :services, as: 'services'
341
399
  collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation
342
400
 
343
401
  collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
344
402
 
345
403
  property :badge_tier, as: 'badgeTier'
346
- collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
347
404
  collection :company_types, as: 'companyTypes'
348
- property :profile_status, as: 'profileStatus'
405
+ collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
349
406
  property :primary_language_code, as: 'primaryLanguageCode'
407
+ property :profile_status, as: 'profileStatus'
350
408
  collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
351
409
 
352
410
  end
353
411
  end
354
412
 
355
- class ListLeadsResponse
356
- # @private
357
- class Representation < Google::Apis::Core::JsonRepresentation
358
- property :next_page_token, as: 'nextPageToken'
359
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
360
-
361
- property :total_size, as: 'totalSize'
362
- collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
363
-
364
- end
365
- end
366
-
367
413
  class CreateLeadResponse
368
414
  # @private
369
415
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -378,17 +424,16 @@ module Google
378
424
  class GetCompanyResponse
379
425
  # @private
380
426
  class Representation < Google::Apis::Core::JsonRepresentation
381
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
382
-
383
427
  property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
384
428
 
429
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
430
+
385
431
  end
386
432
  end
387
433
 
388
434
  class Location
389
435
  # @private
390
436
  class Representation < Google::Apis::Core::JsonRepresentation
391
- property :postal_code, as: 'postalCode'
392
437
  property :language_code, as: 'languageCode'
393
438
  property :sorting_code, as: 'sortingCode'
394
439
  collection :address_line, as: 'addressLine'
@@ -396,37 +441,38 @@ module Google
396
441
  property :locality, as: 'locality'
397
442
  property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
398
443
 
399
- property :address, as: 'address'
400
444
  property :dependent_locality, as: 'dependentLocality'
401
445
  property :region_code, as: 'regionCode'
446
+ property :address, as: 'address'
447
+ property :postal_code, as: 'postalCode'
402
448
  end
403
449
  end
404
450
 
405
- class CertificationExamStatus
451
+ class ExamToken
406
452
  # @private
407
453
  class Representation < Google::Apis::Core::JsonRepresentation
408
- property :number_users_pass, as: 'numberUsersPass'
409
- property :type, as: 'type'
454
+ property :token, as: 'token'
455
+ property :exam_type, as: 'examType'
456
+ property :exam_id, as: 'examId'
410
457
  end
411
458
  end
412
459
 
413
- class ExamToken
460
+ class CertificationExamStatus
414
461
  # @private
415
462
  class Representation < Google::Apis::Core::JsonRepresentation
416
- property :exam_id, as: 'examId'
417
- property :token, as: 'token'
418
- property :exam_type, as: 'examType'
463
+ property :number_users_pass, as: 'numberUsersPass'
464
+ property :type, as: 'type'
419
465
  end
420
466
  end
421
467
 
422
468
  class OptIns
423
469
  # @private
424
470
  class Representation < Google::Apis::Core::JsonRepresentation
425
- property :physical_mail, as: 'physicalMail'
426
- property :phone_contact, as: 'phoneContact'
427
471
  property :market_comm, as: 'marketComm'
428
472
  property :special_offers, as: 'specialOffers'
429
473
  property :performance_suggestions, as: 'performanceSuggestions'
474
+ property :physical_mail, as: 'physicalMail'
475
+ property :phone_contact, as: 'phoneContact'
430
476
  end
431
477
  end
432
478
 
@@ -441,22 +487,22 @@ module Google
441
487
  class UserProfile
442
488
  # @private
443
489
  class Representation < Google::Apis::Core::JsonRepresentation
444
- property :given_name, as: 'givenName'
445
- property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
446
-
447
- collection :industries, as: 'industries'
448
- collection :languages, as: 'languages'
449
490
  property :family_name, as: 'familyName'
491
+ collection :languages, as: 'languages'
450
492
  property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation
451
493
 
452
494
  collection :markets, as: 'markets'
453
- property :phone_number, as: 'phoneNumber'
454
495
  property :adwords_manager_account, as: 'adwordsManagerAccount'
496
+ property :phone_number, as: 'phoneNumber'
455
497
  property :primary_country_code, as: 'primaryCountryCode'
456
498
  property :email_address, as: 'emailAddress'
457
499
  property :profile_public, as: 'profilePublic'
458
500
  collection :channels, as: 'channels'
459
501
  collection :job_functions, as: 'jobFunctions'
502
+ property :given_name, as: 'givenName'
503
+ property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
504
+
505
+ collection :industries, as: 'industries'
460
506
  end
461
507
  end
462
508
 
@@ -471,7 +517,6 @@ module Google
471
517
  class HistoricalOffer
472
518
  # @private
473
519
  class Representation < Google::Apis::Core::JsonRepresentation
474
- property :client_id, as: 'clientId'
475
520
  property :client_name, as: 'clientName'
476
521
  property :last_modified_time, as: 'lastModifiedTime'
477
522
  property :adwords_url, as: 'adwordsUrl'
@@ -481,8 +526,17 @@ module Google
481
526
  property :expiration_time, as: 'expirationTime'
482
527
  property :offer_code, as: 'offerCode'
483
528
  property :creation_time, as: 'creationTime'
484
- property :client_email, as: 'clientEmail'
485
529
  property :status, as: 'status'
530
+ property :client_email, as: 'clientEmail'
531
+ property :client_id, as: 'clientId'
532
+ end
533
+ end
534
+
535
+ class UserOverrides
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :ip_address, as: 'ipAddress'
539
+ property :user_id, as: 'userId'
486
540
  end
487
541
  end
488
542
 
@@ -492,9 +546,9 @@ module Google
492
546
  property :url, as: 'url'
493
547
  property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
494
548
 
549
+ property :event_scope, as: 'eventScope'
495
550
  collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation
496
551
 
497
- property :event_scope, as: 'eventScope'
498
552
  property :event_category, as: 'eventCategory'
499
553
  property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
500
554
 
@@ -502,14 +556,6 @@ module Google
502
556
  end
503
557
  end
504
558
 
505
- class UserOverrides
506
- # @private
507
- class Representation < Google::Apis::Core::JsonRepresentation
508
- property :user_id, as: 'userId'
509
- property :ip_address, as: 'ipAddress'
510
- end
511
- end
512
-
513
559
  class AnalyticsDataPoint
514
560
  # @private
515
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -522,33 +568,33 @@ module Google
522
568
  class Analytics
523
569
  # @private
524
570
  class Representation < Google::Apis::Core::JsonRepresentation
525
- property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
526
-
527
571
  property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation
528
572
 
529
573
  property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
530
574
 
531
575
  property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
532
576
 
577
+ property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
578
+
533
579
  end
534
580
  end
535
581
 
536
- class AdWordsManagerAccountInfo
582
+ class PublicProfile
537
583
  # @private
538
584
  class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :display_name, as: 'displayName'
586
+ property :display_image_url, as: 'displayImageUrl'
539
587
  property :id, as: 'id'
540
- property :customer_name, as: 'customerName'
588
+ property :url, as: 'url'
589
+ property :profile_image, as: 'profileImage'
541
590
  end
542
591
  end
543
592
 
544
- class PublicProfile
593
+ class AdWordsManagerAccountInfo
545
594
  # @private
546
595
  class Representation < Google::Apis::Core::JsonRepresentation
547
- property :profile_image, as: 'profileImage'
548
- property :display_name, as: 'displayName'
549
- property :display_image_url, as: 'displayImageUrl'
550
596
  property :id, as: 'id'
551
- property :url, as: 'url'
597
+ property :customer_name, as: 'customerName'
552
598
  end
553
599
  end
554
600
 
@@ -591,8 +637,8 @@ module Google
591
637
  class LatLng
592
638
  # @private
593
639
  class Representation < Google::Apis::Core::JsonRepresentation
594
- property :longitude, as: 'longitude'
595
640
  property :latitude, as: 'latitude'
641
+ property :longitude, as: 'longitude'
596
642
  end
597
643
  end
598
644
 
@@ -608,40 +654,34 @@ module Google
608
654
  class AnalyticsSummary
609
655
  # @private
610
656
  class Representation < Google::Apis::Core::JsonRepresentation
611
- property :search_views_count, as: 'searchViewsCount'
612
657
  property :contacts_count, as: 'contactsCount'
613
658
  property :profile_views_count, as: 'profileViewsCount'
659
+ property :search_views_count, as: 'searchViewsCount'
614
660
  end
615
661
  end
616
662
 
617
663
  class LogMessageRequest
618
664
  # @private
619
665
  class Representation < Google::Apis::Core::JsonRepresentation
666
+ hash :client_info, as: 'clientInfo'
620
667
  property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
621
668
 
622
669
  property :level, as: 'level'
623
670
  property :details, as: 'details'
624
- hash :client_info, as: 'clientInfo'
625
- end
626
- end
627
-
628
- class DebugInfo
629
- # @private
630
- class Representation < Google::Apis::Core::JsonRepresentation
631
- property :server_info, as: 'serverInfo'
632
- property :server_trace_info, as: 'serverTraceInfo'
633
- property :service_url, as: 'serviceUrl'
634
671
  end
635
672
  end
636
673
 
637
674
  class Lead
638
675
  # @private
639
676
  class Representation < Google::Apis::Core::JsonRepresentation
640
- property :given_name, as: 'givenName'
677
+ property :create_time, as: 'createTime'
678
+ property :marketing_opt_in, as: 'marketingOptIn'
679
+ property :type, as: 'type'
641
680
  property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
642
681
 
643
- property :website_url, as: 'websiteUrl'
682
+ property :given_name, as: 'givenName'
644
683
  property :language_code, as: 'languageCode'
684
+ property :website_url, as: 'websiteUrl'
645
685
  property :state, as: 'state'
646
686
  collection :gps_motivations, as: 'gpsMotivations'
647
687
  property :email, as: 'email'
@@ -650,9 +690,15 @@ module Google
650
690
  property :comments, as: 'comments'
651
691
  property :phone_number, as: 'phoneNumber'
652
692
  property :adwords_customer_id, as: 'adwordsCustomerId'
653
- property :create_time, as: 'createTime'
654
- property :marketing_opt_in, as: 'marketingOptIn'
655
- property :type, as: 'type'
693
+ end
694
+ end
695
+
696
+ class DebugInfo
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :server_info, as: 'serverInfo'
700
+ property :server_trace_info, as: 'serverTraceInfo'
701
+ property :service_url, as: 'serviceUrl'
656
702
  end
657
703
  end
658
704
 
@@ -668,15 +714,9 @@ module Google
668
714
  class CompanyRelation
669
715
  # @private
670
716
  class Representation < Google::Apis::Core::JsonRepresentation
671
- property :logo_url, as: 'logoUrl'
672
- property :resolved_timestamp, as: 'resolvedTimestamp'
673
- property :company_admin, as: 'companyAdmin'
674
- property :address, as: 'address'
675
- property :is_pending, as: 'isPending'
676
- property :creation_time, as: 'creationTime'
677
717
  property :state, as: 'state'
678
- property :manager_account, as: 'managerAccount'
679
718
  property :name, as: 'name'
719
+ property :manager_account, as: 'managerAccount'
680
720
  collection :segment, as: 'segment'
681
721
  collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
682
722
 
@@ -684,6 +724,12 @@ module Google
684
724
  property :website, as: 'website'
685
725
  property :phone_number, as: 'phoneNumber'
686
726
  property :company_id, as: 'companyId'
727
+ property :logo_url, as: 'logoUrl'
728
+ property :resolved_timestamp, as: 'resolvedTimestamp'
729
+ property :company_admin, as: 'companyAdmin'
730
+ property :address, as: 'address'
731
+ property :is_pending, as: 'isPending'
732
+ property :creation_time, as: 'creationTime'
687
733
  end
688
734
  end
689
735
 
@@ -710,27 +756,27 @@ module Google
710
756
  end
711
757
  end
712
758
 
713
- class CreateLeadRequest
759
+ class RequestMetadata
714
760
  # @private
715
761
  class Representation < Google::Apis::Core::JsonRepresentation
716
- property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
717
-
718
- property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
762
+ property :locale, as: 'locale'
763
+ property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
719
764
 
720
- property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
765
+ property :partners_session_id, as: 'partnersSessionId'
766
+ collection :experiment_ids, as: 'experimentIds'
767
+ property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
721
768
 
722
769
  end
723
770
  end
724
771
 
725
- class RequestMetadata
772
+ class CreateLeadRequest
726
773
  # @private
727
774
  class Representation < Google::Apis::Core::JsonRepresentation
728
- property :locale, as: 'locale'
729
- property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
775
+ property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
730
776
 
731
- property :partners_session_id, as: 'partnersSessionId'
732
- collection :experiment_ids, as: 'experimentIds'
733
- property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
777
+ property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
778
+
779
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
734
780
 
735
781
  end
736
782
  end
@@ -738,88 +784,88 @@ module Google
738
784
  class EventData
739
785
  # @private
740
786
  class Representation < Google::Apis::Core::JsonRepresentation
741
- property :key, as: 'key'
742
787
  collection :values, as: 'values'
788
+ property :key, as: 'key'
743
789
  end
744
790
  end
745
791
 
746
792
  class ExamStatus
747
793
  # @private
748
794
  class Representation < Google::Apis::Core::JsonRepresentation
749
- property :passed, as: 'passed'
750
- property :taken, as: 'taken'
751
795
  property :warning, as: 'warning'
752
796
  property :expiration, as: 'expiration'
753
797
  property :last_passed, as: 'lastPassed'
754
798
  property :exam_type, as: 'examType'
799
+ property :passed, as: 'passed'
800
+ property :taken, as: 'taken'
755
801
  end
756
802
  end
757
803
 
758
804
  class ListOffersResponse
759
805
  # @private
760
806
  class Representation < Google::Apis::Core::JsonRepresentation
761
- collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
762
-
763
807
  property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
764
808
 
765
809
  property :no_offer_reason, as: 'noOfferReason'
810
+ collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
811
+
766
812
  end
767
813
  end
768
814
 
769
815
  class CountryOfferInfo
770
816
  # @private
771
817
  class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :get_y_amount, as: 'getYAmount'
772
819
  property :offer_country_code, as: 'offerCountryCode'
773
820
  property :spend_x_amount, as: 'spendXAmount'
774
821
  property :offer_type, as: 'offerType'
775
- property :get_y_amount, as: 'getYAmount'
776
822
  end
777
823
  end
778
824
 
779
825
  class ListCompaniesResponse
780
826
  # @private
781
827
  class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :next_page_token, as: 'nextPageToken'
782
829
  property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
783
830
 
784
831
  collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
785
832
 
786
- property :next_page_token, as: 'nextPageToken'
787
833
  end
788
834
  end
789
835
 
790
836
  class OfferCustomer
791
837
  # @private
792
838
  class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :spend_x_amount, as: 'spendXAmount'
840
+ property :adwords_url, as: 'adwordsUrl'
793
841
  property :country_code, as: 'countryCode'
842
+ property :external_cid, as: 'externalCid'
794
843
  property :creation_time, as: 'creationTime'
795
844
  property :eligibility_days_left, as: 'eligibilityDaysLeft'
796
845
  property :offer_type, as: 'offerType'
797
- property :external_cid, as: 'externalCid'
798
846
  property :get_y_amount, as: 'getYAmount'
799
847
  property :name, as: 'name'
800
- property :spend_x_amount, as: 'spendXAmount'
801
- property :adwords_url, as: 'adwordsUrl'
802
848
  end
803
849
  end
804
850
 
805
851
  class CertificationStatus
806
852
  # @private
807
853
  class Representation < Google::Apis::Core::JsonRepresentation
808
- collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
809
-
810
854
  property :type, as: 'type'
811
855
  property :user_count, as: 'userCount'
812
856
  property :is_certified, as: 'isCertified'
857
+ collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
858
+
813
859
  end
814
860
  end
815
861
 
816
862
  class LocalizedCompanyInfo
817
863
  # @private
818
864
  class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :display_name, as: 'displayName'
819
866
  property :language_code, as: 'languageCode'
820
867
  collection :country_codes, as: 'countryCodes'
821
868
  property :overview, as: 'overview'
822
- property :display_name, as: 'displayName'
823
869
  end
824
870
  end
825
871
 
@@ -834,14 +880,14 @@ module Google
834
880
  class ListOffersHistoryResponse
835
881
  # @private
836
882
  class Representation < Google::Apis::Core::JsonRepresentation
837
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
838
-
839
883
  property :can_show_entire_company, as: 'canShowEntireCompany'
840
884
  property :total_results, as: 'totalResults'
841
885
  property :showing_entire_company, as: 'showingEntireCompany'
842
886
  collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation
843
887
 
844
888
  property :next_page_token, as: 'nextPageToken'
889
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
890
+
845
891
  end
846
892
  end
847
893
 
@@ -860,52 +906,6 @@ module Google
860
906
  property :badge_specialization_state, as: 'badgeSpecializationState'
861
907
  end
862
908
  end
863
-
864
- class Certification
865
- # @private
866
- class Representation < Google::Apis::Core::JsonRepresentation
867
- property :achieved, as: 'achieved'
868
- property :expiration, as: 'expiration'
869
- property :warning, as: 'warning'
870
- property :certification_type, as: 'certificationType'
871
- property :last_achieved, as: 'lastAchieved'
872
- end
873
- end
874
-
875
- class User
876
- # @private
877
- class Representation < Google::Apis::Core::JsonRepresentation
878
- property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
879
-
880
- property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
881
-
882
- property :last_access_time, as: 'lastAccessTime'
883
- collection :primary_emails, as: 'primaryEmails'
884
- collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
885
-
886
- collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
887
-
888
- property :id, as: 'id'
889
- property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
890
-
891
- collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
892
-
893
- property :company_verification_email, as: 'companyVerificationEmail'
894
- end
895
- end
896
-
897
- class ListAnalyticsResponse
898
- # @private
899
- class Representation < Google::Apis::Core::JsonRepresentation
900
- collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
901
-
902
- property :next_page_token, as: 'nextPageToken'
903
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
904
-
905
- property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
906
-
907
- end
908
- end
909
909
  end
910
910
  end
911
911
  end