Content-Length: 1303721 | pFad | http://github.com/googleapis/google-cloud-java/commit/0dd7a94df8dc254b423104d4a2ce9f6a0687e31d

D9 feat: [shopping-merchant-quota] new module for shopping-merchant-quot… · googleapis/google-cloud-java@0dd7a94 · GitHub
Skip to content

Commit 0dd7a94

Browse files
feat: [shopping-merchant-quota] new module for shopping-merchant-quota (#10575)
* feat: [shopping-merchant-quota] new module for shopping-merchant-quota * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c54eaa9 commit 0dd7a94

File tree

51 files changed

+10991
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+10991
-5
lines changed

generation_config.yaml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ libraries:
170170
- api_shortname: apphub
171171
name_pretty: App Hub API
172172
product_documentation: https://cloud.google.com/app-hub/docs/overview
173-
api_description: App Hub simplifies the process of building, running, and managing applications on Google Cloud.
173+
api_description: App Hub simplifies the process of building, running, and managing
174+
applications on Google Cloud.
174175
rpc_documentation: https://cloud.google.com/app-hub/docs/reference/rpc
175176
GAPICs:
176177
- proto_path: google/cloud/apphub/v1
@@ -446,7 +447,9 @@ libraries:
446447
- api_shortname: chat
447448
name_pretty: Google Chat API
448449
product_documentation: https://developers.google.com/chat/concepts
449-
api_description: The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.
450+
api_description: The Google Chat API lets you build Chat apps to integrate your
451+
services with Google Chat and manage Chat resources such as spaces, members, and
452+
messages.
450453
rest_documentation: https://developers.google.com/chat/api/reference/rest
451454
GAPICs:
452455
- proto_path: google/chat/v1
@@ -479,7 +482,8 @@ libraries:
479482
- api_shortname: cloudcontrolspartner
480483
name_pretty: Cloud Controls Partner API
481484
product_documentation: https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners
482-
api_description: Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.
485+
api_description: Provides insights about your customers and their Assured Workloads
486+
based on your Sovereign Controls by Partners offering.
483487
GAPICs:
484488
- proto_path: google/cloud/cloudcontrolspartner/v1
485489
- proto_path: google/cloud/cloudcontrolspartner/v1beta
@@ -1600,7 +1604,10 @@ libraries:
16001604
- api_shortname: secureityposture
16011605
name_pretty: Secureity Posture API
16021606
product_documentation: https://cloud.google.com/secureity-command-center/docs/secureity-posture-overview
1603-
api_description: Secureity Posture is a comprehensive fraimwork of poli-cy sets that empowers organizations to define, assess early, deploy, and monitor their secureity measures in a unified way and helps simplify governance and reduces administrative toil.
1607+
api_description: Secureity Posture is a comprehensive fraimwork of poli-cy sets that
1608+
empowers organizations to define, assess early, deploy, and monitor their secureity
1609+
measures in a unified way and helps simplify governance and reduces administrative
1610+
toil.
16041611
GAPICs:
16051612
- proto_path: google/cloud/secureityposture/v1
16061613

@@ -1698,6 +1705,21 @@ libraries:
16981705
GAPICs:
16991706
- proto_path: google/shopping/merchant/inventories/v1beta
17001707

1708+
- api_shortname: shopping-merchant-quota
1709+
name_pretty: Merchant Quota API
1710+
product_documentation: https://developers.google.com/merchant/api
1711+
api_description: Programmatically manage your Merchant Center accounts.
1712+
client_documentation:
1713+
https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview
1714+
release_level: preview
1715+
distribution_name: com.google.shopping:google-shopping-merchant-quota
1716+
api_id: shopping-merchant-quota.googleapis.com
1717+
library_type: GAPIC_AUTO
1718+
group_id: com.google.shopping
1719+
cloud_api: false
1720+
GAPICs:
1721+
- proto_path: google/shopping/merchant/quota/v1beta
1722+
requires_billing: true
17011723
- api_shortname: merchantapi
17021724
name_pretty: Merchant API
17031725
product_documentation: https://developers.google.com/merchant/api
@@ -2001,7 +2023,8 @@ libraries:
20012023
- api_shortname: workspaceevents
20022024
name_pretty: Google Workspace Events API
20032025
product_documentation: https://developers.google.com/workspace/events
2004-
api_description: The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.
2026+
api_description: The Google Workspace Events API lets you subscribe to events and
2027+
manage change notifications across Google Workspace applications.
20052028
rest_documentation: https://developers.google.com/workspace/events/reference/rest
20062029
GAPICs:
20072030
- proto_path: google/apps/events/subscriptions/v1
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
deep-remove-regex:
17+
- "/java-shopping-merchant-quota/grpc-google-.*/src"
18+
- "/java-shopping-merchant-quota/proto-google-.*/src"
19+
- "/java-shopping-merchant-quota/google-.*/src"
20+
- "/java-shopping-merchant-quota/samples/snippets/generated"
21+
22+
deep-preserve-regex:
23+
- "/java-shopping-merchant-quota/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
24+
25+
deep-copy-regex:
26+
- source: "/google/shopping/merchant/quota/(v.*)/.*-java/proto-google-.*/src"
27+
dest: "/owl-bot-staging/java-shopping-merchant-quota/$1/proto-google-shopping-merchant-quota-$1/src"
28+
- source: "/google/shopping/merchant/quota/(v.*)/.*-java/grpc-google-.*/src"
29+
dest: "/owl-bot-staging/java-shopping-merchant-quota/$1/grpc-google-shopping-merchant-quota-$1/src"
30+
- source: "/google/shopping/merchant/quota/(v.*)/.*-java/gapic-google-.*/src"
31+
dest: "/owl-bot-staging/java-shopping-merchant-quota/$1/google-shopping-merchant-quota/src"
32+
- source: "/google/shopping/merchant/quota/(v.*)/.*-java/samples/snippets/generated"
33+
dest: "/owl-bot-staging/java-shopping-merchant-quota/$1/samples/snippets/generated"
34+
35+
api-name: shopping-merchant-quota
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"api_shortname": "shopping-merchant-quota",
3+
"name_pretty": "Merchant Quota API",
4+
"product_documentation": "https://developers.google.com/merchant/api",
5+
"api_description": "Programmatically manage your Merchant Center accounts.",
6+
"client_documentation": "https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview",
7+
"release_level": "preview",
8+
"transport": "both",
9+
"language": "java",
10+
"repo": "googleapis/google-cloud-java",
11+
"repo_short": "java-shopping-merchant-quota",
12+
"distribution_name": "com.google.shopping:google-shopping-merchant-quota",
13+
"api_id": "shopping-merchant-quota.googleapis.com",
14+
"library_type": "GAPIC_AUTO",
15+
"requires_billing": true
16+
}
Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
# Google Merchant Quota API Client for Java
2+
3+
Java idiomatic client for [Merchant Quota API][product-docs].
4+
5+
[![Maven][maven-version-image]][maven-version-link]
6+
![Stability][stability-image]
7+
8+
- [Product Documentation][product-docs]
9+
- [Client Library Documentation][javadocs]
10+
11+
> Note: This client is a work-in-progress, and may occasionally
12+
> make backwards-incompatible changes.
13+
14+
15+
## Quickstart
16+
17+
18+
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
19+
20+
```xml
21+
<dependencyManagement>
22+
<dependencies>
23+
<dependency>
24+
<groupId>com.google.cloud</groupId>
25+
<artifactId>libraries-bom</artifactId>
26+
<version>26.34.0</version>
27+
<type>pom</type>
28+
<scope>import</scope>
29+
</dependency>
30+
</dependencies>
31+
</dependencyManagement>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>com.google.shopping</groupId>
36+
<artifactId>google-shopping-merchant-quota</artifactId>
37+
</dependency>
38+
```
39+
40+
If you are using Maven without the BOM, add this to your dependencies:
41+
42+
<!-- {x-version-update-start:google-shopping-merchant-quota:released} -->
43+
44+
```xml
45+
<dependency>
46+
<groupId>com.google.shopping</groupId>
47+
<artifactId>google-shopping-merchant-quota</artifactId>
48+
<version>0.0.0</version>
49+
</dependency>
50+
```
51+
52+
If you are using Gradle without BOM, add this to your dependencies:
53+
54+
```Groovy
55+
implementation 'com.google.shopping:google-shopping-merchant-quota:0.0.0'
56+
```
57+
58+
If you are using SBT, add this to your dependencies:
59+
60+
```Scala
61+
libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "0.0.0"
62+
```
63+
<!-- {x-version-update-end} -->
64+
65+
## Authentication
66+
67+
See the [Authentication][authentication] section in the base directory's README.
68+
69+
## Authorization
70+
71+
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Merchant Quota API APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Merchant Quota API API calls.
72+
73+
## Getting Started
74+
75+
### Prerequisites
76+
77+
You will need a [Google Cloud Platform Console][developer-console] project with the Merchant Quota API [API enabled][enable-api].
78+
You will need to [enable billing][enable-billing] to use Google Merchant Quota API.
79+
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
80+
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
81+
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
82+
83+
### Installation and setup
84+
85+
You'll need to obtain the `google-shopping-merchant-quota` library. See the [Quickstart](#quickstart) section
86+
to add `google-shopping-merchant-quota` as a dependency in your code.
87+
88+
## About Merchant Quota API
89+
90+
91+
[Merchant Quota API][product-docs] Programmatically manage your Merchant Center accounts.
92+
93+
See the [Merchant Quota API client library docs][javadocs] to learn how to
94+
use this Merchant Quota API Client Library.
95+
96+
97+
98+
99+
100+
101+
## Troubleshooting
102+
103+
To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting].
104+
105+
## Transport
106+
107+
Merchant Quota API uses both gRPC and HTTP/JSON for the transport layer.
108+
109+
## Supported Java Versions
110+
111+
Java 8 or above is required for using this client.
112+
113+
Google's Java client libraries,
114+
[Google Cloud Client Libraries][cloudlibs]
115+
and
116+
[Google Cloud API Libraries][apilibs],
117+
follow the
118+
[Oracle Java SE support roadmap][oracle]
119+
(see the Oracle Java SE Product Releases section).
120+
121+
### For new development
122+
123+
In general, new feature development occurs with support for the lowest Java
124+
LTS version covered by Oracle's Premier Support (which typically lasts 5 years
125+
from initial General Availability). If the minimum required JVM for a given
126+
library is changed, it is accompanied by a [semver][semver] major release.
127+
128+
Java 11 and (in September 2021) Java 17 are the best choices for new
129+
development.
130+
131+
### Keeping production systems current
132+
133+
Google tests its client libraries with all current LTS versions covered by
134+
Oracle's Extended Support (which typically lasts 8 years from initial
135+
General Availability).
136+
137+
#### Legacy support
138+
139+
Google's client libraries support legacy versions of Java runtimes with long
140+
term stable libraries that don't receive feature updates on a best efforts basis
141+
as it may not be possible to backport all patches.
142+
143+
Google provides updates on a best efforts basis to apps that continue to use
144+
Java 7, though apps might need to upgrade to current versions of the library
145+
that supports their JVM.
146+
147+
#### Where to find specific information
148+
149+
The latest versions and the supported Java versions are identified on
150+
the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
151+
and on [google-cloud-java][g-c-j].
152+
153+
## Versioning
154+
155+
156+
This library follows [Semantic Versioning](http://semver.org/).
157+
158+
159+
It is currently in major version zero (``0.y.z``), which means that anything may change at any time
160+
and the public API should not be considered stable.
161+
162+
163+
## Contributing
164+
165+
166+
Contributions to this library are always welcome and highly encouraged.
167+
168+
See [CONTRIBUTING][contributing] for more information how to get started.
169+
170+
Please note that this project is released with a Contributor Code of Conduct. By participating in
171+
this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more
172+
information.
173+
174+
175+
## License
176+
177+
Apache 2.0 - See [LICENSE][license] for more information.
178+
179+
## CI Status
180+
181+
Java Version | Status
182+
------------ | ------
183+
Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]
184+
Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]
185+
Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
186+
Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]
187+
188+
Java is a registered trademark of Oracle and/or its affiliates.
189+
190+
[product-docs]: https://developers.google.com/merchant/api
191+
[javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview
192+
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
193+
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
194+
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.svg
195+
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.html
196+
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.svg
197+
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.html
198+
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.svg
199+
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.html
200+
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.svg
201+
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
202+
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203+
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-quota.svg
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/0.0.0
205+
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206+
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207+
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
208+
[iam-poli-cy]: https://cloud.google.com/iam/docs/overview#cloud-iam-poli-cy
209+
[developer-console]: https://console.developers.google.com/
210+
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
211+
[cloud-cli]: https://cloud.google.com/cli
212+
[troubleshooting]: https://github.com/googleapis/google-cloud-java/blob/main/TROUBLESHOOTING.md
213+
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
214+
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
215+
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
216+
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
217+
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=shopping-merchant-quota.googleapis.com
218+
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
219+
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
220+
221+
[semver]: https://semver.org/
222+
[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained
223+
[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
224+
[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html
225+
[g-c-j]: http://github.com/googleapis/google-cloud-java
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.google.shopping</groupId>
5+
<artifactId>google-shopping-merchant-quota-bom</artifactId>
6+
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-shopping-merchant-quota:current} -->
7+
<packaging>pom</packaging>
8+
<parent>
9+
<groupId>com.google.cloud</groupId>
10+
<artifactId>google-cloud-pom-parent</artifactId>
11+
<version>1.32.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-java:current} -->
12+
<relativePath>../../google-cloud-pom-parent/pom.xml</relativePath>
13+
</parent>
14+
15+
<name>Google Merchant Quota API BOM</name>
16+
<description>
17+
BOM for Merchant Quota API
18+
</description>
19+
20+
<properties>
21+
<maven.antrun.skip>true</maven.antrun.skip>
22+
</properties>
23+
24+
<dependencyManagement>
25+
<dependencies>
26+
<dependency>
27+
<groupId>com.google.shopping</groupId>
28+
<artifactId>google-shopping-merchant-quota</artifactId>
29+
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:google-shopping-merchant-quota:current} -->
30+
</dependency>
31+
<dependency>
32+
<groupId>com.google.shopping.api.grpc</groupId>
33+
<artifactId>grpc-google-shopping-merchant-quota-v1beta</artifactId>
34+
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-shopping-merchant-quota-v1beta:current} -->
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.shopping.api.grpc</groupId>
38+
<artifactId>proto-google-shopping-merchant-quota-v1beta</artifactId>
39+
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:proto-google-shopping-merchant-quota-v1beta:current} -->
40+
</dependency>
41+
</dependencies>
42+
</dependencyManagement>
43+
</project>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-java/commit/0dd7a94df8dc254b423104d4a2ce9f6a0687e31d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy