google-api-client 0.9.6 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/api_names.yaml +15 -0
  4. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
  6. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
  8. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  15. data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
  16. data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
  17. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  18. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
  20. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  21. data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
  26. data/generated/google/apis/appstate_v1.rb +1 -1
  27. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  28. data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
  29. data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
  30. data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +97 -61
  33. data/generated/google/apis/bigquery_v2/representations.rb +23 -18
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +23 -2
  36. data/generated/google/apis/classroom_v1/classes.rb +920 -6
  37. data/generated/google/apis/classroom_v1/representations.rb +419 -0
  38. data/generated/google/apis/classroom_v1/service.rb +507 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
  41. data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
  42. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  43. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
  49. data/generated/google/apis/cloudtrace_v1.rb +11 -3
  50. data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
  51. data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
  52. data/generated/google/apis/compute_beta.rb +2 -2
  53. data/generated/google/apis/compute_beta/classes.rb +162 -32
  54. data/generated/google/apis/compute_beta/representations.rb +58 -0
  55. data/generated/google/apis/compute_beta/service.rb +392 -267
  56. data/generated/google/apis/compute_v1.rb +2 -2
  57. data/generated/google/apis/compute_v1/classes.rb +21 -9
  58. data/generated/google/apis/compute_v1/representations.rb +1 -0
  59. data/generated/google/apis/compute_v1/service.rb +291 -253
  60. data/generated/google/apis/container_v1.rb +1 -1
  61. data/generated/google/apis/container_v1/classes.rb +148 -0
  62. data/generated/google/apis/container_v1/representations.rb +55 -0
  63. data/generated/google/apis/container_v1/service.rb +161 -0
  64. data/generated/google/apis/content_v2.rb +1 -1
  65. data/generated/google/apis/content_v2/classes.rb +18 -6
  66. data/generated/google/apis/content_v2/representations.rb +1 -0
  67. data/generated/google/apis/customsearch_v1.rb +1 -1
  68. data/generated/google/apis/dataproc_v1.rb +2 -11
  69. data/generated/google/apis/dataproc_v1/classes.rb +0 -19
  70. data/generated/google/apis/dataproc_v1/representations.rb +0 -13
  71. data/generated/google/apis/dataproc_v1/service.rb +8 -87
  72. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  73. data/generated/google/apis/dfareporting_v2_3.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
  75. data/generated/google/apis/discovery_v1.rb +2 -2
  76. data/generated/google/apis/discovery_v1/service.rb +2 -2
  77. data/generated/google/apis/dns_v1.rb +2 -3
  78. data/generated/google/apis/dns_v1/service.rb +1 -2
  79. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +3 -2
  82. data/generated/google/apis/drive_v2/service.rb +2 -1
  83. data/generated/google/apis/drive_v3.rb +3 -2
  84. data/generated/google/apis/drive_v3/service.rb +2 -1
  85. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  86. data/generated/google/apis/games_management_v1management.rb +1 -1
  87. data/generated/google/apis/games_management_v1management/classes.rb +34 -0
  88. data/generated/google/apis/games_management_v1management/representations.rb +16 -0
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/games_v1/classes.rb +34 -0
  91. data/generated/google/apis/games_v1/representations.rb +16 -0
  92. data/generated/google/apis/games_v1/service.rb +212 -53
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1/classes.rb +18 -0
  95. data/generated/google/apis/genomics_v1/representations.rb +3 -0
  96. data/generated/google/apis/genomics_v1/service.rb +2 -2
  97. data/generated/google/apis/gmail_v1.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  99. data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
  100. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
  101. data/generated/google/apis/mybusiness_v3.rb +32 -0
  102. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  103. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  104. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +2 -2
  107. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  108. data/generated/google/apis/plus_v1.rb +2 -2
  109. data/generated/google/apis/plus_v1/service.rb +1 -1
  110. data/generated/google/apis/prediction_v1_6.rb +4 -1
  111. data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
  112. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
  113. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
  114. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
  115. data/generated/google/apis/replicapool_v1beta2.rb +3 -3
  116. data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
  117. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  118. data/generated/google/apis/script_v1.rb +6 -3
  119. data/generated/google/apis/script_v1/service.rb +2 -2
  120. data/generated/google/apis/sheets_v4.rb +43 -0
  121. data/generated/google/apis/sheets_v4/classes.rb +5425 -0
  122. data/generated/google/apis/sheets_v4/representations.rb +2070 -0
  123. data/generated/google/apis/sheets_v4/service.rb +402 -0
  124. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  125. data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
  126. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  127. data/generated/google/apis/storage_v1.rb +1 -1
  128. data/generated/google/apis/storage_v1/classes.rb +2 -1
  129. data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
  130. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
  131. data/generated/google/apis/vision_v1.rb +4 -5
  132. data/generated/google/apis/vision_v1/classes.rb +69 -68
  133. data/generated/google/apis/vision_v1/representations.rb +13 -13
  134. data/generated/google/apis/vision_v1/service.rb +3 -4
  135. data/generated/google/apis/youtube_analytics_v1.rb +2 -2
  136. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  137. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  138. data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
  139. data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
  140. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  141. data/generated/google/apis/youtube_v3.rb +1 -1
  142. data/generated/google/apis/youtube_v3/classes.rb +24 -0
  143. data/generated/google/apis/youtube_v3/representations.rb +4 -0
  144. data/generated/google/apis/youtubereporting_v1.rb +3 -3
  145. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
  146. data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
  147. data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +14 -2
@@ -0,0 +1,741 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MybusinessV3
24
+
25
+ class ListAccountsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Account
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AccountState
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ListAccountAdminsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Admin
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Empty
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ListLocationsResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Location
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Address
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Category
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BusinessHours
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class TimePeriod
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class SpecialHours
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class SpecialHourPeriod
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Date
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ServiceAreaBusiness
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class PointRadius
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class LatLng
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Places
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class PlaceInfo
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class LocationKey
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class AdWordsLocationExtensions
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Photos
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class OpenInfo
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class LocationState
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Attribute
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Metadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Duplicate
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class BatchGetLocationsRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class BatchGetLocationsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleUpdatedLocation
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListLocationAdminsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class FindMatchingLocationsRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class FindMatchingLocationsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class MatchedLocation
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class AssociateLocationRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ClearLocationAssociationRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TransferLocationRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListReviewsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Review
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Reviewer
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ReviewReply
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ListLocationAttributeMetadataResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class AttributeMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class AttributeValueMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ListAccountsResponse
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ collection :accounts, as: 'accounts', class: Google::Apis::MybusinessV3::Account, decorator: Google::Apis::MybusinessV3::Account::Representation
299
+
300
+ property :next_page_token, as: 'nextPageToken'
301
+ end
302
+ end
303
+
304
+ class Account
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :name, as: 'name'
308
+ property :account_name, as: 'accountName'
309
+ property :type, as: 'type'
310
+ property :role, as: 'role'
311
+ property :state, as: 'state', class: Google::Apis::MybusinessV3::AccountState, decorator: Google::Apis::MybusinessV3::AccountState::Representation
312
+
313
+ end
314
+ end
315
+
316
+ class AccountState
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :status, as: 'status'
320
+ end
321
+ end
322
+
323
+ class ListAccountAdminsResponse
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ collection :admins, as: 'admins', class: Google::Apis::MybusinessV3::Admin, decorator: Google::Apis::MybusinessV3::Admin::Representation
327
+
328
+ end
329
+ end
330
+
331
+ class Admin
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :name, as: 'name'
335
+ property :admin_name, as: 'adminName'
336
+ property :role, as: 'role'
337
+ property :pending_invitation, as: 'pendingInvitation'
338
+ end
339
+ end
340
+
341
+ class Empty
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ end
345
+ end
346
+
347
+ class ListLocationsResponse
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ collection :locations, as: 'locations', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation
351
+
352
+ property :next_page_token, as: 'nextPageToken'
353
+ end
354
+ end
355
+
356
+ class Location
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :name, as: 'name'
360
+ property :store_code, as: 'storeCode'
361
+ property :location_name, as: 'locationName'
362
+ property :primary_phone, as: 'primaryPhone'
363
+ collection :additional_phones, as: 'additionalPhones'
364
+ property :address, as: 'address', class: Google::Apis::MybusinessV3::Address, decorator: Google::Apis::MybusinessV3::Address::Representation
365
+
366
+ property :primary_category, as: 'primaryCategory', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation
367
+
368
+ collection :additional_categories, as: 'additionalCategories', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation
369
+
370
+ property :website_url, as: 'websiteUrl'
371
+ property :regular_hours, as: 'regularHours', class: Google::Apis::MybusinessV3::BusinessHours, decorator: Google::Apis::MybusinessV3::BusinessHours::Representation
372
+
373
+ property :special_hours, as: 'specialHours', class: Google::Apis::MybusinessV3::SpecialHours, decorator: Google::Apis::MybusinessV3::SpecialHours::Representation
374
+
375
+ property :service_area, as: 'serviceArea', class: Google::Apis::MybusinessV3::ServiceAreaBusiness, decorator: Google::Apis::MybusinessV3::ServiceAreaBusiness::Representation
376
+
377
+ property :location_key, as: 'locationKey', class: Google::Apis::MybusinessV3::LocationKey, decorator: Google::Apis::MybusinessV3::LocationKey::Representation
378
+
379
+ collection :labels, as: 'labels'
380
+ property :ad_words_location_extensions, as: 'adWordsLocationExtensions', class: Google::Apis::MybusinessV3::AdWordsLocationExtensions, decorator: Google::Apis::MybusinessV3::AdWordsLocationExtensions::Representation
381
+
382
+ property :photos, as: 'photos', class: Google::Apis::MybusinessV3::Photos, decorator: Google::Apis::MybusinessV3::Photos::Representation
383
+
384
+ property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation
385
+
386
+ property :open_info, as: 'openInfo', class: Google::Apis::MybusinessV3::OpenInfo, decorator: Google::Apis::MybusinessV3::OpenInfo::Representation
387
+
388
+ property :location_state, as: 'locationState', class: Google::Apis::MybusinessV3::LocationState, decorator: Google::Apis::MybusinessV3::LocationState::Representation
389
+
390
+ collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::Attribute, decorator: Google::Apis::MybusinessV3::Attribute::Representation
391
+
392
+ property :metadata, as: 'metadata', class: Google::Apis::MybusinessV3::Metadata, decorator: Google::Apis::MybusinessV3::Metadata::Representation
393
+
394
+ end
395
+ end
396
+
397
+ class Address
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ collection :address_lines, as: 'addressLines'
401
+ property :sub_locality, as: 'subLocality'
402
+ property :locality, as: 'locality'
403
+ property :administrative_area, as: 'administrativeArea'
404
+ property :country, as: 'country'
405
+ property :postal_code, as: 'postalCode'
406
+ end
407
+ end
408
+
409
+ class Category
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :name, as: 'name'
413
+ property :category_id, as: 'categoryId'
414
+ end
415
+ end
416
+
417
+ class BusinessHours
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ collection :periods, as: 'periods', class: Google::Apis::MybusinessV3::TimePeriod, decorator: Google::Apis::MybusinessV3::TimePeriod::Representation
421
+
422
+ end
423
+ end
424
+
425
+ class TimePeriod
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :open_day, as: 'openDay'
429
+ property :open_time, as: 'openTime'
430
+ property :close_day, as: 'closeDay'
431
+ property :close_time, as: 'closeTime'
432
+ end
433
+ end
434
+
435
+ class SpecialHours
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ collection :special_hour_periods, as: 'specialHourPeriods', class: Google::Apis::MybusinessV3::SpecialHourPeriod, decorator: Google::Apis::MybusinessV3::SpecialHourPeriod::Representation
439
+
440
+ end
441
+ end
442
+
443
+ class SpecialHourPeriod
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :start_date, as: 'startDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation
447
+
448
+ property :open_time, as: 'openTime'
449
+ property :end_date, as: 'endDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation
450
+
451
+ property :close_time, as: 'closeTime'
452
+ property :is_closed, as: 'isClosed'
453
+ end
454
+ end
455
+
456
+ class Date
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :year, as: 'year'
460
+ property :month, as: 'month'
461
+ property :day, as: 'day'
462
+ end
463
+ end
464
+
465
+ class ServiceAreaBusiness
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :business_type, as: 'businessType'
469
+ property :radius, as: 'radius', class: Google::Apis::MybusinessV3::PointRadius, decorator: Google::Apis::MybusinessV3::PointRadius::Representation
470
+
471
+ property :places, as: 'places', class: Google::Apis::MybusinessV3::Places, decorator: Google::Apis::MybusinessV3::Places::Representation
472
+
473
+ end
474
+ end
475
+
476
+ class PointRadius
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation
480
+
481
+ property :radius_km, as: 'radiusKm'
482
+ end
483
+ end
484
+
485
+ class LatLng
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :latitude, as: 'latitude'
489
+ property :longitude, as: 'longitude'
490
+ end
491
+ end
492
+
493
+ class Places
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ collection :place_infos, as: 'placeInfos', class: Google::Apis::MybusinessV3::PlaceInfo, decorator: Google::Apis::MybusinessV3::PlaceInfo::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class PlaceInfo
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :name, as: 'name'
505
+ property :place_id, as: 'placeId'
506
+ end
507
+ end
508
+
509
+ class LocationKey
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :plus_page_id, as: 'plusPageId'
513
+ property :place_id, as: 'placeId'
514
+ property :explicit_no_place_id, as: 'explicitNoPlaceId'
515
+ end
516
+ end
517
+
518
+ class AdWordsLocationExtensions
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :ad_phone, as: 'adPhone'
522
+ end
523
+ end
524
+
525
+ class Photos
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :profile_photo_url, as: 'profilePhotoUrl'
529
+ property :cover_photo_url, as: 'coverPhotoUrl'
530
+ property :logo_photo_url, as: 'logoPhotoUrl'
531
+ collection :exterior_photo_urls, as: 'exteriorPhotoUrls'
532
+ collection :interior_photo_urls, as: 'interiorPhotoUrls'
533
+ collection :product_photo_urls, as: 'productPhotoUrls'
534
+ collection :photos_at_work_urls, as: 'photosAtWorkUrls'
535
+ collection :food_and_drink_photo_urls, as: 'foodAndDrinkPhotoUrls'
536
+ collection :menu_photo_urls, as: 'menuPhotoUrls'
537
+ collection :common_areas_photo_urls, as: 'commonAreasPhotoUrls'
538
+ collection :rooms_photo_urls, as: 'roomsPhotoUrls'
539
+ collection :team_photo_urls, as: 'teamPhotoUrls'
540
+ collection :additional_photo_urls, as: 'additionalPhotoUrls'
541
+ property :preferred_photo, as: 'preferredPhoto'
542
+ end
543
+ end
544
+
545
+ class OpenInfo
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :status, as: 'status'
549
+ end
550
+ end
551
+
552
+ class LocationState
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :is_google_updated, as: 'isGoogleUpdated'
556
+ property :is_duplicate, as: 'isDuplicate'
557
+ property :is_suspended, as: 'isSuspended'
558
+ property :can_update, as: 'canUpdate'
559
+ property :can_delete, as: 'canDelete'
560
+ property :is_verified, as: 'isVerified'
561
+ property :needs_reverification, as: 'needsReverification'
562
+ end
563
+ end
564
+
565
+ class Attribute
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :attribute_id, as: 'attributeId'
569
+ property :value_type, as: 'valueType'
570
+ collection :values, as: 'values'
571
+ end
572
+ end
573
+
574
+ class Metadata
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :duplicate, as: 'duplicate', class: Google::Apis::MybusinessV3::Duplicate, decorator: Google::Apis::MybusinessV3::Duplicate::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class Duplicate
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :location_name, as: 'locationName'
586
+ property :ownership, as: 'ownership'
587
+ end
588
+ end
589
+
590
+ class BatchGetLocationsRequest
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ collection :location_names, as: 'locationNames'
594
+ end
595
+ end
596
+
597
+ class BatchGetLocationsResponse
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ collection :locations, as: 'locations', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation
601
+
602
+ end
603
+ end
604
+
605
+ class GoogleUpdatedLocation
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :location, as: 'location', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation
609
+
610
+ property :diff_mask, as: 'diffMask'
611
+ end
612
+ end
613
+
614
+ class ListLocationAdminsResponse
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ collection :admins, as: 'admins', class: Google::Apis::MybusinessV3::Admin, decorator: Google::Apis::MybusinessV3::Admin::Representation
618
+
619
+ end
620
+ end
621
+
622
+ class FindMatchingLocationsRequest
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ property :language_code, as: 'languageCode'
626
+ property :num_results, as: 'numResults'
627
+ property :max_cache_duration, as: 'maxCacheDuration'
628
+ end
629
+ end
630
+
631
+ class FindMatchingLocationsResponse
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ collection :matched_locations, as: 'matchedLocations', class: Google::Apis::MybusinessV3::MatchedLocation, decorator: Google::Apis::MybusinessV3::MatchedLocation::Representation
635
+
636
+ property :match_time, as: 'matchTime'
637
+ end
638
+ end
639
+
640
+ class MatchedLocation
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :location, as: 'location', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation
644
+
645
+ property :is_exact_match, as: 'isExactMatch'
646
+ end
647
+ end
648
+
649
+ class AssociateLocationRequest
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :place_id, as: 'placeId'
653
+ end
654
+ end
655
+
656
+ class ClearLocationAssociationRequest
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ end
660
+ end
661
+
662
+ class TransferLocationRequest
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :to_account, as: 'toAccount'
666
+ end
667
+ end
668
+
669
+ class ListReviewsResponse
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ collection :reviews, as: 'reviews', class: Google::Apis::MybusinessV3::Review, decorator: Google::Apis::MybusinessV3::Review::Representation
673
+
674
+ property :average_rating, as: 'averageRating'
675
+ property :total_review_count, as: 'totalReviewCount'
676
+ property :next_page_token, as: 'nextPageToken'
677
+ end
678
+ end
679
+
680
+ class Review
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :review_id, as: 'reviewId'
684
+ property :reviewer, as: 'reviewer', class: Google::Apis::MybusinessV3::Reviewer, decorator: Google::Apis::MybusinessV3::Reviewer::Representation
685
+
686
+ property :star_rating, as: 'starRating'
687
+ property :comment, as: 'comment'
688
+ property :create_time, as: 'createTime'
689
+ property :update_time, as: 'updateTime'
690
+ property :review_reply, as: 'reviewReply', class: Google::Apis::MybusinessV3::ReviewReply, decorator: Google::Apis::MybusinessV3::ReviewReply::Representation
691
+
692
+ end
693
+ end
694
+
695
+ class Reviewer
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :display_name, as: 'displayName'
699
+ property :is_anonymous, as: 'isAnonymous'
700
+ end
701
+ end
702
+
703
+ class ReviewReply
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :comment, as: 'comment'
707
+ property :update_time, as: 'updateTime'
708
+ end
709
+ end
710
+
711
+ class ListLocationAttributeMetadataResponse
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::AttributeMetadata, decorator: Google::Apis::MybusinessV3::AttributeMetadata::Representation
715
+
716
+ end
717
+ end
718
+
719
+ class AttributeMetadata
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :attribute_id, as: 'attributeId'
723
+ property :value_type, as: 'valueType'
724
+ property :display_name, as: 'displayName'
725
+ property :group_display_name, as: 'groupDisplayName'
726
+ property :is_repeatable, as: 'isRepeatable'
727
+ collection :value_metadata, as: 'valueMetadata', class: Google::Apis::MybusinessV3::AttributeValueMetadata, decorator: Google::Apis::MybusinessV3::AttributeValueMetadata::Representation
728
+
729
+ end
730
+ end
731
+
732
+ class AttributeValueMetadata
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :value, as: 'value'
736
+ property :display_name, as: 'displayName'
737
+ end
738
+ end
739
+ end
740
+ end
741
+ end