google-apis-mybusinessverifications_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 86568f3f23eabbe183db511beb41624490422e65e7a8072e11230e7f491acfcf
4
+ data.tar.gz: c2b0d40283554ea1900b639176f1ef7073bcbb3156a157128c5b620c1859c9bd
5
+ SHA512:
6
+ metadata.gz: 80c9df17d885b02496b3e79b995921f4946f7f97a4ccf16b1cffe3d76e1b21d4b06db34e38a859acbc6019f8a5403e3bf2acee21bbfec0eede59fc18eac90c31
7
+ data.tar.gz: c5f8f116a09556ac9b0053ad445b6fba84132a2e67ce370c5228f80cdf5cf695f9b6c85642dcb9403be46d960de0d7922eba22abb9ef112359077fc9823e4a7d
data/.yardopts ADDED
@@ -0,0 +1,13 @@
1
+ --hide-void-return
2
+ --no-private
3
+ --verbose
4
+ --title=google-apis-mybusinessverifications_v1
5
+ --markup-provider=redcarpet
6
+ --markup=markdown
7
+ --main OVERVIEW.md
8
+ lib/google/apis/mybusinessverifications_v1/*.rb
9
+ lib/google/apis/mybusinessverifications_v1.rb
10
+ -
11
+ OVERVIEW.md
12
+ CHANGELOG.md
13
+ LICENSE.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Release history for google-apis-mybusinessverifications_v1
2
+
3
+ ### v0.1.0 (2021-08-25)
4
+
5
+ * Regenerated from discovery document revision 20210822
6
+ * Regenerated using generator version 0.4.0
7
+
data/LICENSE.md ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/OVERVIEW.md ADDED
@@ -0,0 +1,96 @@
1
+ # Simple REST client for version V1 of the My Business Verifications API
2
+
3
+ This is a simple client library for version V1 of the My Business Verifications API. It provides:
4
+
5
+ * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
+ * Ruby objects for data structures related to the service.
7
+ * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts.
8
+ * Control of retry, pagination, and timeouts.
9
+
10
+ Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information.
11
+
12
+ ## Getting started
13
+
14
+ ### Before you begin
15
+
16
+ There are a few setup steps you need to complete before you can use this library:
17
+
18
+ 1. If you don't already have a Google account, [sign up](https://www.google.com/accounts).
19
+ 2. If you have never created a Google APIs Console project, read about [Managing Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and create a project in the [Google API Console](https://console.cloud.google.com/).
20
+ 3. Most APIs need to be enabled for your project. [Enable it](https://console.cloud.google.com/apis/library/mybusinessverifications.googleapis.com) in the console.
21
+
22
+ ### Installation
23
+
24
+ Add this line to your application's Gemfile:
25
+
26
+ ```ruby
27
+ gem 'google-apis-mybusinessverifications_v1', '~> 0.1'
28
+ ```
29
+
30
+ And then execute:
31
+
32
+ ```
33
+ $ bundle
34
+ ```
35
+
36
+ Or install it yourself as:
37
+
38
+ ```
39
+ $ gem install google-apis-mybusinessverifications_v1
40
+ ```
41
+
42
+ ### Creating a client object
43
+
44
+ Once the gem is installed, you can load the client code and instantiate a client.
45
+
46
+ ```ruby
47
+ # Load the client
48
+ require "google/apis/mybusinessverifications_v1"
49
+
50
+ # Create a client object
51
+ client = Google::Apis::MybusinessverificationsV1::MyBusinessVerificationsService.new
52
+
53
+ # Authenticate calls
54
+ client.authentication = # ... use the googleauth gem to create credentials
55
+ ```
56
+
57
+ See the class reference docs for information on the methods you can call from a client.
58
+
59
+ ## Documentation
60
+
61
+ More detailed descriptions of the Google simple REST clients are available in two documents.
62
+
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
+
66
+ (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Mybusinessverifications service in particular.)
67
+
68
+ For reference information on specific calls in the My Business Verifications API, see the {Google::Apis::MybusinessverificationsV1::MyBusinessVerificationsService class reference docs}.
69
+
70
+ ## Which client should I use?
71
+
72
+ Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**.
73
+
74
+ This library, `google-apis-mybusinessverifications_v1`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
75
+
76
+ Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients.
77
+
78
+ Gem names for modern clients are often of the form `google-cloud-<service_name>`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud-<service_name>-<version>`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended.
79
+
80
+ **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
+
82
+ The [product documentation](https://developers.google.com/my-business/) may provide guidance regarding the preferred client library to use.
83
+
84
+ ## Supported Ruby versions
85
+
86
+ This library is supported on Ruby 2.5+.
87
+
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
+
90
+ ## License
91
+
92
+ This library is licensed under Apache 2.0. Full license text is available in the {file:LICENSE.md LICENSE}.
93
+
94
+ ## Support
95
+
96
+ Please [report bugs at the project on Github](https://github.com/google/google-api-ruby-client/issues). Don't hesitate to [ask questions](http://stackoverflow.com/questions/tagged/google-api-ruby-client) about the client or APIs on [StackOverflow](http://stackoverflow.com).
@@ -0,0 +1,785 @@
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 MybusinessverificationsV1
24
+
25
+ # Display data for verifications through postcard.
26
+ class AddressVerificationData
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
30
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
31
+ # Box or similar. It is not intended to model geographical locations (roads,
32
+ # towns, mountains). In typical usage an address would be created via user input
33
+ # or from importing existing data, depending on the type of process. Advice on
34
+ # address input / editing: - Use an i18n-ready address widget such as https://
35
+ # github.com/google/libaddressinput) - Users should not be presented with UI
36
+ # elements for input or editing of fields outside countries where that field is
37
+ # used. For more guidance on how to use this schema, please see: https://support.
38
+ # google.com/business/answer/6397478
39
+ # Corresponds to the JSON property `address`
40
+ # @return [Google::Apis::MybusinessverificationsV1::PostalAddress]
41
+ attr_accessor :address
42
+
43
+ # Merchant's business name.
44
+ # Corresponds to the JSON property `business`
45
+ # @return [String]
46
+ attr_accessor :business
47
+
48
+ # Expected number of days it takes to deliver a postcard to the address's region.
49
+ # Corresponds to the JSON property `expectedDeliveryDaysRegion`
50
+ # @return [Fixnum]
51
+ attr_accessor :expected_delivery_days_region
52
+
53
+ def initialize(**args)
54
+ update!(**args)
55
+ end
56
+
57
+ # Update properties of this object
58
+ def update!(**args)
59
+ @address = args[:address] if args.key?(:address)
60
+ @business = args[:business] if args.key?(:business)
61
+ @expected_delivery_days_region = args[:expected_delivery_days_region] if args.key?(:expected_delivery_days_region)
62
+ end
63
+ end
64
+
65
+ # Request message for Verifications.CompleteVerificationAction.
66
+ class CompleteVerificationRequest
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # Required. PIN code received by the merchant to complete the verification.
70
+ # Corresponds to the JSON property `pin`
71
+ # @return [String]
72
+ attr_accessor :pin
73
+
74
+ def initialize(**args)
75
+ update!(**args)
76
+ end
77
+
78
+ # Update properties of this object
79
+ def update!(**args)
80
+ @pin = args[:pin] if args.key?(:pin)
81
+ end
82
+ end
83
+
84
+ # Response message for Verifications.CompleteVerificationAction.
85
+ class CompleteVerificationResponse
86
+ include Google::Apis::Core::Hashable
87
+
88
+ # A verification represents a verification attempt on a location.
89
+ # Corresponds to the JSON property `verification`
90
+ # @return [Google::Apis::MybusinessverificationsV1::Verification]
91
+ attr_accessor :verification
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @verification = args[:verification] if args.key?(:verification)
100
+ end
101
+ end
102
+
103
+ # Indicates that the location fails to comply with our [guidelines](https://
104
+ # support.google.com/business/answer/3038177). To fix this issue, consult the [
105
+ # Help Center Article](https://support.google.com/business/answer/4569145).
106
+ class ComplyWithGuidelines
107
+ include Google::Apis::Core::Hashable
108
+
109
+ def initialize(**args)
110
+ update!(**args)
111
+ end
112
+
113
+ # Update properties of this object
114
+ def update!(**args)
115
+ end
116
+ end
117
+
118
+ # Display data for verifications through email.
119
+ class EmailVerificationData
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # Domain name in the email address. e.g. "gmail.com" in foo@gmail.com
123
+ # Corresponds to the JSON property `domain`
124
+ # @return [String]
125
+ attr_accessor :domain
126
+
127
+ # Whether client is allowed to provide a different user name.
128
+ # Corresponds to the JSON property `isUserNameEditable`
129
+ # @return [Boolean]
130
+ attr_accessor :is_user_name_editable
131
+ alias_method :is_user_name_editable?, :is_user_name_editable
132
+
133
+ # User name in the email address. e.g. "foo" in foo@gmail.com
134
+ # Corresponds to the JSON property `user`
135
+ # @return [String]
136
+ attr_accessor :user
137
+
138
+ def initialize(**args)
139
+ update!(**args)
140
+ end
141
+
142
+ # Update properties of this object
143
+ def update!(**args)
144
+ @domain = args[:domain] if args.key?(:domain)
145
+ @is_user_name_editable = args[:is_user_name_editable] if args.key?(:is_user_name_editable)
146
+ @user = args[:user] if args.key?(:user)
147
+ end
148
+ end
149
+
150
+ # Request message for Verifications.FetchVerificationOptions.
151
+ class FetchVerificationOptionsRequest
152
+ include Google::Apis::Core::Hashable
153
+
154
+ # Additional data for service business verification.
155
+ # Corresponds to the JSON property `context`
156
+ # @return [Google::Apis::MybusinessverificationsV1::ServiceBusinessContext]
157
+ attr_accessor :context
158
+
159
+ # Required. The BCP 47 language code representing the language that is to be
160
+ # used for the verification process. Available options vary by language.
161
+ # Corresponds to the JSON property `languageCode`
162
+ # @return [String]
163
+ attr_accessor :language_code
164
+
165
+ def initialize(**args)
166
+ update!(**args)
167
+ end
168
+
169
+ # Update properties of this object
170
+ def update!(**args)
171
+ @context = args[:context] if args.key?(:context)
172
+ @language_code = args[:language_code] if args.key?(:language_code)
173
+ end
174
+ end
175
+
176
+ # Response message for Verifications.FetchVerificationOptions.
177
+ class FetchVerificationOptionsResponse
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # The available verification options.
181
+ # Corresponds to the JSON property `options`
182
+ # @return [Array<Google::Apis::MybusinessverificationsV1::VerificationOption>]
183
+ attr_accessor :options
184
+
185
+ def initialize(**args)
186
+ update!(**args)
187
+ end
188
+
189
+ # Update properties of this object
190
+ def update!(**args)
191
+ @options = args[:options] if args.key?(:options)
192
+ end
193
+ end
194
+
195
+ # Request message for Verifications.GenerateVerificationToken.
196
+ class GenerateVerificationTokenRequest
197
+ include Google::Apis::Core::Hashable
198
+
199
+ # A subset of location info. See the [help center article] (https://support.
200
+ # google.com/business/answer/3038177) for a detailed description of these fields,
201
+ # or the [category endpoint](/my-business/reference/rest/v4/categories) for a
202
+ # list of valid business categories.
203
+ # Corresponds to the JSON property `location`
204
+ # @return [Google::Apis::MybusinessverificationsV1::Location]
205
+ attr_accessor :location
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @location = args[:location] if args.key?(:location)
214
+ end
215
+ end
216
+
217
+ # Response message for Verifications.GenerateVerificationToken.
218
+ class GenerateVerificationTokenResponse
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # Token generated by a vetted [partner](https://support.google.com/business/
222
+ # answer/7674102).
223
+ # Corresponds to the JSON property `token`
224
+ # @return [Google::Apis::MybusinessverificationsV1::VerificationToken]
225
+ attr_accessor :token
226
+
227
+ def initialize(**args)
228
+ update!(**args)
229
+ end
230
+
231
+ # Update properties of this object
232
+ def update!(**args)
233
+ @token = args[:token] if args.key?(:token)
234
+ end
235
+ end
236
+
237
+ # Response message for Verifications.ListVerifications.
238
+ class ListVerificationsResponse
239
+ include Google::Apis::Core::Hashable
240
+
241
+ # If the number of verifications exceeded the requested page size, this field
242
+ # will be populated with a token to fetch the next page of verification on a
243
+ # subsequent call. If there are no more attributes, this field will not be
244
+ # present in the response.
245
+ # Corresponds to the JSON property `nextPageToken`
246
+ # @return [String]
247
+ attr_accessor :next_page_token
248
+
249
+ # List of the verifications.
250
+ # Corresponds to the JSON property `verifications`
251
+ # @return [Array<Google::Apis::MybusinessverificationsV1::Verification>]
252
+ attr_accessor :verifications
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
261
+ @verifications = args[:verifications] if args.key?(:verifications)
262
+ end
263
+ end
264
+
265
+ # A subset of location info. See the [help center article] (https://support.
266
+ # google.com/business/answer/3038177) for a detailed description of these fields,
267
+ # or the [category endpoint](/my-business/reference/rest/v4/categories) for a
268
+ # list of valid business categories.
269
+ class Location
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
273
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
274
+ # Box or similar. It is not intended to model geographical locations (roads,
275
+ # towns, mountains). In typical usage an address would be created via user input
276
+ # or from importing existing data, depending on the type of process. Advice on
277
+ # address input / editing: - Use an i18n-ready address widget such as https://
278
+ # github.com/google/libaddressinput) - Users should not be presented with UI
279
+ # elements for input or editing of fields outside countries where that field is
280
+ # used. For more guidance on how to use this schema, please see: https://support.
281
+ # google.com/business/answer/6397478
282
+ # Corresponds to the JSON property `address`
283
+ # @return [Google::Apis::MybusinessverificationsV1::PostalAddress]
284
+ attr_accessor :address
285
+
286
+ # Required. Location name should reflect your business's real-world name, as
287
+ # used consistently on your storefront, website, and stationery, and as known to
288
+ # customers. Any additional information, when relevant, can be included in other
289
+ # fields of the resource (for example, `Address`, `Categories`). Don't add
290
+ # unnecessary information to your name (for example, prefer "Google" over "
291
+ # Google Inc. - Mountain View Corporate Headquarters"). Don't include marketing
292
+ # taglines, store codes, special characters, hours or closed/open status, phone
293
+ # numbers, website URLs, service/product information, location/address or
294
+ # directions, or containment information (for example, "Chase ATM in Duane Reade"
295
+ # ).
296
+ # Corresponds to the JSON property `name`
297
+ # @return [String]
298
+ attr_accessor :name
299
+
300
+ # Required. Id of the category that best describes the core business this
301
+ # location engages in.
302
+ # Corresponds to the JSON property `primaryCategoryId`
303
+ # @return [String]
304
+ attr_accessor :primary_category_id
305
+
306
+ # Optional. A phone number that connects to your individual business location as
307
+ # directly as possible. Use a local phone number instead of a central, call
308
+ # center helpline number whenever possible.
309
+ # Corresponds to the JSON property `primaryPhone`
310
+ # @return [String]
311
+ attr_accessor :primary_phone
312
+
313
+ # Optional. A URL for this business. If possible, use a URL that represents this
314
+ # individual business location instead of a generic website/URL that represents
315
+ # all locations, or the brand.
316
+ # Corresponds to the JSON property `websiteUri`
317
+ # @return [String]
318
+ attr_accessor :website_uri
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
+ @primary_category_id = args[:primary_category_id] if args.key?(:primary_category_id)
329
+ @primary_phone = args[:primary_phone] if args.key?(:primary_phone)
330
+ @website_uri = args[:website_uri] if args.key?(:website_uri)
331
+ end
332
+ end
333
+
334
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
335
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
336
+ # Box or similar. It is not intended to model geographical locations (roads,
337
+ # towns, mountains). In typical usage an address would be created via user input
338
+ # or from importing existing data, depending on the type of process. Advice on
339
+ # address input / editing: - Use an i18n-ready address widget such as https://
340
+ # github.com/google/libaddressinput) - Users should not be presented with UI
341
+ # elements for input or editing of fields outside countries where that field is
342
+ # used. For more guidance on how to use this schema, please see: https://support.
343
+ # google.com/business/answer/6397478
344
+ class PostalAddress
345
+ include Google::Apis::Core::Hashable
346
+
347
+ # Unstructured address lines describing the lower levels of an address. Because
348
+ # values in address_lines do not have type information and may sometimes contain
349
+ # multiple values in a single field (e.g. "Austin, TX"), it is important that
350
+ # the line order is clear. The order of address lines should be "envelope order"
351
+ # for the country/region of the address. In places where this can vary (e.g.
352
+ # Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
353
+ # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
354
+ # specific line of an address can be selected based on the language. The minimum
355
+ # permitted structural representation of an address consists of a region_code
356
+ # with all remaining information placed in the address_lines. It would be
357
+ # possible to format such an address very approximately without geocoding, but
358
+ # no semantic reasoning could be made about any of the address components until
359
+ # it was at least partially resolved. Creating an address only containing a
360
+ # region_code and address_lines, and then geocoding is the recommended way to
361
+ # handle completely unstructured addresses (as opposed to guessing which parts
362
+ # of the address should be localities or administrative areas).
363
+ # Corresponds to the JSON property `addressLines`
364
+ # @return [Array<String>]
365
+ attr_accessor :address_lines
366
+
367
+ # Optional. Highest administrative subdivision which is used for postal
368
+ # addresses of a country or region. For example, this can be a state, a province,
369
+ # an oblast, or a prefecture. Specifically, for Spain this is the province and
370
+ # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
371
+ # countries don't use an administrative area in postal addresses. E.g. in
372
+ # Switzerland this should be left unpopulated.
373
+ # Corresponds to the JSON property `administrativeArea`
374
+ # @return [String]
375
+ attr_accessor :administrative_area
376
+
377
+ # Optional. BCP-47 language code of the contents of this address (if known).
378
+ # This is often the UI language of the input form or is expected to match one of
379
+ # the languages used in the address' country/region, or their transliterated
380
+ # equivalents. This can affect formatting in certain countries, but is not
381
+ # critical to the correctness of the data and will never affect any validation
382
+ # or other non-formatting related operations. If this value is not known, it
383
+ # should be omitted (rather than specifying a possibly incorrect default).
384
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
385
+ # Corresponds to the JSON property `languageCode`
386
+ # @return [String]
387
+ attr_accessor :language_code
388
+
389
+ # Optional. Generally refers to the city/town portion of the address. Examples:
390
+ # US city, IT comune, UK post town. In regions of the world where localities are
391
+ # not well defined or do not fit into this structure well, leave locality empty
392
+ # and use address_lines.
393
+ # Corresponds to the JSON property `locality`
394
+ # @return [String]
395
+ attr_accessor :locality
396
+
397
+ # Optional. The name of the organization at the address.
398
+ # Corresponds to the JSON property `organization`
399
+ # @return [String]
400
+ attr_accessor :organization
401
+
402
+ # Optional. Postal code of the address. Not all countries use or require postal
403
+ # codes to be present, but where they are used, they may trigger additional
404
+ # validation with other parts of the address (e.g. state/zip validation in the U.
405
+ # S.A.).
406
+ # Corresponds to the JSON property `postalCode`
407
+ # @return [String]
408
+ attr_accessor :postal_code
409
+
410
+ # Optional. The recipient at the address. This field may, under certain
411
+ # circumstances, contain multiline information. For example, it might contain "
412
+ # care of" information.
413
+ # Corresponds to the JSON property `recipients`
414
+ # @return [Array<String>]
415
+ attr_accessor :recipients
416
+
417
+ # Required. CLDR region code of the country/region of the address. This is never
418
+ # inferred and it is up to the user to ensure the value is correct. See http://
419
+ # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
420
+ # territory_information.html for details. Example: "CH" for Switzerland.
421
+ # Corresponds to the JSON property `regionCode`
422
+ # @return [String]
423
+ attr_accessor :region_code
424
+
425
+ # The schema revision of the `PostalAddress`. This must be set to 0, which is
426
+ # the latest revision. All new revisions **must** be backward compatible with
427
+ # old revisions.
428
+ # Corresponds to the JSON property `revision`
429
+ # @return [Fixnum]
430
+ attr_accessor :revision
431
+
432
+ # Optional. Additional, country-specific, sorting code. This is not used in most
433
+ # regions. Where it is used, the value is either a string like "CEDEX",
434
+ # optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
435
+ # representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
436
+ # or "post office indicator" (e.g. Côte d'Ivoire).
437
+ # Corresponds to the JSON property `sortingCode`
438
+ # @return [String]
439
+ attr_accessor :sorting_code
440
+
441
+ # Optional. Sublocality of the address. For example, this can be neighborhoods,
442
+ # boroughs, districts.
443
+ # Corresponds to the JSON property `sublocality`
444
+ # @return [String]
445
+ attr_accessor :sublocality
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ @address_lines = args[:address_lines] if args.key?(:address_lines)
454
+ @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
455
+ @language_code = args[:language_code] if args.key?(:language_code)
456
+ @locality = args[:locality] if args.key?(:locality)
457
+ @organization = args[:organization] if args.key?(:organization)
458
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
459
+ @recipients = args[:recipients] if args.key?(:recipients)
460
+ @region_code = args[:region_code] if args.key?(:region_code)
461
+ @revision = args[:revision] if args.key?(:revision)
462
+ @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
463
+ @sublocality = args[:sublocality] if args.key?(:sublocality)
464
+ end
465
+ end
466
+
467
+ # Indicates that the location duplicates another location that is in good
468
+ # standing.
469
+ class ResolveOwnershipConflict
470
+ include Google::Apis::Core::Hashable
471
+
472
+ def initialize(**args)
473
+ update!(**args)
474
+ end
475
+
476
+ # Update properties of this object
477
+ def update!(**args)
478
+ end
479
+ end
480
+
481
+ # Additional data for service business verification.
482
+ class ServiceBusinessContext
483
+ include Google::Apis::Core::Hashable
484
+
485
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
486
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
487
+ # Box or similar. It is not intended to model geographical locations (roads,
488
+ # towns, mountains). In typical usage an address would be created via user input
489
+ # or from importing existing data, depending on the type of process. Advice on
490
+ # address input / editing: - Use an i18n-ready address widget such as https://
491
+ # github.com/google/libaddressinput) - Users should not be presented with UI
492
+ # elements for input or editing of fields outside countries where that field is
493
+ # used. For more guidance on how to use this schema, please see: https://support.
494
+ # google.com/business/answer/6397478
495
+ # Corresponds to the JSON property `address`
496
+ # @return [Google::Apis::MybusinessverificationsV1::PostalAddress]
497
+ attr_accessor :address
498
+
499
+ def initialize(**args)
500
+ update!(**args)
501
+ end
502
+
503
+ # Update properties of this object
504
+ def update!(**args)
505
+ @address = args[:address] if args.key?(:address)
506
+ end
507
+ end
508
+
509
+ # A verification represents a verification attempt on a location.
510
+ class Verification
511
+ include Google::Apis::Core::Hashable
512
+
513
+ # The timestamp when the verification is requested.
514
+ # Corresponds to the JSON property `createTime`
515
+ # @return [String]
516
+ attr_accessor :create_time
517
+
518
+ # The method of the verification.
519
+ # Corresponds to the JSON property `method`
520
+ # @return [String]
521
+ attr_accessor :method_prop
522
+
523
+ # Resource name of the verification.
524
+ # Corresponds to the JSON property `name`
525
+ # @return [String]
526
+ attr_accessor :name
527
+
528
+ # The state of the verification.
529
+ # Corresponds to the JSON property `state`
530
+ # @return [String]
531
+ attr_accessor :state
532
+
533
+ def initialize(**args)
534
+ update!(**args)
535
+ end
536
+
537
+ # Update properties of this object
538
+ def update!(**args)
539
+ @create_time = args[:create_time] if args.key?(:create_time)
540
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
541
+ @name = args[:name] if args.key?(:name)
542
+ @state = args[:state] if args.key?(:state)
543
+ end
544
+ end
545
+
546
+ # The verification option represents how to verify the location (indicated by
547
+ # verification method) and where the verification will be sent to (indicated by
548
+ # display data).
549
+ class VerificationOption
550
+ include Google::Apis::Core::Hashable
551
+
552
+ # Display data for verifications through postcard.
553
+ # Corresponds to the JSON property `addressData`
554
+ # @return [Google::Apis::MybusinessverificationsV1::AddressVerificationData]
555
+ attr_accessor :address_data
556
+
557
+ # Display data for verifications through email.
558
+ # Corresponds to the JSON property `emailData`
559
+ # @return [Google::Apis::MybusinessverificationsV1::EmailVerificationData]
560
+ attr_accessor :email_data
561
+
562
+ # Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be
563
+ # sent to.
564
+ # Corresponds to the JSON property `phoneNumber`
565
+ # @return [String]
566
+ attr_accessor :phone_number
567
+
568
+ # Method to verify the location.
569
+ # Corresponds to the JSON property `verificationMethod`
570
+ # @return [String]
571
+ attr_accessor :verification_method
572
+
573
+ def initialize(**args)
574
+ update!(**args)
575
+ end
576
+
577
+ # Update properties of this object
578
+ def update!(**args)
579
+ @address_data = args[:address_data] if args.key?(:address_data)
580
+ @email_data = args[:email_data] if args.key?(:email_data)
581
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
582
+ @verification_method = args[:verification_method] if args.key?(:verification_method)
583
+ end
584
+ end
585
+
586
+ # Token generated by a vetted [partner](https://support.google.com/business/
587
+ # answer/7674102).
588
+ class VerificationToken
589
+ include Google::Apis::Core::Hashable
590
+
591
+ # The token string.
592
+ # Corresponds to the JSON property `tokenString`
593
+ # @return [String]
594
+ attr_accessor :token_string
595
+
596
+ def initialize(**args)
597
+ update!(**args)
598
+ end
599
+
600
+ # Update properties of this object
601
+ def update!(**args)
602
+ @token_string = args[:token_string] if args.key?(:token_string)
603
+ end
604
+ end
605
+
606
+ # Indicates that the location requires verification. Contains information about
607
+ # the current verification actions performed on the location.
608
+ class Verify
609
+ include Google::Apis::Core::Hashable
610
+
611
+ # Indicates whether a verification process has already started, and can be
612
+ # completed by the location.
613
+ # Corresponds to the JSON property `hasPendingVerification`
614
+ # @return [Boolean]
615
+ attr_accessor :has_pending_verification
616
+ alias_method :has_pending_verification?, :has_pending_verification
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @has_pending_verification = args[:has_pending_verification] if args.key?(:has_pending_verification)
625
+ end
626
+ end
627
+
628
+ # Request message for Verifications.VerifyLocation.
629
+ class VerifyLocationRequest
630
+ include Google::Apis::Core::Hashable
631
+
632
+ # Additional data for service business verification.
633
+ # Corresponds to the JSON property `context`
634
+ # @return [Google::Apis::MybusinessverificationsV1::ServiceBusinessContext]
635
+ attr_accessor :context
636
+
637
+ # Optional. The input for EMAIL method. Email address where the PIN should be
638
+ # sent to. An email address is accepted only if it is one of the addresses
639
+ # provided by FetchVerificationOptions. If the EmailVerificationData has
640
+ # is_user_name_editable set to true, the client may specify a different user
641
+ # name (local-part) but must match the domain name.
642
+ # Corresponds to the JSON property `emailAddress`
643
+ # @return [String]
644
+ attr_accessor :email_address
645
+
646
+ # Optional. The BCP 47 language code representing the language that is to be
647
+ # used for the verification process.
648
+ # Corresponds to the JSON property `languageCode`
649
+ # @return [String]
650
+ attr_accessor :language_code
651
+
652
+ # Optional. The input for ADDRESS method. Contact name the mail should be sent
653
+ # to.
654
+ # Corresponds to the JSON property `mailerContact`
655
+ # @return [String]
656
+ attr_accessor :mailer_contact
657
+
658
+ # Required. Verification method.
659
+ # Corresponds to the JSON property `method`
660
+ # @return [String]
661
+ attr_accessor :method_prop
662
+
663
+ # Optional. The input for PHONE_CALL/SMS method The phone number that should be
664
+ # called or be sent SMS to. It must be one of the phone numbers in the eligible
665
+ # options.
666
+ # Corresponds to the JSON property `phoneNumber`
667
+ # @return [String]
668
+ attr_accessor :phone_number
669
+
670
+ # Token generated by a vetted [partner](https://support.google.com/business/
671
+ # answer/7674102).
672
+ # Corresponds to the JSON property `token`
673
+ # @return [Google::Apis::MybusinessverificationsV1::VerificationToken]
674
+ attr_accessor :token
675
+
676
+ def initialize(**args)
677
+ update!(**args)
678
+ end
679
+
680
+ # Update properties of this object
681
+ def update!(**args)
682
+ @context = args[:context] if args.key?(:context)
683
+ @email_address = args[:email_address] if args.key?(:email_address)
684
+ @language_code = args[:language_code] if args.key?(:language_code)
685
+ @mailer_contact = args[:mailer_contact] if args.key?(:mailer_contact)
686
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
687
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
688
+ @token = args[:token] if args.key?(:token)
689
+ end
690
+ end
691
+
692
+ # Response message for Verifications.VerifyLocation.
693
+ class VerifyLocationResponse
694
+ include Google::Apis::Core::Hashable
695
+
696
+ # A verification represents a verification attempt on a location.
697
+ # Corresponds to the JSON property `verification`
698
+ # @return [Google::Apis::MybusinessverificationsV1::Verification]
699
+ attr_accessor :verification
700
+
701
+ def initialize(**args)
702
+ update!(**args)
703
+ end
704
+
705
+ # Update properties of this object
706
+ def update!(**args)
707
+ @verification = args[:verification] if args.key?(:verification)
708
+ end
709
+ end
710
+
711
+ # Response message for VoiceOfMerchant.GetVoiceOfMerchantState.
712
+ class VoiceOfMerchantState
713
+ include Google::Apis::Core::Hashable
714
+
715
+ # Indicates that the location fails to comply with our [guidelines](https://
716
+ # support.google.com/business/answer/3038177). To fix this issue, consult the [
717
+ # Help Center Article](https://support.google.com/business/answer/4569145).
718
+ # Corresponds to the JSON property `complyWithGuidelines`
719
+ # @return [Google::Apis::MybusinessverificationsV1::ComplyWithGuidelines]
720
+ attr_accessor :comply_with_guidelines
721
+
722
+ # Indicates whether the location has the authority (ownership) over the business
723
+ # on Google. If true, another location cannot take over and become the dominant
724
+ # listing on Maps. However, edits will not become live unless Voice of Merchant
725
+ # is gained (i.e. has_voice_of_merchant is true).
726
+ # Corresponds to the JSON property `hasBusinessAuthority`
727
+ # @return [Boolean]
728
+ attr_accessor :has_business_authority
729
+ alias_method :has_business_authority?, :has_business_authority
730
+
731
+ # Indicates whether the location is in good standing and has control over the
732
+ # business on Google. Any edits made to the location will propagate to Maps
733
+ # after passing the review phase.
734
+ # Corresponds to the JSON property `hasVoiceOfMerchant`
735
+ # @return [Boolean]
736
+ attr_accessor :has_voice_of_merchant
737
+ alias_method :has_voice_of_merchant?, :has_voice_of_merchant
738
+
739
+ # Indicates that the location duplicates another location that is in good
740
+ # standing.
741
+ # Corresponds to the JSON property `resolveOwnershipConflict`
742
+ # @return [Google::Apis::MybusinessverificationsV1::ResolveOwnershipConflict]
743
+ attr_accessor :resolve_ownership_conflict
744
+
745
+ # Indicates that the location requires verification. Contains information about
746
+ # the current verification actions performed on the location.
747
+ # Corresponds to the JSON property `verify`
748
+ # @return [Google::Apis::MybusinessverificationsV1::Verify]
749
+ attr_accessor :verify
750
+
751
+ # Indicates that the location will gain voice of merchant after passing review.
752
+ # Corresponds to the JSON property `waitForVoiceOfMerchant`
753
+ # @return [Google::Apis::MybusinessverificationsV1::WaitForVoiceOfMerchant]
754
+ attr_accessor :wait_for_voice_of_merchant
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @comply_with_guidelines = args[:comply_with_guidelines] if args.key?(:comply_with_guidelines)
763
+ @has_business_authority = args[:has_business_authority] if args.key?(:has_business_authority)
764
+ @has_voice_of_merchant = args[:has_voice_of_merchant] if args.key?(:has_voice_of_merchant)
765
+ @resolve_ownership_conflict = args[:resolve_ownership_conflict] if args.key?(:resolve_ownership_conflict)
766
+ @verify = args[:verify] if args.key?(:verify)
767
+ @wait_for_voice_of_merchant = args[:wait_for_voice_of_merchant] if args.key?(:wait_for_voice_of_merchant)
768
+ end
769
+ end
770
+
771
+ # Indicates that the location will gain voice of merchant after passing review.
772
+ class WaitForVoiceOfMerchant
773
+ include Google::Apis::Core::Hashable
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ end
782
+ end
783
+ end
784
+ end
785
+ end