Skip to content

Commit 581a37c

Browse files
feat: Automated regeneration of mybusinessverifications v1 client (googleapis#26597)
Auto-created at 2026-05-31 10:43:44 +0000 using the toys pull request generator.
1 parent 5ec0e47 commit 581a37c

4 files changed

Lines changed: 6 additions & 71 deletions

File tree

generated/google-apis-mybusinessverifications_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-mybusinessverifications_v1
22

3+
### v0.24.0 (2026-05-31)
4+
5+
* Regenerated from discovery document revision 20260527
6+
37
### v0.23.0 (2025-08-10)
48

59
* Regenerated from discovery document revision 20250804

generated/google-apis-mybusinessverifications_v1/lib/google/apis/mybusinessverifications_v1/classes.rb

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ def update!(**args)
202202
class GenerateInstantVerificationTokenRequest
203203
include Google::Apis::Core::Hashable
204204

205-
# The address and other details of the location to generate an instant
206-
# verification token for.
207-
# Corresponds to the JSON property `locationData`
208-
# @return [Google::Apis::MybusinessverificationsV1::LocationData]
209-
attr_accessor :location_data
210-
211205
# The location identifier associated with an unverified listing. This is the
212206
# location id generated at the time that the listing was originally created. It
213207
# is the final portion of a location resource name as generated by the Google My
@@ -225,7 +219,6 @@ def initialize(**args)
225219

226220
# Update properties of this object
227221
def update!(**args)
228-
@location_data = args[:location_data] if args.key?(:location_data)
229222
@location_id = args[:location_id] if args.key?(:location_id)
230223
end
231224
end
@@ -283,51 +276,6 @@ def update!(**args)
283276
end
284277
end
285278

286-
# The address and other details of the location to generate an instant
287-
# verification token for.
288-
class LocationData
289-
include Google::Apis::Core::Hashable
290-
291-
# Represents a postal address, such as for postal delivery or payments addresses.
292-
# With a postal address, a postal service can deliver items to a premise, P.O.
293-
# box, or similar. A postal address is not intended to model geographical
294-
# locations like roads, towns, or mountains. In typical usage, an address would
295-
# be created by user input or from importing existing data, depending on the
296-
# type of process. Advice on address input or editing: - Use an
297-
# internationalization-ready address widget such as https://github.com/google/
298-
# libaddressinput. - Users should not be presented with UI elements for input or
299-
# editing of fields outside countries where that field is used. For more
300-
# guidance on how to use this schema, see: https://support.google.com/business/
301-
# answer/6397478.
302-
# Corresponds to the JSON property `address`
303-
# @return [Google::Apis::MybusinessverificationsV1::PostalAddress]
304-
attr_accessor :address
305-
306-
# Immutable. Name should reflect your business's real-world name, as used
307-
# consistently on your storefront, website, and stationery, and as known to
308-
# customers. Any additional information, when relevant, can be included in other
309-
# fields of the resource (for example, `Address`, `Categories`). Don't add
310-
# unnecessary information to your name (for example, prefer "Google" over "
311-
# Google Inc. - Mountain View Corporate Headquarters"). Don't include marketing
312-
# taglines, store codes, special characters, hours or closed/open status, phone
313-
# numbers, website URLs, service/product information, location/address or
314-
# directions, or containment information (for example, "Chase ATM in Duane Reade"
315-
# ).
316-
# Corresponds to the JSON property `name`
317-
# @return [String]
318-
attr_accessor :name
319-
320-
def initialize(**args)
321-
update!(**args)
322-
end
323-
324-
# Update properties of this object
325-
def update!(**args)
326-
@address = args[:address] if args.key?(:address)
327-
@name = args[:name] if args.key?(:name)
328-
end
329-
end
330-
331279
# Represents a postal address, such as for postal delivery or payments addresses.
332280
# With a postal address, a postal service can deliver items to a premise, P.O.
333281
# box, or similar. A postal address is not intended to model geographical

generated/google-apis-mybusinessverifications_v1/lib/google/apis/mybusinessverifications_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MybusinessverificationsV1
1818
# Version of the google-apis-mybusinessverifications_v1 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250804"
25+
REVISION = "20260527"
2626
end
2727
end
2828
end

generated/google-apis-mybusinessverifications_v1/lib/google/apis/mybusinessverifications_v1/representations.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8282
include Google::Apis::Core::JsonObjectSupport
8383
end
8484

85-
class LocationData
86-
class Representation < Google::Apis::Core::JsonRepresentation; end
87-
88-
include Google::Apis::Core::JsonObjectSupport
89-
end
90-
9185
class PostalAddress
9286
class Representation < Google::Apis::Core::JsonRepresentation; end
9387

@@ -215,8 +209,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
215209
class GenerateInstantVerificationTokenRequest
216210
# @private
217211
class Representation < Google::Apis::Core::JsonRepresentation
218-
property :location_data, as: 'locationData', class: Google::Apis::MybusinessverificationsV1::LocationData, decorator: Google::Apis::MybusinessverificationsV1::LocationData::Representation
219-
220212
property :location_id, as: 'locationId'
221213
end
222214
end
@@ -238,15 +230,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
238230
end
239231
end
240232

241-
class LocationData
242-
# @private
243-
class Representation < Google::Apis::Core::JsonRepresentation
244-
property :address, as: 'address', class: Google::Apis::MybusinessverificationsV1::PostalAddress, decorator: Google::Apis::MybusinessverificationsV1::PostalAddress::Representation
245-
246-
property :name, as: 'name'
247-
end
248-
end
249-
250233
class PostalAddress
251234
# @private
252235
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)