Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 99fd798

Browse files
authored
Release gapics (#3423)
Generated with googleapis/gapic-generator#2131 to fix error in LoggingClient (see fix at andreamlin/google-cloud-java@386c987) Update google-common-protos to v 1.12.0. Add google-cloud-tasks for the first time. Remove LoggingSmokeTest.java, because the Logging smoke config has been removed from googleapis/googleapis, and the existing LoggingSmokeTest.java is incompatible with the current google-cloud-logging/src/main.
1 parent 084830c commit 99fd798

File tree

90 files changed

+49308
-0
lines changed

Some content is hidden

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

90 files changed

+49308
-0
lines changed

google-cloud-tasks/README.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
Google Cloud Java Client for Cloud Tasks
2+
======================================
3+
4+
Java idiomatic client for [Cloud Tasks][cloud-tasks].
5+
6+
[![CircleCI](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master.svg?style=shield)](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master)
7+
[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master)
8+
[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tasks.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tasks.svg)
9+
[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java)
10+
[![Dependency Status](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772/badge.svg?style=flat)](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772)
11+
12+
- [Product Documentation][tasks]
13+
- [Client Library Documentation][tasks]
14+
15+
> Note: This client is a work-in-progress, and may occasionally
16+
> make backwards-incompatible changes.
17+
18+
Quickstart
19+
----------
20+
21+
[//]: # ({x-version-update-start:google-cloud-tasks:released})
22+
If you are using Maven, add this to your pom.xml file
23+
```xml
24+
<dependency>
25+
<groupId>com.google.cloud</groupId>
26+
<artifactId>google-cloud-tasks</artifactId>
27+
<version>0.53.0-beta</version>
28+
</dependency>
29+
```
30+
If you are using Gradle, add this to your dependencies
31+
```Groovy
32+
compile 'com.google.cloud:google-cloud-tasks:0.53.0-beta'
33+
```
34+
If you are using SBT, add this to your dependencies
35+
```Scala
36+
libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.53.0-beta"
37+
```
38+
[//]: # ({x-version-update-end})
39+
40+
Authentication
41+
--------------
42+
43+
See the [Authentication](https://github.com/GoogleCloudPlatform/google-cloud-java#authentication) section in the base directory's README.
44+
45+
About Google Cloud Cloud Tasks
46+
----------------------------
47+
48+
Google [Cloud Tasks API][cloud-tasks] manages Cloud Tasks queues and tasks.
49+
50+
See the [Cloud Tasks client library docs][tasks] to learn how to use this Cloud Tasks API Client Library.
51+
52+
Getting Started
53+
---------------
54+
#### Prerequisites
55+
You will need a [Google Developers Console](https://console.developers.google.com/) project with the Cloud Tasks API enabled. [Follow these instructions](https://cloud.google.com/docs/authentication#preparation) to get your project set up. You will also need to set up the local development environment by [installing the Google Cloud SDK](https://cloud.google.com/sdk/) and running the following commands in command line: `gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
56+
57+
#### Installation and setup
58+
You'll need to obtain the `google-cloud-tasks` library. See the [Quickstart](#quickstart) section to add `google-cloud-tasks` as a dependency in your code.
59+
60+
Troubleshooting
61+
---------------
62+
63+
To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting).
64+
65+
Transport
66+
---------
67+
Cloud Tasks uses gRPC for the transport layer.
68+
69+
Java Versions
70+
-------------
71+
72+
Java 7 or above is required for using this client.
73+
74+
Versioning
75+
----------
76+
77+
This library follows [Semantic Versioning](http://semver.org/).
78+
79+
It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable.
80+
81+
Contributing
82+
------------
83+
84+
Contributions to this library are always welcome and highly encouraged.
85+
86+
See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started.
87+
88+
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information.
89+
90+
License
91+
-------
92+
93+
Apache 2.0 - See [LICENSE] for more information.
94+
95+
96+
[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CONTRIBUTING.md
97+
[code-of-conduct]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct
98+
[LICENSE]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/LICENSE
99+
[cloud-platform]: https://cloud.google.com/
100+
[cloud-tasks]: https://cloud.google.com/tasks
101+
[tasks]: https://cloud.google.com/tasks/docs
102+
[tasks]: https://googlecloudplatform.github.io/google-cloud-java/google-cloud-clients/apidocs/index.html?com/google/cloud/tasks/v2beta2/package-summary.html

google-cloud-tasks/pom.xml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?xml version="1.0"?>
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+
<artifactId>google-cloud-tasks</artifactId>
5+
<version>0.53.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-tasks:current} -->
6+
<packaging>jar</packaging>
7+
<name>Google Cloud Tasks</name>
8+
<url>https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-tasks</url>
9+
<description>
10+
Java idiomatic client for Google Cloud Tasks
11+
</description>
12+
<parent>
13+
<groupId>com.google.cloud</groupId>
14+
<artifactId>google-cloud-clients</artifactId>
15+
<version>0.53.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-clients:current} -->
16+
</parent>
17+
<properties>
18+
<site.installationModule>google-cloud-tasks-v2beta2</site.installationModule>
19+
</properties>
20+
<dependencies>
21+
<dependency>
22+
<groupId>${project.groupId}</groupId>
23+
<artifactId>google-cloud-core</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>${project.groupId}</groupId>
27+
<artifactId>google-cloud-core-grpc</artifactId>
28+
</dependency>
29+
<dependency>
30+
<groupId>com.google.api.grpc</groupId>
31+
<artifactId>proto-google-cloud-tasks-v2beta2</artifactId>
32+
</dependency>
33+
<dependency>
34+
<groupId>com.google.api.grpc</groupId>
35+
<artifactId>proto-google-cloud-tasks-v2beta2</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>io.grpc</groupId>
39+
<artifactId>grpc-netty-shaded</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>io.grpc</groupId>
43+
<artifactId>grpc-stub</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>io.grpc</groupId>
47+
<artifactId>grpc-auth</artifactId>
48+
</dependency>
49+
<dependency>
50+
<groupId>${project.groupId}</groupId>
51+
<artifactId>google-cloud-core</artifactId>
52+
<type>test-jar</type>
53+
<scope>test</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>junit</groupId>
57+
<artifactId>junit</artifactId>
58+
<scope>test</scope>
59+
</dependency>
60+
<dependency>
61+
<groupId>org.easymock</groupId>
62+
<artifactId>easymock</artifactId>
63+
<scope>test</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.objenesis</groupId>
67+
<artifactId>objenesis</artifactId>
68+
<scope>test</scope>
69+
</dependency>
70+
<dependency>
71+
<groupId>com.google.api.grpc</groupId>
72+
<artifactId>grpc-google-cloud-tasks-v2beta2</artifactId>
73+
<scope>test</scope>
74+
</dependency>
75+
<dependency>
76+
<groupId>com.google.api.grpc</groupId>
77+
<artifactId>grpc-google-cloud-tasks-v2beta2</artifactId>
78+
<scope>test</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>com.google.api</groupId>
82+
<artifactId>gax-grpc</artifactId>
83+
<classifier>testlib</classifier>
84+
<scope>test</scope>
85+
</dependency>
86+
</dependencies>
87+
</project>

0 commit comments

Comments
 (0)