google-shopping-merchant-order_tracking-v1beta 0.a → 0.1.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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/client.rb +467 -0
  6. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/credentials.rb +49 -0
  7. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/paths.rb +49 -0
  8. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest/client.rb +434 -0
  9. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest/service_stub.rb +145 -0
  10. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest.rb +54 -0
  11. data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service.rb +57 -0
  12. data/lib/google/shopping/merchant/order_tracking/v1beta/rest.rb +39 -0
  13. data/lib/google/shopping/merchant/order_tracking/v1beta/version.rb +7 -2
  14. data/lib/google/shopping/merchant/order_tracking/v1beta.rb +47 -0
  15. data/lib/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals_pb.rb +58 -0
  16. data/lib/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals_services_pb.rb +47 -0
  17. data/lib/google-shopping-merchant-order_tracking-v1beta.rb +21 -0
  18. data/proto_docs/README.md +4 -0
  19. data/proto_docs/google/api/client.rb +473 -0
  20. data/proto_docs/google/api/field_behavior.rb +85 -0
  21. data/proto_docs/google/api/launch_stage.rb +71 -0
  22. data/proto_docs/google/api/resource.rb +227 -0
  23. data/proto_docs/google/protobuf/duration.rb +98 -0
  24. data/proto_docs/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals.rb +211 -0
  25. data/proto_docs/google/shopping/type/types.rb +210 -0
  26. data/proto_docs/google/type/datetime.rb +103 -0
  27. metadata +92 -10
@@ -0,0 +1,210 @@
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 Type
23
+ # The weight represented as the value in string and the unit.
24
+ # @!attribute [rw] amount_micros
25
+ # @return [::Integer]
26
+ # Required. The weight represented as a number in micros (1 million micros is
27
+ # an equivalent to one's currency standard unit, for example, 1 kg = 1000000
28
+ # micros).
29
+ # This field can also be set as infinity by setting to -1.
30
+ # This field only support -1 and positive value.
31
+ # @!attribute [rw] unit
32
+ # @return [::Google::Shopping::Type::Weight::WeightUnit]
33
+ # Required. The weight unit.
34
+ # Acceptable values are: kg and lb
35
+ class Weight
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+
39
+ # The weight unit.
40
+ module WeightUnit
41
+ # unit unspecified
42
+ WEIGHT_UNIT_UNSPECIFIED = 0
43
+
44
+ # lb unit.
45
+ POUND = 1
46
+
47
+ # kg unit.
48
+ KILOGRAM = 2
49
+ end
50
+ end
51
+
52
+ # The price represented as a number and currency.
53
+ # @!attribute [rw] amount_micros
54
+ # @return [::Integer]
55
+ # The price represented as a number in micros (1 million micros is an
56
+ # equivalent to one's currency standard unit, for example, 1 USD = 1000000
57
+ # micros).
58
+ # @!attribute [rw] currency_code
59
+ # @return [::String]
60
+ # The currency of the price using three-letter acronyms according to [ISO
61
+ # 4217](http://en.wikipedia.org/wiki/ISO_4217).
62
+ class Price
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # A message that represents custom attributes. Exactly one of `value` or
68
+ # `group_values` must not be empty.
69
+ # @!attribute [rw] name
70
+ # @return [::String]
71
+ # The name of the attribute.
72
+ # @!attribute [rw] value
73
+ # @return [::String]
74
+ # The value of the attribute. If `value` is not empty, `group_values` must be
75
+ # empty.
76
+ # @!attribute [rw] group_values
77
+ # @return [::Array<::Google::Shopping::Type::CustomAttribute>]
78
+ # Subattributes within this attribute group. If
79
+ # `group_values` is not empty, `value` must be empty.
80
+ class CustomAttribute
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # Destinations available for a product.
86
+ #
87
+ # Destinations are used in Merchant Center to allow you to control where the
88
+ # products from your data feed should be displayed.
89
+ class Destination
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+
93
+ # Destination values.
94
+ module DestinationEnum
95
+ # Not specified.
96
+ DESTINATION_ENUM_UNSPECIFIED = 0
97
+
98
+ # [Shopping ads](https://support.google.com/google-ads/answer/2454022).
99
+ SHOPPING_ADS = 1
100
+
101
+ # [Display ads](https://support.google.com/merchants/answer/6069387).
102
+ DISPLAY_ADS = 2
103
+
104
+ # [Local inventory
105
+ # ads](https://support.google.com/merchants/answer/3057972).
106
+ LOCAL_INVENTORY_ADS = 3
107
+
108
+ # [Free listings](https://support.google.com/merchants/answer/9199328).
109
+ FREE_LISTINGS = 4
110
+
111
+ # [Free local product
112
+ # listings](https://support.google.com/merchants/answer/9825611).
113
+ FREE_LOCAL_LISTINGS = 5
114
+
115
+ # [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
116
+ YOUTUBE_SHOPPING = 6
117
+ end
118
+ end
119
+
120
+ # Reporting contexts that your account and product issues apply to.
121
+ #
122
+ # Reporting contexts are groups of surfaces and formats for product results on
123
+ # Google. They can represent the entire destination (for example, [Shopping
124
+ # ads](https://support.google.com/merchants/answer/6149970)) or a subset of
125
+ # formats within a destination (for example, [Demand Gen
126
+ # ads](https://support.google.com/merchants/answer/13389785)).
127
+ class ReportingContext
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+
131
+ # Reporting context values.
132
+ module ReportingContextEnum
133
+ # Not specified.
134
+ REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0
135
+
136
+ # [Shopping ads](https://support.google.com/merchants/answer/6149970).
137
+ SHOPPING_ADS = 1
138
+
139
+ # Deprecated: Use `DEMAND_GEN_ADS` instead.
140
+ # [Discovery and Demand Gen
141
+ # ads](https://support.google.com/merchants/answer/13389785).
142
+ DISCOVERY_ADS = 2
143
+
144
+ # [Demand Gen ads](https://support.google.com/merchants/answer/13389785).
145
+ DEMAND_GEN_ADS = 13
146
+
147
+ # [Demand Gen ads on Discover
148
+ # surface](https://support.google.com/merchants/answer/13389785).
149
+ DEMAND_GEN_ADS_DISCOVER_SURFACE = 14
150
+
151
+ # [Video ads](https://support.google.com/google-ads/answer/6340491).
152
+ VIDEO_ADS = 3
153
+
154
+ # [Display ads](https://support.google.com/merchants/answer/6069387).
155
+ DISPLAY_ADS = 4
156
+
157
+ # [Local inventory
158
+ # ads](https://support.google.com/merchants/answer/3271956).
159
+ LOCAL_INVENTORY_ADS = 5
160
+
161
+ # [Vehicle inventory
162
+ # ads](https://support.google.com/merchants/answer/11544533).
163
+ VEHICLE_INVENTORY_ADS = 6
164
+
165
+ # [Free product
166
+ # listings](https://support.google.com/merchants/answer/9199328).
167
+ FREE_LISTINGS = 7
168
+
169
+ # [Free local product
170
+ # listings](https://support.google.com/merchants/answer/9825611).
171
+ FREE_LOCAL_LISTINGS = 8
172
+
173
+ # [Free local vehicle
174
+ # listings](https://support.google.com/merchants/answer/11544533).
175
+ FREE_LOCAL_VEHICLE_LISTINGS = 9
176
+
177
+ # [YouTube
178
+ # Shopping](https://support.google.com/merchants/answer/13478370).
179
+ YOUTUBE_SHOPPING = 10
180
+
181
+ # [Cloud retail](https://cloud.google.com/solutions/retail).
182
+ CLOUD_RETAIL = 11
183
+
184
+ # [Local cloud retail](https://cloud.google.com/solutions/retail).
185
+ LOCAL_CLOUD_RETAIL = 12
186
+ end
187
+ end
188
+
189
+ # [Channel](https://support.google.com/merchants/answer/7361332) of a product.
190
+ #
191
+ # Channel is used to distinguish between online and local products.
192
+ class Channel
193
+ include ::Google::Protobuf::MessageExts
194
+ extend ::Google::Protobuf::MessageExts::ClassMethods
195
+
196
+ # Channel values.
197
+ module ChannelEnum
198
+ # Not specified.
199
+ CHANNEL_ENUM_UNSPECIFIED = 0
200
+
201
+ # Online product.
202
+ ONLINE = 1
203
+
204
+ # Local product.
205
+ LOCAL = 2
206
+ end
207
+ end
208
+ end
209
+ end
210
+ end
@@ -0,0 +1,103 @@
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
+ # Represents civil time (or occasionally physical time).
23
+ #
24
+ # This type can represent a civil time in one of a few possible ways:
25
+ #
26
+ # * When utc_offset is set and time_zone is unset: a civil time on a calendar
27
+ # day with a particular offset from UTC.
28
+ # * When time_zone is set and utc_offset is unset: a civil time on a calendar
29
+ # day in a particular time zone.
30
+ # * When neither time_zone nor utc_offset is set: a civil time on a calendar
31
+ # day in local time.
32
+ #
33
+ # The date is relative to the Proleptic Gregorian Calendar.
34
+ #
35
+ # If year is 0, the DateTime is considered not to have a specific year. month
36
+ # and day must have valid, non-zero values.
37
+ #
38
+ # This type may also be used to represent a physical time if all the date and
39
+ # time fields are set and either case of the `time_offset` oneof is set.
40
+ # Consider using `Timestamp` message for physical time instead. If your use
41
+ # case also would like to store the user's timezone, that can be done in
42
+ # another field.
43
+ #
44
+ # This type is more flexible than some applications may want. Make sure to
45
+ # document and validate your application's limitations.
46
+ # @!attribute [rw] year
47
+ # @return [::Integer]
48
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
49
+ # datetime without a year.
50
+ # @!attribute [rw] month
51
+ # @return [::Integer]
52
+ # Required. Month of year. Must be from 1 to 12.
53
+ # @!attribute [rw] day
54
+ # @return [::Integer]
55
+ # Required. Day of month. Must be from 1 to 31 and valid for the year and
56
+ # month.
57
+ # @!attribute [rw] hours
58
+ # @return [::Integer]
59
+ # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
60
+ # may choose to allow the value "24:00:00" for scenarios like business
61
+ # closing time.
62
+ # @!attribute [rw] minutes
63
+ # @return [::Integer]
64
+ # Required. Minutes of hour of day. Must be from 0 to 59.
65
+ # @!attribute [rw] seconds
66
+ # @return [::Integer]
67
+ # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
68
+ # API may allow the value 60 if it allows leap-seconds.
69
+ # @!attribute [rw] nanos
70
+ # @return [::Integer]
71
+ # Required. Fractions of seconds in nanoseconds. Must be from 0 to
72
+ # 999,999,999.
73
+ # @!attribute [rw] utc_offset
74
+ # @return [::Google::Protobuf::Duration]
75
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
76
+ # For example, a UTC offset of -4:00 would be represented as
77
+ # { seconds: -14400 }.
78
+ #
79
+ # Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
80
+ # @!attribute [rw] time_zone
81
+ # @return [::Google::Type::TimeZone]
82
+ # Time zone.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
85
+ class DateTime
86
+ include ::Google::Protobuf::MessageExts
87
+ extend ::Google::Protobuf::MessageExts::ClassMethods
88
+ end
89
+
90
+ # Represents a time zone from the
91
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
92
+ # @!attribute [rw] id
93
+ # @return [::String]
94
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
95
+ # @!attribute [rw] version
96
+ # @return [::String]
97
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
98
+ class TimeZone
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+ end
103
+ end
metadata CHANGED
@@ -1,27 +1,109 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-order_tracking-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.a
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
- dependencies: []
12
- description: Placeholder for the future Google-authored gem google-shopping-merchant-order_tracking-v1beta.
13
- This placeholder is being released on 2025-05-15 in order to reserve the name. The
14
- final gem should be available shortly after that date. If it has not been released
15
- in a timely manner, or if this placeholder interferes with your work, you can contact
16
- the Google Ruby team by opening an issue in the GitHub repository https://github.com/googleapis/google-cloud-ruby.
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: gapic-common
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '1.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: google-cloud-errors
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: google-shopping-type
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.0'
47
+ - - "<"
48
+ - !ruby/object:Gem::Version
49
+ version: 2.a
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">"
55
+ - !ruby/object:Gem::Version
56
+ version: '0.0'
57
+ - - "<"
58
+ - !ruby/object:Gem::Version
59
+ version: 2.a
60
+ description: 'Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables
61
+ you to programmatically manage your accounts. Conversions Sub-API: Enables you to
62
+ programmatically manage your conversion sources for a merchant account. Datasources
63
+ Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API:
64
+ This bundle enables you to programmatically manage your local and regional inventories.
65
+ Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local
66
+ inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically
67
+ manage your notification subscriptions. Products Sub-API: This bundle enables you
68
+ to programmatically manage your products. Promotions Sub-API: This bundle enables
69
+ you to programmatically manage your promotions for products. Quota Sub-API: This
70
+ bundle enables you to list your quotas for all APIs you are using. Reports Sub-API:
71
+ This bundle enables you to programmatically retrieve reports and insights about
72
+ products, their performance and their competitive environment. Note that google-shopping-merchant-order_tracking-v1beta
73
+ is a version-specific client library. For most uses, we recommend installing the
74
+ main client library google-shopping-merchant-order_tracking instead. See the readme
75
+ for more details.'
17
76
  email: googleapis-packages@google.com
18
77
  executables: []
19
78
  extensions: []
20
79
  extra_rdoc_files: []
21
80
  files:
81
+ - ".yardopts"
82
+ - AUTHENTICATION.md
22
83
  - LICENSE.md
23
84
  - README.md
85
+ - lib/google-shopping-merchant-order_tracking-v1beta.rb
86
+ - lib/google/shopping/merchant/order_tracking/v1beta.rb
87
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service.rb
88
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/client.rb
89
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/credentials.rb
90
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/paths.rb
91
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest.rb
92
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest/client.rb
93
+ - lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/rest/service_stub.rb
94
+ - lib/google/shopping/merchant/order_tracking/v1beta/rest.rb
24
95
  - lib/google/shopping/merchant/order_tracking/v1beta/version.rb
96
+ - lib/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals_pb.rb
97
+ - lib/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals_services_pb.rb
98
+ - proto_docs/README.md
99
+ - proto_docs/google/api/client.rb
100
+ - proto_docs/google/api/field_behavior.rb
101
+ - proto_docs/google/api/launch_stage.rb
102
+ - proto_docs/google/api/resource.rb
103
+ - proto_docs/google/protobuf/duration.rb
104
+ - proto_docs/google/shopping/merchant/ordertracking/v1beta/order_tracking_signals.rb
105
+ - proto_docs/google/shopping/type/types.rb
106
+ - proto_docs/google/type/datetime.rb
25
107
  homepage: https://github.com/googleapis/google-cloud-ruby
26
108
  licenses:
27
109
  - Apache-2.0
@@ -33,14 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
33
115
  requirements:
34
116
  - - ">="
35
117
  - !ruby/object:Gem::Version
36
- version: '3.0'
118
+ version: '3.1'
37
119
  required_rubygems_version: !ruby/object:Gem::Requirement
38
120
  requirements:
39
121
  - - ">="
40
122
  - !ruby/object:Gem::Version
41
123
  version: '0'
42
124
  requirements: []
43
- rubygems_version: 3.6.8
125
+ rubygems_version: 3.6.9
44
126
  specification_version: 4
45
- summary: Placeholder for the future Google-authored gem google-shopping-merchant-order_tracking-v1beta
127
+ summary: Programmatically manage your Merchant Center Accounts.
46
128
  test_files: []