google-shopping-merchant-accounts-v1 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/shopping/merchant/accounts/v1/accounts_pb.rb +4 -1
- data/lib/google/shopping/merchant/accounts/v1/accounts_service/client.rb +12 -5
- data/lib/google/shopping/merchant/accounts/v1/accounts_service/rest/client.rb +12 -5
- data/lib/google/shopping/merchant/accounts/v1/accounts_services_pb.rb +7 -4
- data/lib/google/shopping/merchant/accounts/v1/accountservices_pb.rb +2 -1
- data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/client.rb +79 -1
- data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/client.rb +80 -1
- data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/service_stub.rb +59 -0
- data/lib/google/shopping/merchant/accounts/v1/developerregistration_pb.rb +2 -1
- data/lib/google/shopping/merchant/accounts/v1/developerregistration_services_pb.rb +2 -0
- data/lib/google/shopping/merchant/accounts/v1/regions_pb.rb +5 -1
- data/lib/google/shopping/merchant/accounts/v1/user_pb.rb +2 -1
- data/lib/google/shopping/merchant/accounts/v1/user_service/client.rb +94 -0
- data/lib/google/shopping/merchant/accounts/v1/user_service/rest/client.rb +87 -0
- data/lib/google/shopping/merchant/accounts/v1/user_service/rest/service_stub.rb +62 -0
- data/lib/google/shopping/merchant/accounts/v1/user_services_pb.rb +3 -0
- data/lib/google/shopping/merchant/accounts/v1/verificationmailsettings_pb.rb +47 -0
- data/lib/google/shopping/merchant/accounts/v1/version.rb +1 -1
- data/proto_docs/google/shopping/merchant/accounts/v1/accessright.rb +4 -2
- data/proto_docs/google/shopping/merchant/accounts/v1/accounts.rb +72 -0
- data/proto_docs/google/shopping/merchant/accounts/v1/accountservices.rb +18 -5
- data/proto_docs/google/shopping/merchant/accounts/v1/developerregistration.rb +12 -1
- data/proto_docs/google/shopping/merchant/accounts/v1/programs.rb +1 -0
- data/proto_docs/google/shopping/merchant/accounts/v1/regions.rb +36 -0
- data/proto_docs/google/shopping/merchant/accounts/v1/user.rb +14 -2
- data/proto_docs/google/shopping/merchant/accounts/v1/verificationmailsettings.rb +53 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +4 -1
|
@@ -196,6 +196,9 @@ module Google
|
|
|
196
196
|
# @return [::Google::Protobuf::BoolValue]
|
|
197
197
|
# Output only. Indicates if the region is eligible for use in the Shipping
|
|
198
198
|
# Services configuration.
|
|
199
|
+
# @!attribute [rw] radius_area
|
|
200
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea]
|
|
201
|
+
# Optional. A radius area that defines the region area.
|
|
199
202
|
class Region
|
|
200
203
|
include ::Google::Protobuf::MessageExts
|
|
201
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -247,6 +250,39 @@ module Google
|
|
|
247
250
|
include ::Google::Protobuf::MessageExts
|
|
248
251
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
249
252
|
end
|
|
253
|
+
|
|
254
|
+
# A radius area that defines the region area.
|
|
255
|
+
# @!attribute [rw] region_code
|
|
256
|
+
# @return [::String]
|
|
257
|
+
# Required. [CLDR territory
|
|
258
|
+
# code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
|
|
259
|
+
# or the country the radius area applies to.
|
|
260
|
+
# @!attribute [rw] lat_lng
|
|
261
|
+
# @return [::Google::Type::LatLng]
|
|
262
|
+
# Required. The center of the radius area. It represents a
|
|
263
|
+
# latitude/longitude pair in decimal degrees format.
|
|
264
|
+
# @!attribute [rw] radius
|
|
265
|
+
# @return [::Float]
|
|
266
|
+
# Required. The radius distance of the area.
|
|
267
|
+
# @!attribute [rw] radius_units
|
|
268
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea::RadiusUnits]
|
|
269
|
+
# Optional. The unit of the radius.
|
|
270
|
+
class RadiusArea
|
|
271
|
+
include ::Google::Protobuf::MessageExts
|
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
273
|
+
|
|
274
|
+
# The unit of measurement of the radius. Default is KILOMETERS.
|
|
275
|
+
module RadiusUnits
|
|
276
|
+
# Unused default value
|
|
277
|
+
RADIUS_UNITS_UNSPECIFIED = 0
|
|
278
|
+
|
|
279
|
+
# The distance is measured in miles.
|
|
280
|
+
MILES = 1
|
|
281
|
+
|
|
282
|
+
# The distance is measured in kilometers.
|
|
283
|
+
KILOMETERS = 2
|
|
284
|
+
end
|
|
285
|
+
end
|
|
250
286
|
end
|
|
251
287
|
end
|
|
252
288
|
end
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module Merchant
|
|
23
23
|
module Accounts
|
|
24
24
|
module V1
|
|
25
|
-
# The `User`
|
|
25
|
+
# The `User` resource represents a user associated with a Merchant Center
|
|
26
26
|
# account. It is used to manage user permissions and access rights within the
|
|
27
27
|
# account. For more information, see [Frequently asked questions about people
|
|
28
28
|
# and access levels](//support.google.com/merchants/answer/12160472).
|
|
@@ -45,7 +45,9 @@ module Google
|
|
|
45
45
|
include ::Google::Protobuf::MessageExts
|
|
46
46
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
47
|
|
|
48
|
-
# The possible
|
|
48
|
+
# The state represents the possible statuses of a user. It is an output-only
|
|
49
|
+
# field that is set to `PENDING` when a user is invited to an account and
|
|
50
|
+
# changes to `VERIFIED` once the user accepts the invitation.
|
|
49
51
|
module State
|
|
50
52
|
# Default value. This value is unused.
|
|
51
53
|
STATE_UNSPECIFIED = 0
|
|
@@ -157,6 +159,16 @@ module Google
|
|
|
157
159
|
include ::Google::Protobuf::MessageExts
|
|
158
160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
159
161
|
end
|
|
162
|
+
|
|
163
|
+
# Request message for the `VerifySelf` method.
|
|
164
|
+
# @!attribute [rw] account
|
|
165
|
+
# @return [::String]
|
|
166
|
+
# Required. The name of the account under which the caller is a user.
|
|
167
|
+
# Format: `accounts/{account}`
|
|
168
|
+
class VerifySelfRequest
|
|
169
|
+
include ::Google::Protobuf::MessageExts
|
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
171
|
+
end
|
|
160
172
|
end
|
|
161
173
|
end
|
|
162
174
|
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Shopping
|
|
22
|
+
module Merchant
|
|
23
|
+
module Accounts
|
|
24
|
+
module V1
|
|
25
|
+
# Settings related to the verification email that is sent after adding a user.
|
|
26
|
+
# @!attribute [rw] verification_mail_mode
|
|
27
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::VerificationMailSettings::VerificationMailMode]
|
|
28
|
+
# Optional. Mode of the verification mail. If not set, the default is
|
|
29
|
+
# `SEND_VERIFICATION_MAIL`.
|
|
30
|
+
class VerificationMailSettings
|
|
31
|
+
include ::Google::Protobuf::MessageExts
|
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
33
|
+
|
|
34
|
+
# The different configuration options for sending a verification email
|
|
35
|
+
# when adding a user.
|
|
36
|
+
module VerificationMailMode
|
|
37
|
+
# Default first member of every enum. Do not use.
|
|
38
|
+
VERIFICATION_MAIL_MODE_UNSPECIFIED = 0
|
|
39
|
+
|
|
40
|
+
# An invitation email is sent to the user added shortly after.
|
|
41
|
+
SEND_VERIFICATION_MAIL = 1
|
|
42
|
+
|
|
43
|
+
# No invitation email is sent. This can be useful if the user is
|
|
44
|
+
# expected to accept the invitation through the API without needing
|
|
45
|
+
# another notification.
|
|
46
|
+
SUPPRESS_VERIFICATION_MAIL = 2
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Type
|
|
22
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
23
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
24
|
+
# specified otherwise, this must conform to the
|
|
25
|
+
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
|
26
|
+
# standard</a>. Values must be within normalized ranges.
|
|
27
|
+
# @!attribute [rw] latitude
|
|
28
|
+
# @return [::Float]
|
|
29
|
+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
|
30
|
+
# @!attribute [rw] longitude
|
|
31
|
+
# @return [::Float]
|
|
32
|
+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
|
33
|
+
class LatLng
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-shopping-merchant-accounts-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -281,6 +281,7 @@ files:
|
|
|
281
281
|
- lib/google/shopping/merchant/accounts/v1/user_service/rest/client.rb
|
|
282
282
|
- lib/google/shopping/merchant/accounts/v1/user_service/rest/service_stub.rb
|
|
283
283
|
- lib/google/shopping/merchant/accounts/v1/user_services_pb.rb
|
|
284
|
+
- lib/google/shopping/merchant/accounts/v1/verificationmailsettings_pb.rb
|
|
284
285
|
- lib/google/shopping/merchant/accounts/v1/version.rb
|
|
285
286
|
- proto_docs/README.md
|
|
286
287
|
- proto_docs/google/api/client.rb
|
|
@@ -317,9 +318,11 @@ files:
|
|
|
317
318
|
- proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb
|
|
318
319
|
- proto_docs/google/shopping/merchant/accounts/v1/termsofservicekind.rb
|
|
319
320
|
- proto_docs/google/shopping/merchant/accounts/v1/user.rb
|
|
321
|
+
- proto_docs/google/shopping/merchant/accounts/v1/verificationmailsettings.rb
|
|
320
322
|
- proto_docs/google/shopping/type/types.rb
|
|
321
323
|
- proto_docs/google/type/date.rb
|
|
322
324
|
- proto_docs/google/type/datetime.rb
|
|
325
|
+
- proto_docs/google/type/latlng.rb
|
|
323
326
|
- proto_docs/google/type/phone_number.rb
|
|
324
327
|
- proto_docs/google/type/postal_address.rb
|
|
325
328
|
homepage: https://github.com/googleapis/google-cloud-ruby
|