@google-shopping/reports 0.13.0 → 0.13.1
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.
- package/README.md +28 -47
- package/build/protos/protos.json +8 -1
- package/build/src/v1/gapic_metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
|
|
2
|
-
[//]: # "
|
|
2
|
+
[//]: # "The comments you see below are used to generate those parts of the template in later states."
|
|
3
3
|
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
|
|
4
4
|
|
|
5
|
-
# [Merchant API:
|
|
6
|
-
|
|
7
|
-
[](https://cloud.google.com/terms/launch-stages)
|
|
8
|
-
[](https://www.npmjs.org/package/@google-shopping/reports)
|
|
9
|
-
|
|
5
|
+
# [Merchant API: Nodejs Client][homepage]
|
|
10
6
|
|
|
7
|
+
This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
|
|
8
|
+
unless absolutely necessary (e.g. because of critical security issues) or with
|
|
9
|
+
an extensive deprecation period. Issues and requests against **stable** libraries
|
|
10
|
+
are addressed with the highest priority
|
|
11
11
|
|
|
12
|
+
[](https://www.npmjs.org/package/@google-shopping/reports)
|
|
12
13
|
|
|
13
14
|
Merchant API client for Node.js
|
|
14
15
|
|
|
16
|
+
[//]: # "partials.introduction"
|
|
15
17
|
|
|
16
18
|
A comprehensive list of changes in each version may be found in
|
|
17
|
-
[the CHANGELOG]
|
|
19
|
+
[the CHANGELOG][homepage_changelog].
|
|
18
20
|
|
|
19
|
-
* [Merchant API
|
|
20
|
-
* [Merchant API Documentation]
|
|
21
|
-
* [github.com/googleapis/google-cloud-node/packages/google-shopping-merchant-reports](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-shopping-merchant-reports)
|
|
21
|
+
* [Merchant API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/reports/latest)
|
|
22
|
+
* [Merchant API Documentation](https://developers.google.com/merchant/api)
|
|
22
23
|
|
|
23
24
|
Read more about the client libraries for Cloud APIs, including the older
|
|
24
25
|
Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
@@ -27,18 +28,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
27
28
|
|
|
28
29
|
**Table of contents:**
|
|
29
30
|
|
|
30
|
-
|
|
31
31
|
* [Quickstart](#quickstart)
|
|
32
32
|
* [Before you begin](#before-you-begin)
|
|
33
33
|
* [Installing the client library](#installing-the-client-library)
|
|
34
34
|
|
|
35
|
-
* [Samples](#samples)
|
|
36
35
|
* [Versioning](#versioning)
|
|
37
36
|
* [Contributing](#contributing)
|
|
38
37
|
* [License](#license)
|
|
39
38
|
|
|
40
39
|
## Quickstart
|
|
41
|
-
|
|
42
40
|
### Before you begin
|
|
43
41
|
|
|
44
42
|
1. [Select or create a Cloud Platform project][projects].
|
|
@@ -46,32 +44,28 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
46
44
|
1. [Enable the Merchant API API][enable_api].
|
|
47
45
|
1. [Set up authentication][auth] so you can access the
|
|
48
46
|
API from your local workstation.
|
|
49
|
-
|
|
50
47
|
### Installing the client library
|
|
51
48
|
|
|
52
49
|
```bash
|
|
53
50
|
npm install @google-shopping/reports
|
|
54
51
|
```
|
|
55
52
|
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
[//]: # "partials.body"
|
|
58
54
|
|
|
59
55
|
## Samples
|
|
60
56
|
|
|
61
|
-
Samples are in the [`samples/`]
|
|
62
|
-
|
|
63
|
-
| Sample | Source Code | Try it |
|
|
64
|
-
| --------------------------- | --------------------------------- | ------ |
|
|
65
|
-
| Report_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1/report_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-shopping-merchant-reports/samples/generated/v1/report_service.search.js,packages/google-shopping-merchant-reports/samples/README.md) |
|
|
66
|
-
| Report_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1alpha/report_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-shopping-merchant-reports/samples/generated/v1alpha/report_service.search.js,packages/google-shopping-merchant-reports/samples/README.md) |
|
|
67
|
-
| Report_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1beta/report_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-shopping-merchant-reports/samples/generated/v1beta/report_service.search.js,packages/google-shopping-merchant-reports/samples/README.md) |
|
|
68
|
-
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-shopping-merchant-reports/samples/quickstart.js,packages/google-shopping-merchant-reports/samples/README.md) |
|
|
57
|
+
Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample.
|
|
69
58
|
|
|
59
|
+
| Sample | Source Code |
|
|
60
|
+
| --------------------------- | --------------------------------- |
|
|
61
|
+
| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1/report_service.search.js) |
|
|
62
|
+
| shopping | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1/snippet_metadata_google.shopping.merchant.reports.v1.json) |
|
|
63
|
+
| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1alpha/report_service.search.js) |
|
|
64
|
+
| shopping | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1alpha/snippet_metadata_google.shopping.merchant.reports.v1alpha.json) |
|
|
65
|
+
| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1beta/report_service.search.js) |
|
|
66
|
+
| shopping | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples/generated/v1beta/snippet_metadata_google.shopping.merchant.reports.v1beta.json) |
|
|
70
67
|
|
|
71
68
|
|
|
72
|
-
The [Merchant API Node.js Client API Reference][client-docs] documentation
|
|
73
|
-
also contains samples.
|
|
74
|
-
|
|
75
69
|
## Supported Node.js Versions
|
|
76
70
|
|
|
77
71
|
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
|
|
@@ -97,42 +91,29 @@ for versions compatible with Node.js 8.
|
|
|
97
91
|
|
|
98
92
|
This library follows [Semantic Versioning](http://semver.org/).
|
|
99
93
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
|
|
103
|
-
unless absolutely necessary (e.g. because of critical security issues) or with
|
|
104
|
-
an extensive deprecation period. Issues and requests against **stable** libraries
|
|
105
|
-
are addressed with the highest priority.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
94
|
More Information: [Google Cloud Platform Launch Stages][launch_stages]
|
|
113
95
|
|
|
114
96
|
[launch_stages]: https://cloud.google.com/terms/launch-stages
|
|
115
97
|
|
|
116
98
|
## Contributing
|
|
117
99
|
|
|
118
|
-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
|
|
100
|
+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/CONTRIBUTING.md).
|
|
119
101
|
|
|
120
|
-
Please note that this `README.md
|
|
102
|
+
Please note that this `README.md`
|
|
121
103
|
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
|
|
122
|
-
are generated from a central template.
|
|
123
|
-
to its templates in
|
|
124
|
-
[directory](https://github.com/googleapis/synthtool).
|
|
104
|
+
are generated from a central template.
|
|
125
105
|
|
|
126
106
|
## License
|
|
127
107
|
|
|
128
108
|
Apache Version 2.0
|
|
129
109
|
|
|
130
|
-
See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
110
|
+
See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/LICENSE)
|
|
131
111
|
|
|
132
|
-
[client-docs]: https://cloud.google.com/nodejs/docs/reference/merchantapi/latest
|
|
133
|
-
[product-docs]: https://developers.google.com/merchant/api
|
|
134
112
|
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
|
|
135
113
|
[projects]: https://console.cloud.google.com/project
|
|
136
114
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
137
115
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=merchantapi.googleapis.com
|
|
138
116
|
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
|
|
117
|
+
[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/samples
|
|
118
|
+
[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports/CHANGELOG.md
|
|
119
|
+
[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-shopping-merchant-reports
|
package/build/protos/protos.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
4
4
|
"language": "typescript",
|
|
5
5
|
"protoPackage": "google.shopping.merchant.reports.v1",
|
|
6
|
-
"libraryPackage": "@google-
|
|
6
|
+
"libraryPackage": "@google-shopping/reports",
|
|
7
7
|
"services": {
|
|
8
8
|
"ReportService": {
|
|
9
9
|
"clients": {
|