google-apis-mybusinessbusinessinformation_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1/classes.rb +1901 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1/gem_version.rb +28 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1/representations.rb +830 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1/service.rb +723 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1.rb +34 -0
- data/lib/google-apis-mybusinessbusinessinformation_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module MybusinessbusinessinformationV1
|
18
|
+
# Version of the google-apis-mybusinessbusinessinformation_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20210822"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,830 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module MybusinessbusinessinformationV1
|
24
|
+
|
25
|
+
class AdWordsLocationExtensions
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AssociateLocationRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Attribute
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AttributeMetadata
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AttributeValueMetadata
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Attributes
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class BatchGetCategoriesResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class BusinessHours
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Categories
|
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 Chain
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ChainName
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ChainUri
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ClearLocationAssociationRequest
|
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 Empty
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class FreeFormServiceItem
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleLocation
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleUpdatedLocation
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Label
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class LatLng
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListAttributeMetadataResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListCategoriesResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class ListLocationsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Location
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class Metadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Money
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class MoreHours
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class MoreHoursType
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class OpenInfo
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class PhoneNumbers
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class PlaceInfo
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Places
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class PostalAddress
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class Profile
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class RelationshipData
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class RelevantLocation
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class RepeatedEnumAttributeValue
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class SearchChainsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class SearchGoogleLocationsRequest
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class SearchGoogleLocationsResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class ServiceAreaBusiness
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class ServiceItem
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class ServiceType
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class SpecialHourPeriod
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class SpecialHours
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class StructuredServiceItem
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class TimeOfDay
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class TimePeriod
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class UriAttributeValue
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class AdWordsLocationExtensions
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :ad_phone, as: 'adPhone'
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class AssociateLocationRequest
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
property :place_id, as: 'placeId'
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class Attribute
|
340
|
+
# @private
|
341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
+
property :name, as: 'name'
|
343
|
+
property :repeated_enum_value, as: 'repeatedEnumValue', class: Google::Apis::MybusinessbusinessinformationV1::RepeatedEnumAttributeValue, decorator: Google::Apis::MybusinessbusinessinformationV1::RepeatedEnumAttributeValue::Representation
|
344
|
+
|
345
|
+
collection :uri_values, as: 'uriValues', class: Google::Apis::MybusinessbusinessinformationV1::UriAttributeValue, decorator: Google::Apis::MybusinessbusinessinformationV1::UriAttributeValue::Representation
|
346
|
+
|
347
|
+
property :value_type, as: 'valueType'
|
348
|
+
collection :values, as: 'values'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class AttributeMetadata
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
property :deprecated, as: 'deprecated'
|
356
|
+
property :display_name, as: 'displayName'
|
357
|
+
property :group_display_name, as: 'groupDisplayName'
|
358
|
+
property :parent, as: 'parent'
|
359
|
+
property :repeatable, as: 'repeatable'
|
360
|
+
collection :value_metadata, as: 'valueMetadata', class: Google::Apis::MybusinessbusinessinformationV1::AttributeValueMetadata, decorator: Google::Apis::MybusinessbusinessinformationV1::AttributeValueMetadata::Representation
|
361
|
+
|
362
|
+
property :value_type, as: 'valueType'
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class AttributeValueMetadata
|
367
|
+
# @private
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
+
property :display_name, as: 'displayName'
|
370
|
+
property :value, as: 'value'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
class Attributes
|
375
|
+
# @private
|
376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
377
|
+
collection :attributes, as: 'attributes', class: Google::Apis::MybusinessbusinessinformationV1::Attribute, decorator: Google::Apis::MybusinessbusinessinformationV1::Attribute::Representation
|
378
|
+
|
379
|
+
property :name, as: 'name'
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
class BatchGetCategoriesResponse
|
384
|
+
# @private
|
385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
386
|
+
collection :categories, as: 'categories', class: Google::Apis::MybusinessbusinessinformationV1::Category, decorator: Google::Apis::MybusinessbusinessinformationV1::Category::Representation
|
387
|
+
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
class BusinessHours
|
392
|
+
# @private
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
+
collection :periods, as: 'periods', class: Google::Apis::MybusinessbusinessinformationV1::TimePeriod, decorator: Google::Apis::MybusinessbusinessinformationV1::TimePeriod::Representation
|
395
|
+
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
class Categories
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
collection :additional_categories, as: 'additionalCategories', class: Google::Apis::MybusinessbusinessinformationV1::Category, decorator: Google::Apis::MybusinessbusinessinformationV1::Category::Representation
|
403
|
+
|
404
|
+
property :primary_category, as: 'primaryCategory', class: Google::Apis::MybusinessbusinessinformationV1::Category, decorator: Google::Apis::MybusinessbusinessinformationV1::Category::Representation
|
405
|
+
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
class Category
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :display_name, as: 'displayName'
|
413
|
+
collection :more_hours_types, as: 'moreHoursTypes', class: Google::Apis::MybusinessbusinessinformationV1::MoreHoursType, decorator: Google::Apis::MybusinessbusinessinformationV1::MoreHoursType::Representation
|
414
|
+
|
415
|
+
property :name, as: 'name'
|
416
|
+
collection :service_types, as: 'serviceTypes', class: Google::Apis::MybusinessbusinessinformationV1::ServiceType, decorator: Google::Apis::MybusinessbusinessinformationV1::ServiceType::Representation
|
417
|
+
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class Chain
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
collection :chain_names, as: 'chainNames', class: Google::Apis::MybusinessbusinessinformationV1::ChainName, decorator: Google::Apis::MybusinessbusinessinformationV1::ChainName::Representation
|
425
|
+
|
426
|
+
property :location_count, as: 'locationCount'
|
427
|
+
property :name, as: 'name'
|
428
|
+
collection :websites, as: 'websites', class: Google::Apis::MybusinessbusinessinformationV1::ChainUri, decorator: Google::Apis::MybusinessbusinessinformationV1::ChainUri::Representation
|
429
|
+
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class ChainName
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :display_name, as: 'displayName'
|
437
|
+
property :language_code, as: 'languageCode'
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class ChainUri
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :uri, as: 'uri'
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class ClearLocationAssociationRequest
|
449
|
+
# @private
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
class Date
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :day, as: 'day'
|
458
|
+
property :month, as: 'month'
|
459
|
+
property :year, as: 'year'
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class Empty
|
464
|
+
# @private
|
465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
class FreeFormServiceItem
|
470
|
+
# @private
|
471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
+
property :category, as: 'category'
|
473
|
+
property :label, as: 'label', class: Google::Apis::MybusinessbusinessinformationV1::Label, decorator: Google::Apis::MybusinessbusinessinformationV1::Label::Representation
|
474
|
+
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
class GoogleLocation
|
479
|
+
# @private
|
480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
481
|
+
property :location, as: 'location', class: Google::Apis::MybusinessbusinessinformationV1::Location, decorator: Google::Apis::MybusinessbusinessinformationV1::Location::Representation
|
482
|
+
|
483
|
+
property :name, as: 'name'
|
484
|
+
property :request_admin_rights_uri, as: 'requestAdminRightsUri'
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
class GoogleUpdatedLocation
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :diff_mask, as: 'diffMask'
|
492
|
+
property :location, as: 'location', class: Google::Apis::MybusinessbusinessinformationV1::Location, decorator: Google::Apis::MybusinessbusinessinformationV1::Location::Representation
|
493
|
+
|
494
|
+
property :pending_mask, as: 'pendingMask'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Label
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :description, as: 'description'
|
502
|
+
property :display_name, as: 'displayName'
|
503
|
+
property :language_code, as: 'languageCode'
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
class LatLng
|
508
|
+
# @private
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
510
|
+
property :latitude, as: 'latitude'
|
511
|
+
property :longitude, as: 'longitude'
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
class ListAttributeMetadataResponse
|
516
|
+
# @private
|
517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
518
|
+
collection :attribute_metadata, as: 'attributeMetadata', class: Google::Apis::MybusinessbusinessinformationV1::AttributeMetadata, decorator: Google::Apis::MybusinessbusinessinformationV1::AttributeMetadata::Representation
|
519
|
+
|
520
|
+
property :next_page_token, as: 'nextPageToken'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
class ListCategoriesResponse
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
collection :categories, as: 'categories', class: Google::Apis::MybusinessbusinessinformationV1::Category, decorator: Google::Apis::MybusinessbusinessinformationV1::Category::Representation
|
528
|
+
|
529
|
+
property :next_page_token, as: 'nextPageToken'
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class ListLocationsResponse
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
collection :locations, as: 'locations', class: Google::Apis::MybusinessbusinessinformationV1::Location, decorator: Google::Apis::MybusinessbusinessinformationV1::Location::Representation
|
537
|
+
|
538
|
+
property :next_page_token, as: 'nextPageToken'
|
539
|
+
property :total_size, as: 'totalSize'
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
class Location
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
property :ad_words_location_extensions, as: 'adWordsLocationExtensions', class: Google::Apis::MybusinessbusinessinformationV1::AdWordsLocationExtensions, decorator: Google::Apis::MybusinessbusinessinformationV1::AdWordsLocationExtensions::Representation
|
547
|
+
|
548
|
+
property :categories, as: 'categories', class: Google::Apis::MybusinessbusinessinformationV1::Categories, decorator: Google::Apis::MybusinessbusinessinformationV1::Categories::Representation
|
549
|
+
|
550
|
+
collection :labels, as: 'labels'
|
551
|
+
property :language_code, as: 'languageCode'
|
552
|
+
property :latlng, as: 'latlng', class: Google::Apis::MybusinessbusinessinformationV1::LatLng, decorator: Google::Apis::MybusinessbusinessinformationV1::LatLng::Representation
|
553
|
+
|
554
|
+
property :metadata, as: 'metadata', class: Google::Apis::MybusinessbusinessinformationV1::Metadata, decorator: Google::Apis::MybusinessbusinessinformationV1::Metadata::Representation
|
555
|
+
|
556
|
+
collection :more_hours, as: 'moreHours', class: Google::Apis::MybusinessbusinessinformationV1::MoreHours, decorator: Google::Apis::MybusinessbusinessinformationV1::MoreHours::Representation
|
557
|
+
|
558
|
+
property :name, as: 'name'
|
559
|
+
property :open_info, as: 'openInfo', class: Google::Apis::MybusinessbusinessinformationV1::OpenInfo, decorator: Google::Apis::MybusinessbusinessinformationV1::OpenInfo::Representation
|
560
|
+
|
561
|
+
property :phone_numbers, as: 'phoneNumbers', class: Google::Apis::MybusinessbusinessinformationV1::PhoneNumbers, decorator: Google::Apis::MybusinessbusinessinformationV1::PhoneNumbers::Representation
|
562
|
+
|
563
|
+
property :profile, as: 'profile', class: Google::Apis::MybusinessbusinessinformationV1::Profile, decorator: Google::Apis::MybusinessbusinessinformationV1::Profile::Representation
|
564
|
+
|
565
|
+
property :regular_hours, as: 'regularHours', class: Google::Apis::MybusinessbusinessinformationV1::BusinessHours, decorator: Google::Apis::MybusinessbusinessinformationV1::BusinessHours::Representation
|
566
|
+
|
567
|
+
property :relationship_data, as: 'relationshipData', class: Google::Apis::MybusinessbusinessinformationV1::RelationshipData, decorator: Google::Apis::MybusinessbusinessinformationV1::RelationshipData::Representation
|
568
|
+
|
569
|
+
property :service_area, as: 'serviceArea', class: Google::Apis::MybusinessbusinessinformationV1::ServiceAreaBusiness, decorator: Google::Apis::MybusinessbusinessinformationV1::ServiceAreaBusiness::Representation
|
570
|
+
|
571
|
+
collection :service_items, as: 'serviceItems', class: Google::Apis::MybusinessbusinessinformationV1::ServiceItem, decorator: Google::Apis::MybusinessbusinessinformationV1::ServiceItem::Representation
|
572
|
+
|
573
|
+
property :special_hours, as: 'specialHours', class: Google::Apis::MybusinessbusinessinformationV1::SpecialHours, decorator: Google::Apis::MybusinessbusinessinformationV1::SpecialHours::Representation
|
574
|
+
|
575
|
+
property :store_code, as: 'storeCode'
|
576
|
+
property :storefront_address, as: 'storefrontAddress', class: Google::Apis::MybusinessbusinessinformationV1::PostalAddress, decorator: Google::Apis::MybusinessbusinessinformationV1::PostalAddress::Representation
|
577
|
+
|
578
|
+
property :title, as: 'title'
|
579
|
+
property :website_uri, as: 'websiteUri'
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
class Metadata
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :can_delete, as: 'canDelete'
|
587
|
+
property :can_have_food_menus, as: 'canHaveFoodMenus'
|
588
|
+
property :can_modify_service_list, as: 'canModifyServiceList'
|
589
|
+
property :can_operate_health_data, as: 'canOperateHealthData'
|
590
|
+
property :can_operate_local_post, as: 'canOperateLocalPost'
|
591
|
+
property :can_operate_lodging_data, as: 'canOperateLodgingData'
|
592
|
+
property :duplicate_location, as: 'duplicateLocation'
|
593
|
+
property :has_google_updated, as: 'hasGoogleUpdated'
|
594
|
+
property :has_pending_edits, as: 'hasPendingEdits'
|
595
|
+
property :maps_uri, as: 'mapsUri'
|
596
|
+
property :new_review_uri, as: 'newReviewUri'
|
597
|
+
property :place_id, as: 'placeId'
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
class Money
|
602
|
+
# @private
|
603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
604
|
+
property :currency_code, as: 'currencyCode'
|
605
|
+
property :nanos, as: 'nanos'
|
606
|
+
property :units, :numeric_string => true, as: 'units'
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
class MoreHours
|
611
|
+
# @private
|
612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
613
|
+
property :hours_type_id, as: 'hoursTypeId'
|
614
|
+
collection :periods, as: 'periods', class: Google::Apis::MybusinessbusinessinformationV1::TimePeriod, decorator: Google::Apis::MybusinessbusinessinformationV1::TimePeriod::Representation
|
615
|
+
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class MoreHoursType
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :display_name, as: 'displayName'
|
623
|
+
property :hours_type_id, as: 'hoursTypeId'
|
624
|
+
property :localized_display_name, as: 'localizedDisplayName'
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
class OpenInfo
|
629
|
+
# @private
|
630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
631
|
+
property :can_reopen, as: 'canReopen'
|
632
|
+
property :opening_date, as: 'openingDate', class: Google::Apis::MybusinessbusinessinformationV1::Date, decorator: Google::Apis::MybusinessbusinessinformationV1::Date::Representation
|
633
|
+
|
634
|
+
property :status, as: 'status'
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
class PhoneNumbers
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
collection :additional_phones, as: 'additionalPhones'
|
642
|
+
property :primary_phone, as: 'primaryPhone'
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class PlaceInfo
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :place_id, as: 'placeId'
|
650
|
+
property :place_name, as: 'placeName'
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
class Places
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
collection :place_infos, as: 'placeInfos', class: Google::Apis::MybusinessbusinessinformationV1::PlaceInfo, decorator: Google::Apis::MybusinessbusinessinformationV1::PlaceInfo::Representation
|
658
|
+
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
class PostalAddress
|
663
|
+
# @private
|
664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
665
|
+
collection :address_lines, as: 'addressLines'
|
666
|
+
property :administrative_area, as: 'administrativeArea'
|
667
|
+
property :language_code, as: 'languageCode'
|
668
|
+
property :locality, as: 'locality'
|
669
|
+
property :organization, as: 'organization'
|
670
|
+
property :postal_code, as: 'postalCode'
|
671
|
+
collection :recipients, as: 'recipients'
|
672
|
+
property :region_code, as: 'regionCode'
|
673
|
+
property :revision, as: 'revision'
|
674
|
+
property :sorting_code, as: 'sortingCode'
|
675
|
+
property :sublocality, as: 'sublocality'
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
class Profile
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :description, as: 'description'
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
class RelationshipData
|
687
|
+
# @private
|
688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
689
|
+
collection :children_locations, as: 'childrenLocations', class: Google::Apis::MybusinessbusinessinformationV1::RelevantLocation, decorator: Google::Apis::MybusinessbusinessinformationV1::RelevantLocation::Representation
|
690
|
+
|
691
|
+
property :parent_chain, as: 'parentChain'
|
692
|
+
property :parent_location, as: 'parentLocation', class: Google::Apis::MybusinessbusinessinformationV1::RelevantLocation, decorator: Google::Apis::MybusinessbusinessinformationV1::RelevantLocation::Representation
|
693
|
+
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class RelevantLocation
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :place_id, as: 'placeId'
|
701
|
+
property :relation_type, as: 'relationType'
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
class RepeatedEnumAttributeValue
|
706
|
+
# @private
|
707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
708
|
+
collection :set_values, as: 'setValues'
|
709
|
+
collection :unset_values, as: 'unsetValues'
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
class SearchChainsResponse
|
714
|
+
# @private
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
716
|
+
collection :chains, as: 'chains', class: Google::Apis::MybusinessbusinessinformationV1::Chain, decorator: Google::Apis::MybusinessbusinessinformationV1::Chain::Representation
|
717
|
+
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
721
|
+
class SearchGoogleLocationsRequest
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
property :location, as: 'location', class: Google::Apis::MybusinessbusinessinformationV1::Location, decorator: Google::Apis::MybusinessbusinessinformationV1::Location::Representation
|
725
|
+
|
726
|
+
property :page_size, as: 'pageSize'
|
727
|
+
property :query, as: 'query'
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
class SearchGoogleLocationsResponse
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
collection :google_locations, as: 'googleLocations', class: Google::Apis::MybusinessbusinessinformationV1::GoogleLocation, decorator: Google::Apis::MybusinessbusinessinformationV1::GoogleLocation::Representation
|
735
|
+
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
class ServiceAreaBusiness
|
740
|
+
# @private
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
property :business_type, as: 'businessType'
|
743
|
+
property :places, as: 'places', class: Google::Apis::MybusinessbusinessinformationV1::Places, decorator: Google::Apis::MybusinessbusinessinformationV1::Places::Representation
|
744
|
+
|
745
|
+
property :region_code, as: 'regionCode'
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
class ServiceItem
|
750
|
+
# @private
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
property :free_form_service_item, as: 'freeFormServiceItem', class: Google::Apis::MybusinessbusinessinformationV1::FreeFormServiceItem, decorator: Google::Apis::MybusinessbusinessinformationV1::FreeFormServiceItem::Representation
|
753
|
+
|
754
|
+
property :price, as: 'price', class: Google::Apis::MybusinessbusinessinformationV1::Money, decorator: Google::Apis::MybusinessbusinessinformationV1::Money::Representation
|
755
|
+
|
756
|
+
property :structured_service_item, as: 'structuredServiceItem', class: Google::Apis::MybusinessbusinessinformationV1::StructuredServiceItem, decorator: Google::Apis::MybusinessbusinessinformationV1::StructuredServiceItem::Representation
|
757
|
+
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
761
|
+
class ServiceType
|
762
|
+
# @private
|
763
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
764
|
+
property :display_name, as: 'displayName'
|
765
|
+
property :service_type_id, as: 'serviceTypeId'
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
class SpecialHourPeriod
|
770
|
+
# @private
|
771
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
772
|
+
property :close_time, as: 'closeTime', class: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay, decorator: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay::Representation
|
773
|
+
|
774
|
+
property :closed, as: 'closed'
|
775
|
+
property :end_date, as: 'endDate', class: Google::Apis::MybusinessbusinessinformationV1::Date, decorator: Google::Apis::MybusinessbusinessinformationV1::Date::Representation
|
776
|
+
|
777
|
+
property :open_time, as: 'openTime', class: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay, decorator: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay::Representation
|
778
|
+
|
779
|
+
property :start_date, as: 'startDate', class: Google::Apis::MybusinessbusinessinformationV1::Date, decorator: Google::Apis::MybusinessbusinessinformationV1::Date::Representation
|
780
|
+
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
784
|
+
class SpecialHours
|
785
|
+
# @private
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
787
|
+
collection :special_hour_periods, as: 'specialHourPeriods', class: Google::Apis::MybusinessbusinessinformationV1::SpecialHourPeriod, decorator: Google::Apis::MybusinessbusinessinformationV1::SpecialHourPeriod::Representation
|
788
|
+
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
792
|
+
class StructuredServiceItem
|
793
|
+
# @private
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
795
|
+
property :description, as: 'description'
|
796
|
+
property :service_type_id, as: 'serviceTypeId'
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
class TimeOfDay
|
801
|
+
# @private
|
802
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
803
|
+
property :hours, as: 'hours'
|
804
|
+
property :minutes, as: 'minutes'
|
805
|
+
property :nanos, as: 'nanos'
|
806
|
+
property :seconds, as: 'seconds'
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
class TimePeriod
|
811
|
+
# @private
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
813
|
+
property :close_day, as: 'closeDay'
|
814
|
+
property :close_time, as: 'closeTime', class: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay, decorator: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay::Representation
|
815
|
+
|
816
|
+
property :open_day, as: 'openDay'
|
817
|
+
property :open_time, as: 'openTime', class: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay, decorator: Google::Apis::MybusinessbusinessinformationV1::TimeOfDay::Representation
|
818
|
+
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
class UriAttributeValue
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
property :uri, as: 'uri'
|
826
|
+
end
|
827
|
+
end
|
828
|
+
end
|
829
|
+
end
|
830
|
+
end
|