google-shopping-merchant-reports-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 +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/shopping/merchant/reports/v1beta/report_service/client.rb +426 -0
  6. data/lib/google/shopping/merchant/reports/v1beta/report_service/credentials.rb +49 -0
  7. data/lib/google/shopping/merchant/reports/v1beta/report_service/rest/client.rb +390 -0
  8. data/lib/google/shopping/merchant/reports/v1beta/report_service/rest/service_stub.rb +110 -0
  9. data/lib/google/shopping/merchant/reports/v1beta/report_service/rest.rb +54 -0
  10. data/lib/google/shopping/merchant/reports/v1beta/report_service.rb +57 -0
  11. data/lib/google/shopping/merchant/reports/v1beta/reports_pb.rb +84 -0
  12. data/lib/google/shopping/merchant/reports/v1beta/reports_services_pb.rb +50 -0
  13. data/lib/google/shopping/merchant/reports/v1beta/rest.rb +39 -0
  14. data/lib/google/shopping/merchant/reports/v1beta/version.rb +7 -2
  15. data/lib/google/shopping/merchant/reports/v1beta.rb +47 -0
  16. data/lib/google-shopping-merchant-reports-v1beta.rb +21 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/client.rb +381 -0
  19. data/proto_docs/google/api/field_behavior.rb +85 -0
  20. data/proto_docs/google/api/launch_stage.rb +71 -0
  21. data/proto_docs/google/api/resource.rb +222 -0
  22. data/proto_docs/google/protobuf/duration.rb +98 -0
  23. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  24. data/proto_docs/google/shopping/merchant/reports/v1beta/reports.rb +1260 -0
  25. data/proto_docs/google/shopping/type/types.rb +175 -0
  26. data/proto_docs/google/type/date.rb +53 -0
  27. metadata +200 -12
@@ -0,0 +1,175 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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, [Discovery
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
+ # [Discovery and Demand Gen
113
+ # ads](https://support.google.com/merchants/answer/13389785).
114
+ DISCOVERY_ADS = 2
115
+
116
+ # [Video ads](https://support.google.com/google-ads/answer/6340491).
117
+ VIDEO_ADS = 3
118
+
119
+ # [Display ads](https://support.google.com/merchants/answer/6069387).
120
+ DISPLAY_ADS = 4
121
+
122
+ # [Local inventory
123
+ # ads](https://support.google.com/merchants/answer/3271956).
124
+ LOCAL_INVENTORY_ADS = 5
125
+
126
+ # [Vehicle inventory
127
+ # ads](https://support.google.com/merchants/answer/11544533).
128
+ VEHICLE_INVENTORY_ADS = 6
129
+
130
+ # [Free product
131
+ # listings](https://support.google.com/merchants/answer/9199328).
132
+ FREE_LISTINGS = 7
133
+
134
+ # [Free local product
135
+ # listings](https://support.google.com/merchants/answer/9825611).
136
+ FREE_LOCAL_LISTINGS = 8
137
+
138
+ # [Free local vehicle
139
+ # listings](https://support.google.com/merchants/answer/11544533).
140
+ FREE_LOCAL_VEHICLE_LISTINGS = 9
141
+
142
+ # [YouTube
143
+ # Shopping](https://support.google.com/merchants/answer/13478370).
144
+ YOUTUBE_SHOPPING = 10
145
+
146
+ # [Cloud retail](https://cloud.google.com/solutions/retail).
147
+ CLOUD_RETAIL = 11
148
+
149
+ # [Local cloud retail](https://cloud.google.com/solutions/retail).
150
+ LOCAL_CLOUD_RETAIL = 12
151
+ end
152
+ end
153
+
154
+ # [Channel](https://support.google.com/merchants/answer/7361332) of a product.
155
+ #
156
+ # Channel is used to distinguish between online and local products.
157
+ class Channel
158
+ include ::Google::Protobuf::MessageExts
159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
160
+
161
+ # Channel values.
162
+ module ChannelEnum
163
+ # Not specified.
164
+ CHANNEL_ENUM_UNSPECIFIED = 0
165
+
166
+ # Online product.
167
+ ONLINE = 1
168
+
169
+ # Local product.
170
+ LOCAL = 2
171
+ end
172
+ end
173
+ end
174
+ end
175
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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 whole or partial calendar date, such as a birthday. The time of
23
+ # day and time zone are either specified elsewhere or are insignificant. The
24
+ # date is relative to the Gregorian Calendar. This can represent one of the
25
+ # following:
26
+ #
27
+ # * A full date, with non-zero year, month, and day values
28
+ # * A month and day value, with a zero year, such as an anniversary
29
+ # * A year on its own, with zero month and day values
30
+ # * A year and month value, with a zero day, such as a credit card expiration
31
+ # date
32
+ #
33
+ # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
34
+ # `google.protobuf.Timestamp`.
35
+ # @!attribute [rw] year
36
+ # @return [::Integer]
37
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
38
+ # a year.
39
+ # @!attribute [rw] month
40
+ # @return [::Integer]
41
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a
42
+ # month and day.
43
+ # @!attribute [rw] day
44
+ # @return [::Integer]
45
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
46
+ # to specify a year by itself or a year and month where the day isn't
47
+ # significant.
48
+ class Date
49
+ include ::Google::Protobuf::MessageExts
50
+ extend ::Google::Protobuf::MessageExts::ClassMethods
51
+ end
52
+ end
53
+ end
metadata CHANGED
@@ -1,28 +1,216 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-reports-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: 2023-10-17 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Placeholder for the future Google-authored gem google-shopping-merchant-reports-v1beta.
14
- This placeholder is being released on 2023-10-17 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: 2023-10-23 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.20.0
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.20.0
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
+ - !ruby/object:Gem::Dependency
68
+ name: google-style
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: 1.26.3
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: 1.26.3
81
+ - !ruby/object:Gem::Dependency
82
+ name: minitest
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '5.16'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '5.16'
95
+ - !ruby/object:Gem::Dependency
96
+ name: minitest-focus
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '1.1'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '1.1'
109
+ - !ruby/object:Gem::Dependency
110
+ name: minitest-rg
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '5.2'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '5.2'
123
+ - !ruby/object:Gem::Dependency
124
+ name: rake
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '13.0'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '13.0'
137
+ - !ruby/object:Gem::Dependency
138
+ name: redcarpet
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '3.0'
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '3.0'
151
+ - !ruby/object:Gem::Dependency
152
+ name: simplecov
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '0.18'
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '0.18'
165
+ - !ruby/object:Gem::Dependency
166
+ name: yard
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '0.9'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
177
+ - !ruby/object:Gem::Version
178
+ version: '0.9'
179
+ description: Programmatically manage your Merchant Center accounts. Note that google-shopping-merchant-reports-v1beta
180
+ is a version-specific client library. For most uses, we recommend installing the
181
+ main client library google-shopping-merchant-reports instead. See the readme for
182
+ more details.
18
183
  email: googleapis-packages@google.com
19
184
  executables: []
20
185
  extensions: []
21
186
  extra_rdoc_files: []
22
187
  files:
188
+ - ".yardopts"
189
+ - AUTHENTICATION.md
23
190
  - LICENSE.md
24
191
  - README.md
192
+ - lib/google-shopping-merchant-reports-v1beta.rb
193
+ - lib/google/shopping/merchant/reports/v1beta.rb
194
+ - lib/google/shopping/merchant/reports/v1beta/report_service.rb
195
+ - lib/google/shopping/merchant/reports/v1beta/report_service/client.rb
196
+ - lib/google/shopping/merchant/reports/v1beta/report_service/credentials.rb
197
+ - lib/google/shopping/merchant/reports/v1beta/report_service/rest.rb
198
+ - lib/google/shopping/merchant/reports/v1beta/report_service/rest/client.rb
199
+ - lib/google/shopping/merchant/reports/v1beta/report_service/rest/service_stub.rb
200
+ - lib/google/shopping/merchant/reports/v1beta/reports_pb.rb
201
+ - lib/google/shopping/merchant/reports/v1beta/reports_services_pb.rb
202
+ - lib/google/shopping/merchant/reports/v1beta/rest.rb
25
203
  - lib/google/shopping/merchant/reports/v1beta/version.rb
204
+ - proto_docs/README.md
205
+ - proto_docs/google/api/client.rb
206
+ - proto_docs/google/api/field_behavior.rb
207
+ - proto_docs/google/api/launch_stage.rb
208
+ - proto_docs/google/api/resource.rb
209
+ - proto_docs/google/protobuf/duration.rb
210
+ - proto_docs/google/protobuf/timestamp.rb
211
+ - proto_docs/google/shopping/merchant/reports/v1beta/reports.rb
212
+ - proto_docs/google/shopping/type/types.rb
213
+ - proto_docs/google/type/date.rb
26
214
  homepage: https://github.com/googleapis/google-cloud-ruby
27
215
  licenses:
28
216
  - Apache-2.0
@@ -35,15 +223,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
35
223
  requirements:
36
224
  - - ">="
37
225
  - !ruby/object:Gem::Version
38
- version: '3.0'
226
+ version: '2.6'
39
227
  required_rubygems_version: !ruby/object:Gem::Requirement
40
228
  requirements:
41
- - - ">"
229
+ - - ">="
42
230
  - !ruby/object:Gem::Version
43
- version: 1.3.1
231
+ version: '0'
44
232
  requirements: []
45
233
  rubygems_version: 3.4.19
46
234
  signing_key:
47
235
  specification_version: 4
48
- summary: Placeholder for the future Google-authored gem google-shopping-merchant-reports-v1beta
236
+ summary: Programmatically manage your Merchant Center accounts.
49
237
  test_files: []