google-shopping-merchant-products-v1beta 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/client.rb +547 -0
  6. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/credentials.rb +49 -0
  7. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/paths.rb +66 -0
  8. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest/client.rb +507 -0
  9. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest/service_stub.rb +190 -0
  10. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest.rb +55 -0
  11. data/lib/google/shopping/merchant/products/v1beta/product_inputs_service.rb +58 -0
  12. data/lib/google/shopping/merchant/products/v1beta/productinputs_pb.rb +56 -0
  13. data/lib/google/shopping/merchant/products/v1beta/productinputs_services_pb.rb +58 -0
  14. data/lib/google/shopping/merchant/products/v1beta/products_common_pb.rb +75 -0
  15. data/lib/google/shopping/merchant/products/v1beta/products_pb.rb +56 -0
  16. data/lib/google/shopping/merchant/products/v1beta/products_service/client.rb +552 -0
  17. data/lib/google/shopping/merchant/products/v1beta/products_service/credentials.rb +49 -0
  18. data/lib/google/shopping/merchant/products/v1beta/products_service/paths.rb +66 -0
  19. data/lib/google/shopping/merchant/products/v1beta/products_service/rest/client.rb +512 -0
  20. data/lib/google/shopping/merchant/products/v1beta/products_service/rest/service_stub.rb +189 -0
  21. data/lib/google/shopping/merchant/products/v1beta/products_service/rest.rb +55 -0
  22. data/lib/google/shopping/merchant/products/v1beta/products_service.rb +58 -0
  23. data/lib/google/shopping/merchant/products/v1beta/products_services_pb.rb +58 -0
  24. data/lib/google/shopping/merchant/products/v1beta/rest.rb +40 -0
  25. data/lib/google/shopping/merchant/products/v1beta/version.rb +7 -2
  26. data/lib/google/shopping/merchant/products/v1beta.rb +48 -0
  27. data/lib/google-shopping-merchant-products-v1beta.rb +21 -0
  28. data/proto_docs/README.md +4 -0
  29. data/proto_docs/google/api/client.rb +399 -0
  30. data/proto_docs/google/api/field_behavior.rb +85 -0
  31. data/proto_docs/google/api/launch_stage.rb +71 -0
  32. data/proto_docs/google/api/resource.rb +222 -0
  33. data/proto_docs/google/protobuf/duration.rb +98 -0
  34. data/proto_docs/google/protobuf/empty.rb +34 -0
  35. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  36. data/proto_docs/google/shopping/merchant/products/v1beta/productinputs.rb +152 -0
  37. data/proto_docs/google/shopping/merchant/products/v1beta/products.rb +152 -0
  38. data/proto_docs/google/shopping/merchant/products/v1beta/products_common.rb +899 -0
  39. data/proto_docs/google/shopping/type/types.rb +210 -0
  40. data/proto_docs/google/type/interval.rb +45 -0
  41. metadata +100 -10
@@ -0,0 +1,210 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 a time interval, encoded as a Timestamp start (inclusive) and a
23
+ # Timestamp end (exclusive).
24
+ #
25
+ # The start must be less than or equal to the end.
26
+ # When the start equals the end, the interval is empty (matches no time).
27
+ # When both start and end are unspecified, the interval matches any time.
28
+ # @!attribute [rw] start_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Optional. Inclusive start of the interval.
31
+ #
32
+ # If specified, a Timestamp matching this interval will have to be the same
33
+ # or after the start.
34
+ # @!attribute [rw] end_time
35
+ # @return [::Google::Protobuf::Timestamp]
36
+ # Optional. Exclusive end of the interval.
37
+ #
38
+ # If specified, a Timestamp matching this interval will have to be before the
39
+ # end.
40
+ class Interval
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+ end
45
+ end
metadata CHANGED
@@ -1,28 +1,118 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-products-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
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-04 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Placeholder for the future Google-authored gem google-shopping-merchant-products-v1beta.
14
- This placeholder is being released on 2024-06-04 in order to reserve the name. The
15
- final gem should be available shortly after that date. If it has not been released
16
- in a timely manner, or if this placeholder interferes with your work, you can contact
17
- the Google Ruby team by opening an issue in the GitHub repository https://github.com/googleapis/google-cloud-ruby.
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gapic-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.21.1
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.21.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 2.a
33
+ - !ruby/object:Gem::Dependency
34
+ name: google-cloud-errors
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: google-shopping-type
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.0'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.0'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 2.a
67
+ description: Programmatically manage your Merchant Center accounts. Note that google-shopping-merchant-products-v1beta
68
+ is a version-specific client library. For most uses, we recommend installing the
69
+ main client library google-shopping-merchant-products instead. See the readme for
70
+ more details.
18
71
  email: googleapis-packages@google.com
19
72
  executables: []
20
73
  extensions: []
21
74
  extra_rdoc_files: []
22
75
  files:
76
+ - ".yardopts"
77
+ - AUTHENTICATION.md
23
78
  - LICENSE.md
24
79
  - README.md
80
+ - lib/google-shopping-merchant-products-v1beta.rb
81
+ - lib/google/shopping/merchant/products/v1beta.rb
82
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service.rb
83
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/client.rb
84
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/credentials.rb
85
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/paths.rb
86
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest.rb
87
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest/client.rb
88
+ - lib/google/shopping/merchant/products/v1beta/product_inputs_service/rest/service_stub.rb
89
+ - lib/google/shopping/merchant/products/v1beta/productinputs_pb.rb
90
+ - lib/google/shopping/merchant/products/v1beta/productinputs_services_pb.rb
91
+ - lib/google/shopping/merchant/products/v1beta/products_common_pb.rb
92
+ - lib/google/shopping/merchant/products/v1beta/products_pb.rb
93
+ - lib/google/shopping/merchant/products/v1beta/products_service.rb
94
+ - lib/google/shopping/merchant/products/v1beta/products_service/client.rb
95
+ - lib/google/shopping/merchant/products/v1beta/products_service/credentials.rb
96
+ - lib/google/shopping/merchant/products/v1beta/products_service/paths.rb
97
+ - lib/google/shopping/merchant/products/v1beta/products_service/rest.rb
98
+ - lib/google/shopping/merchant/products/v1beta/products_service/rest/client.rb
99
+ - lib/google/shopping/merchant/products/v1beta/products_service/rest/service_stub.rb
100
+ - lib/google/shopping/merchant/products/v1beta/products_services_pb.rb
101
+ - lib/google/shopping/merchant/products/v1beta/rest.rb
25
102
  - lib/google/shopping/merchant/products/v1beta/version.rb
103
+ - proto_docs/README.md
104
+ - proto_docs/google/api/client.rb
105
+ - proto_docs/google/api/field_behavior.rb
106
+ - proto_docs/google/api/launch_stage.rb
107
+ - proto_docs/google/api/resource.rb
108
+ - proto_docs/google/protobuf/duration.rb
109
+ - proto_docs/google/protobuf/empty.rb
110
+ - proto_docs/google/protobuf/timestamp.rb
111
+ - proto_docs/google/shopping/merchant/products/v1beta/productinputs.rb
112
+ - proto_docs/google/shopping/merchant/products/v1beta/products.rb
113
+ - proto_docs/google/shopping/merchant/products/v1beta/products_common.rb
114
+ - proto_docs/google/shopping/type/types.rb
115
+ - proto_docs/google/type/interval.rb
26
116
  homepage: https://github.com/googleapis/google-cloud-ruby
27
117
  licenses:
28
118
  - Apache-2.0
@@ -35,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
35
125
  requirements:
36
126
  - - ">="
37
127
  - !ruby/object:Gem::Version
38
- version: '3.0'
128
+ version: '2.7'
39
129
  required_rubygems_version: !ruby/object:Gem::Requirement
40
130
  requirements:
41
131
  - - ">="
@@ -45,5 +135,5 @@ requirements: []
45
135
  rubygems_version: 3.5.6
46
136
  signing_key:
47
137
  specification_version: 4
48
- summary: Placeholder for the future Google-authored gem google-shopping-merchant-products-v1beta
138
+ summary: Programmatically manage your Merchant Center accounts.
49
139
  test_files: []