google-api-client 0.10.0 → 0.10.1

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