google-shopping-merchant-accounts-v1beta 0.12.1 → 0.12.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e41b7d173767e64e33477b4d7b39766b5a5da1f93cc18192277dbb55648ce3c
|
|
4
|
+
data.tar.gz: 7afa4d949cafdf8e7025a374aa2a609b15039ba42fa75715caaad70a38f9343d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '024729bae827625f6ebae2c4e5adc1c09f3ba828d5632d949b9f69dfcb21a8d2a59eea5855897d9d9dea2c2fc82719c414d0994439c58715c7a5b447725b7d2a'
|
|
7
|
+
data.tar.gz: 06a16a0e0ce9a945b67483da5f13738d25a378284efee5645ff30682fd4976e03f450a44d4564353e9f9664a23b834f1833f9b9c54f82bf8d0ad0b40bc4f92d4
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/shopping/merchant/accounts/v1beta/verificationmailsettings.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\nGgoogle/shopping/merchant/accounts/v1beta/verificationmailsettings.proto\x12(google.shopping.merchant.accounts.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\x94\x02\n\x18VerificationMailSettings\x12|\n\x16verification_mail_mode\x18\x01 \x01(\x0e\x32W.google.shopping.merchant.accounts.v1beta.VerificationMailSettings.VerificationMailModeB\x03\xe0\x41\x01\"z\n\x14VerificationMailMode\x12&\n\"VERIFICATION_MAIL_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SEND_VERIFICATION_MAIL\x10\x01\x12\x1e\n\x1aSUPPRESS_VERIFICATION_MAIL\x10\x02\x42\xa4\x02\n,com.google.shopping.merchant.accounts.v1betaB\x1dVerificationMailSettingsProtoP\x01ZNcloud.google.com/go/shopping/merchant/accounts/apiv1beta/accountspb;accountspb\xaa\x02(Google.Shopping.Merchant.Accounts.V1Beta\xca\x02(Google\\Shopping\\Merchant\\Accounts\\V1beta\xea\x02,Google::Shopping::Merchant::Accounts::V1betab\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError
|
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
+
parsed.clear_dependency
|
|
21
|
+
serialized = parsed.class.encode(parsed)
|
|
22
|
+
file = pool.add_serialized_file(serialized)
|
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
+
imports = [
|
|
25
|
+
]
|
|
26
|
+
imports.each do |type_name, expected_filename|
|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
+
if import_file.name != expected_filename
|
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
+
warn "This will become an error in the next major version."
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
module Google
|
|
37
|
+
module Shopping
|
|
38
|
+
module Merchant
|
|
39
|
+
module Accounts
|
|
40
|
+
module V1beta
|
|
41
|
+
VerificationMailSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.VerificationMailSettings").msgclass
|
|
42
|
+
VerificationMailSettings::VerificationMailMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.VerificationMailSettings.VerificationMailMode").enummodule
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
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 V1beta
|
|
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::V1beta::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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-shopping-merchant-accounts-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -271,6 +271,7 @@ files:
|
|
|
271
271
|
- lib/google/shopping/merchant/accounts/v1beta/user_service/rest/client.rb
|
|
272
272
|
- lib/google/shopping/merchant/accounts/v1beta/user_service/rest/service_stub.rb
|
|
273
273
|
- lib/google/shopping/merchant/accounts/v1beta/user_services_pb.rb
|
|
274
|
+
- lib/google/shopping/merchant/accounts/v1beta/verificationmailsettings_pb.rb
|
|
274
275
|
- lib/google/shopping/merchant/accounts/v1beta/version.rb
|
|
275
276
|
- proto_docs/README.md
|
|
276
277
|
- proto_docs/google/api/client.rb
|
|
@@ -308,6 +309,7 @@ files:
|
|
|
308
309
|
- proto_docs/google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate.rb
|
|
309
310
|
- proto_docs/google/shopping/merchant/accounts/v1beta/termsofservicekind.rb
|
|
310
311
|
- proto_docs/google/shopping/merchant/accounts/v1beta/user.rb
|
|
312
|
+
- proto_docs/google/shopping/merchant/accounts/v1beta/verificationmailsettings.rb
|
|
311
313
|
- proto_docs/google/shopping/type/types.rb
|
|
312
314
|
- proto_docs/google/type/date.rb
|
|
313
315
|
- proto_docs/google/type/datetime.rb
|