google-shopping-merchant-lfp-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 (49) 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/lfp/v1beta/lfp_inventory_service/client.rb +435 -0
  6. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/credentials.rb +49 -0
  7. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/paths.rb +70 -0
  8. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest/client.rb +402 -0
  9. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest/service_stub.rb +131 -0
  10. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest.rb +56 -0
  11. data/lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service.rb +59 -0
  12. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/client.rb +433 -0
  13. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/credentials.rb +49 -0
  14. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/paths.rb +52 -0
  15. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest/client.rb +400 -0
  16. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest/service_stub.rb +131 -0
  17. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest.rb +56 -0
  18. data/lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service.rb +59 -0
  19. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/client.rb +734 -0
  20. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/credentials.rb +49 -0
  21. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/paths.rb +68 -0
  22. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest/client.rb +680 -0
  23. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest/service_stub.rb +308 -0
  24. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest.rb +56 -0
  25. data/lib/google/shopping/merchant/lfp/v1beta/lfp_store_service.rb +59 -0
  26. data/lib/google/shopping/merchant/lfp/v1beta/lfpinventory_pb.rb +54 -0
  27. data/lib/google/shopping/merchant/lfp/v1beta/lfpinventory_services_pb.rb +51 -0
  28. data/lib/google/shopping/merchant/lfp/v1beta/lfpsale_pb.rb +55 -0
  29. data/lib/google/shopping/merchant/lfp/v1beta/lfpsale_services_pb.rb +49 -0
  30. data/lib/google/shopping/merchant/lfp/v1beta/lfpstore_pb.rb +56 -0
  31. data/lib/google/shopping/merchant/lfp/v1beta/lfpstore_services_pb.rb +57 -0
  32. data/lib/google/shopping/merchant/lfp/v1beta/rest.rb +41 -0
  33. data/lib/google/shopping/merchant/lfp/v1beta/version.rb +7 -2
  34. data/lib/google/shopping/merchant/lfp/v1beta.rb +49 -0
  35. data/lib/google-shopping-merchant-lfp-v1beta.rb +21 -0
  36. data/proto_docs/README.md +4 -0
  37. data/proto_docs/google/api/client.rb +399 -0
  38. data/proto_docs/google/api/field_behavior.rb +85 -0
  39. data/proto_docs/google/api/field_info.rb +65 -0
  40. data/proto_docs/google/api/launch_stage.rb +71 -0
  41. data/proto_docs/google/api/resource.rb +222 -0
  42. data/proto_docs/google/protobuf/duration.rb +98 -0
  43. data/proto_docs/google/protobuf/empty.rb +34 -0
  44. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  45. data/proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb +113 -0
  46. data/proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb +96 -0
  47. data/proto_docs/google/shopping/merchant/lfp/v1beta/lfpstore.rb +185 -0
  48. data/proto_docs/google/shopping/type/types.rb +183 -0
  49. metadata +108 -10
@@ -0,0 +1,183 @@
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 price represented as a number and currency.
24
+ # @!attribute [rw] amount_micros
25
+ # @return [::Integer]
26
+ # The price represented as a number in micros (1 million micros is an
27
+ # equivalent to one's currency standard unit, for example, 1 USD = 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] currency_code
32
+ # @return [::String]
33
+ # The currency of the price using three-letter acronyms according to [ISO
34
+ # 4217](http://en.wikipedia.org/wiki/ISO_4217).
35
+ class Price
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+ end
39
+
40
+ # A message that represents custom attributes. Exactly one of `value` or
41
+ # `group_values` must not be empty.
42
+ # @!attribute [rw] name
43
+ # @return [::String]
44
+ # The name of the attribute.
45
+ # @!attribute [rw] value
46
+ # @return [::String]
47
+ # The value of the attribute. If `value` is not empty, `group_values` must be
48
+ # empty.
49
+ # @!attribute [rw] group_values
50
+ # @return [::Array<::Google::Shopping::Type::CustomAttribute>]
51
+ # Subattributes within this attribute group. If
52
+ # `group_values` is not empty, `value` must be empty.
53
+ class CustomAttribute
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # Destinations available for a product.
59
+ #
60
+ # Destinations are used in Merchant Center to allow you to control where the
61
+ # products from your data feed should be displayed.
62
+ class Destination
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+
66
+ # Destination values.
67
+ module DestinationEnum
68
+ # Not specified.
69
+ DESTINATION_ENUM_UNSPECIFIED = 0
70
+
71
+ # [Shopping ads](https://support.google.com/google-ads/answer/2454022).
72
+ SHOPPING_ADS = 1
73
+
74
+ # [Display ads](https://support.google.com/merchants/answer/6069387).
75
+ DISPLAY_ADS = 2
76
+
77
+ # [Local inventory
78
+ # ads](https://support.google.com/merchants/answer/3057972).
79
+ LOCAL_INVENTORY_ADS = 3
80
+
81
+ # [Free listings](https://support.google.com/merchants/answer/9199328).
82
+ FREE_LISTINGS = 4
83
+
84
+ # [Free local product
85
+ # listings](https://support.google.com/merchants/answer/9825611).
86
+ FREE_LOCAL_LISTINGS = 5
87
+
88
+ # [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
89
+ YOUTUBE_SHOPPING = 6
90
+ end
91
+ end
92
+
93
+ # Reporting contexts that your account and product issues apply to.
94
+ #
95
+ # Reporting contexts are groups of surfaces and formats for product results on
96
+ # Google. They can represent the entire destination (for example, [Shopping
97
+ # ads](https://support.google.com/merchants/answer/6149970)) or a subset of
98
+ # formats within a destination (for example, [Demand Gen
99
+ # ads](https://support.google.com/merchants/answer/13389785)).
100
+ class ReportingContext
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+
104
+ # Reporting context values.
105
+ module ReportingContextEnum
106
+ # Not specified.
107
+ REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0
108
+
109
+ # [Shopping ads](https://support.google.com/merchants/answer/6149970).
110
+ SHOPPING_ADS = 1
111
+
112
+ # Deprecated: Use `DEMAND_GEN_ADS` instead.
113
+ # [Discovery and Demand Gen
114
+ # ads](https://support.google.com/merchants/answer/13389785).
115
+ DISCOVERY_ADS = 2
116
+
117
+ # [Demand Gen ads](https://support.google.com/merchants/answer/13389785).
118
+ DEMAND_GEN_ADS = 13
119
+
120
+ # [Demand Gen ads on Discover
121
+ # surface](https://support.google.com/merchants/answer/13389785).
122
+ DEMAND_GEN_ADS_DISCOVER_SURFACE = 14
123
+
124
+ # [Video ads](https://support.google.com/google-ads/answer/6340491).
125
+ VIDEO_ADS = 3
126
+
127
+ # [Display ads](https://support.google.com/merchants/answer/6069387).
128
+ DISPLAY_ADS = 4
129
+
130
+ # [Local inventory
131
+ # ads](https://support.google.com/merchants/answer/3271956).
132
+ LOCAL_INVENTORY_ADS = 5
133
+
134
+ # [Vehicle inventory
135
+ # ads](https://support.google.com/merchants/answer/11544533).
136
+ VEHICLE_INVENTORY_ADS = 6
137
+
138
+ # [Free product
139
+ # listings](https://support.google.com/merchants/answer/9199328).
140
+ FREE_LISTINGS = 7
141
+
142
+ # [Free local product
143
+ # listings](https://support.google.com/merchants/answer/9825611).
144
+ FREE_LOCAL_LISTINGS = 8
145
+
146
+ # [Free local vehicle
147
+ # listings](https://support.google.com/merchants/answer/11544533).
148
+ FREE_LOCAL_VEHICLE_LISTINGS = 9
149
+
150
+ # [YouTube
151
+ # Shopping](https://support.google.com/merchants/answer/13478370).
152
+ YOUTUBE_SHOPPING = 10
153
+
154
+ # [Cloud retail](https://cloud.google.com/solutions/retail).
155
+ CLOUD_RETAIL = 11
156
+
157
+ # [Local cloud retail](https://cloud.google.com/solutions/retail).
158
+ LOCAL_CLOUD_RETAIL = 12
159
+ end
160
+ end
161
+
162
+ # [Channel](https://support.google.com/merchants/answer/7361332) of a product.
163
+ #
164
+ # Channel is used to distinguish between online and local products.
165
+ class Channel
166
+ include ::Google::Protobuf::MessageExts
167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
168
+
169
+ # Channel values.
170
+ module ChannelEnum
171
+ # Not specified.
172
+ CHANNEL_ENUM_UNSPECIFIED = 0
173
+
174
+ # Online product.
175
+ ONLINE = 1
176
+
177
+ # Local product.
178
+ LOCAL = 2
179
+ end
180
+ end
181
+ end
182
+ end
183
+ end
metadata CHANGED
@@ -1,28 +1,126 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-lfp-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-04-23 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Placeholder for the future Google-authored gem google-shopping-merchant-lfp-v1beta.
14
- This placeholder is being released on 2024-04-23 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-04-25 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-lfp-v1beta
68
+ is a version-specific client library. For most uses, we recommend installing the
69
+ main client library google-shopping-merchant-lfp instead. See the readme for more
70
+ 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-lfp-v1beta.rb
81
+ - lib/google/shopping/merchant/lfp/v1beta.rb
82
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service.rb
83
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/client.rb
84
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/credentials.rb
85
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/paths.rb
86
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest.rb
87
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest/client.rb
88
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_inventory_service/rest/service_stub.rb
89
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service.rb
90
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/client.rb
91
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/credentials.rb
92
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/paths.rb
93
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest.rb
94
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest/client.rb
95
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_sale_service/rest/service_stub.rb
96
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service.rb
97
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/client.rb
98
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/credentials.rb
99
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/paths.rb
100
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest.rb
101
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest/client.rb
102
+ - lib/google/shopping/merchant/lfp/v1beta/lfp_store_service/rest/service_stub.rb
103
+ - lib/google/shopping/merchant/lfp/v1beta/lfpinventory_pb.rb
104
+ - lib/google/shopping/merchant/lfp/v1beta/lfpinventory_services_pb.rb
105
+ - lib/google/shopping/merchant/lfp/v1beta/lfpsale_pb.rb
106
+ - lib/google/shopping/merchant/lfp/v1beta/lfpsale_services_pb.rb
107
+ - lib/google/shopping/merchant/lfp/v1beta/lfpstore_pb.rb
108
+ - lib/google/shopping/merchant/lfp/v1beta/lfpstore_services_pb.rb
109
+ - lib/google/shopping/merchant/lfp/v1beta/rest.rb
25
110
  - lib/google/shopping/merchant/lfp/v1beta/version.rb
111
+ - proto_docs/README.md
112
+ - proto_docs/google/api/client.rb
113
+ - proto_docs/google/api/field_behavior.rb
114
+ - proto_docs/google/api/field_info.rb
115
+ - proto_docs/google/api/launch_stage.rb
116
+ - proto_docs/google/api/resource.rb
117
+ - proto_docs/google/protobuf/duration.rb
118
+ - proto_docs/google/protobuf/empty.rb
119
+ - proto_docs/google/protobuf/timestamp.rb
120
+ - proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb
121
+ - proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb
122
+ - proto_docs/google/shopping/merchant/lfp/v1beta/lfpstore.rb
123
+ - proto_docs/google/shopping/type/types.rb
26
124
  homepage: https://github.com/googleapis/google-cloud-ruby
27
125
  licenses:
28
126
  - Apache-2.0
@@ -35,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
35
133
  requirements:
36
134
  - - ">="
37
135
  - !ruby/object:Gem::Version
38
- version: '3.0'
136
+ version: '2.7'
39
137
  required_rubygems_version: !ruby/object:Gem::Requirement
40
138
  requirements:
41
139
  - - ">="
@@ -45,5 +143,5 @@ requirements: []
45
143
  rubygems_version: 3.5.6
46
144
  signing_key:
47
145
  specification_version: 4
48
- summary: Placeholder for the future Google-authored gem google-shopping-merchant-lfp-v1beta
146
+ summary: Programmatically manage your Merchant Center accounts.
49
147
  test_files: []