Skip to content

Commit cd8c64e

Browse files
committed
test diffs
1 parent 20f3d25 commit cd8c64e

43 files changed

Lines changed: 15532 additions & 31 deletions

File tree

Some content is hidden

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

java-developerknowledge/.repo-metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"api_shortname": "developerknowledge",
3-
"name_pretty": "Developer Knowledge API",
3+
"name_pretty": "Developer Knowledge",
44
"product_documentation": "https://developers.google.com/knowledge",
5-
"api_description": "The Developer Knowledge API provides access to Google's developer knowledge",
6-
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/overview",
5+
"api_description": "The Developer Knowledge API provides access to Google's developer knowledge.",
6+
"client_documentation": "https://cloud.google.com/java/docs/reference/google-developers-knowledge/latest/overview",
77
"release_level": "preview",
88
"transport": "both",
99
"language": "java",
1010
"repo": "googleapis/google-cloud-java",
1111
"repo_short": "java-developerknowledge",
12-
"distribution_name": "com.google.cloud:google-cloud-developer-knowledge",
12+
"distribution_name": "com.google.cloud:google-developers-knowledge",
1313
"api_id": "developerknowledge.googleapis.com",
1414
"library_type": "GAPIC_AUTO",
1515
"requires_billing": true

java-developerknowledge/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Google Developer Knowledge API Client for Java
1+
# Google Developer Knowledge Client for Java
22

3-
Java idiomatic client for [Developer Knowledge API][product-docs].
3+
Java idiomatic client for [Developer Knowledge][product-docs].
44

55
[![Maven][maven-version-image]][maven-version-link]
66
![Stability][stability-image]
@@ -33,7 +33,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3333
<dependencies>
3434
<dependency>
3535
<groupId>com.google.cloud</groupId>
36-
<artifactId>google-cloud-developer-knowledge</artifactId>
36+
<artifactId>google-developers-knowledge</artifactId>
3737
</dependency>
3838
</dependencies>
3939
```
@@ -44,21 +44,21 @@ If you are using Maven without the BOM, add this to your dependencies:
4444
```xml
4545
<dependency>
4646
<groupId>com.google.cloud</groupId>
47-
<artifactId>google-cloud-developer-knowledge</artifactId>
47+
<artifactId>google-developers-knowledge</artifactId>
4848
<version>0.0.0</version>
4949
</dependency>
5050
```
5151

5252
If you are using Gradle without BOM, add this to your dependencies:
5353

5454
```Groovy
55-
implementation 'com.google.cloud:google-cloud-developer-knowledge:0.0.0'
55+
implementation 'com.google.cloud:google-developers-knowledge:0.0.0'
5656
```
5757

5858
If you are using SBT, add this to your dependencies:
5959

6060
```Scala
61-
libraryDependencies += "com.google.cloud" % "google-cloud-developer-knowledge" % "0.0.0"
61+
libraryDependencies += "com.google.cloud" % "google-developers-knowledge" % "0.0.0"
6262
```
6363

6464
## Authentication
@@ -67,30 +67,30 @@ See the [Authentication][authentication] section in the base directory's README.
6767

6868
## Authorization
6969

70-
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Developer Knowledge API APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Developer Knowledge API API calls.
70+
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Developer Knowledge APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Developer Knowledge API calls.
7171

7272
## Getting Started
7373

7474
### Prerequisites
7575

76-
You will need a [Google Cloud Platform Console][developer-console] project with the Developer Knowledge API [API enabled][enable-api].
77-
You will need to [enable billing][enable-billing] to use Google Developer Knowledge API.
76+
You will need a [Google Cloud Platform Console][developer-console] project with the Developer Knowledge [API enabled][enable-api].
77+
You will need to [enable billing][enable-billing] to use Google Developer Knowledge.
7878
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
7979
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
8080
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
8181

8282
### Installation and setup
8383

84-
You'll need to obtain the `google-cloud-developer-knowledge` library. See the [Quickstart](#quickstart) section
85-
to add `google-cloud-developer-knowledge` as a dependency in your code.
84+
You'll need to obtain the `google-developers-knowledge` library. See the [Quickstart](#quickstart) section
85+
to add `google-developers-knowledge` as a dependency in your code.
8686

87-
## About Developer Knowledge API
87+
## About Developer Knowledge
8888

8989

90-
[Developer Knowledge API][product-docs] The Developer Knowledge API provides access to Google's developer knowledge
90+
[Developer Knowledge][product-docs] The Developer Knowledge API provides access to Google's developer knowledge.
9191

92-
See the [Developer Knowledge API client library docs][javadocs] to learn how to
93-
use this Developer Knowledge API Client Library.
92+
See the [Developer Knowledge client library docs][javadocs] to learn how to
93+
use this Developer Knowledge Client Library.
9494

9595

9696

@@ -103,7 +103,7 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr
103103

104104
## Transport
105105

106-
Developer Knowledge API uses both gRPC and HTTP/JSON for the transport layer.
106+
Developer Knowledge uses both gRPC and HTTP/JSON for the transport layer.
107107

108108
## Supported Java Versions
109109

@@ -178,10 +178,10 @@ Apache 2.0 - See [LICENSE][license] for more information.
178178
Java is a registered trademark of Oracle and/or its affiliates.
179179

180180
[product-docs]: https://developers.google.com/knowledge
181-
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/overview
181+
[javadocs]: https://cloud.google.com/java/docs/reference/google-developers-knowledge/latest/overview
182182
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
183-
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developer-knowledge.svg
184-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developer-knowledge/0.0.0
183+
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-developers-knowledge.svg
184+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-developers-knowledge/0.0.0
185185
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
186186
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
187187
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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.cloud</groupId>
5+
<artifactId>google-developers-knowledge-bom</artifactId>
6+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-developers-knowledge:current} -->
7+
<packaging>pom</packaging>
8+
<parent>
9+
<groupId>com.google.cloud</groupId>
10+
<artifactId>google-cloud-pom-parent</artifactId>
11+
<version>1.87.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 Developer Knowledge BOM</name>
16+
<description>
17+
BOM for Developer Knowledge
18+
</description>
19+
20+
<properties>
21+
<maven.antrun.skip>true</maven.antrun.skip>
22+
</properties>
23+
24+
<dependencyManagement>
25+
<dependencies>
26+
<!-- {x-generated-dependencies-start} -->
27+
<dependency>
28+
<groupId>com.google.cloud</groupId>
29+
<artifactId>google-developers-knowledge</artifactId>
30+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-developers-knowledge:current} -->
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.api.grpc</groupId>
34+
<artifactId>grpc-google-developers-knowledge-v1</artifactId>
35+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-developers-knowledge-v1:current} -->
36+
</dependency>
37+
<dependency>
38+
<groupId>com.google.api.grpc</groupId>
39+
<artifactId>proto-google-developers-knowledge-v1</artifactId>
40+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-developers-knowledge-v1:current} -->
41+
</dependency>
42+
<!-- {x-generated-dependencies-end} -->
43+
</dependencies>
44+
</dependencyManagement>
45+
</project>
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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.cloud</groupId>
5+
<artifactId>google-developers-knowledge</artifactId>
6+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-developers-knowledge:current} -->
7+
<packaging>jar</packaging>
8+
<name>Google Developer Knowledge</name>
9+
<description>Developer Knowledge The Developer Knowledge API provides access to Google's developer knowledge.</description>
10+
<parent>
11+
<groupId>com.google.cloud</groupId>
12+
<artifactId>google-developers-knowledge-parent</artifactId>
13+
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-developers-knowledge:current} -->
14+
</parent>
15+
<properties>
16+
<site.installationModule>google-developers-knowledge</site.installationModule>
17+
</properties>
18+
<dependencies>
19+
<dependency>
20+
<groupId>io.grpc</groupId>
21+
<artifactId>grpc-api</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>io.grpc</groupId>
25+
<artifactId>grpc-stub</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>io.grpc</groupId>
29+
<artifactId>grpc-protobuf</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>com.google.api</groupId>
33+
<artifactId>api-common</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>com.google.protobuf</groupId>
37+
<artifactId>protobuf-java</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>com.google.api.grpc</groupId>
41+
<artifactId>proto-google-common-protos</artifactId>
42+
</dependency>
43+
<!-- {x-generated-proto-dependencies-start} -->
44+
<dependency>
45+
<groupId>com.google.api.grpc</groupId>
46+
<artifactId>proto-google-developers-knowledge-v1</artifactId>
47+
</dependency>
48+
<!-- {x-generated-proto-dependencies-end} -->
49+
<dependency>
50+
<groupId>com.google.guava</groupId>
51+
<artifactId>guava</artifactId>
52+
</dependency>
53+
<dependency>
54+
<groupId>com.google.api</groupId>
55+
<artifactId>gax</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.google.api</groupId>
59+
<artifactId>gax-grpc</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.google.api</groupId>
63+
<artifactId>gax-httpjson</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>com.google.api.grpc</groupId>
67+
<artifactId>proto-google-iam-v1</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.threeten</groupId>
71+
<artifactId>threetenbp</artifactId>
72+
</dependency>
73+
74+
<!-- Test dependencies -->
75+
<dependency>
76+
<groupId>com.google.api.grpc</groupId>
77+
<artifactId>grpc-google-common-protos</artifactId>
78+
<scope>test</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>com.google.api.grpc</groupId>
82+
<artifactId>grpc-google-iam-v1</artifactId>
83+
<scope>test</scope>
84+
</dependency>
85+
<dependency>
86+
<groupId>junit</groupId>
87+
<artifactId>junit</artifactId>
88+
<scope>test</scope>
89+
</dependency>
90+
<!-- {x-generated-grpc-dependencies-start} -->
91+
<dependency>
92+
<groupId>com.google.api.grpc</groupId>
93+
<artifactId>grpc-google-developers-knowledge-v1</artifactId>
94+
<scope>test</scope>
95+
</dependency>
96+
<!-- {x-generated-grpc-dependencies-end} -->
97+
<!-- Need testing utility classes for generated gRPC clients tests -->
98+
<dependency>
99+
<groupId>com.google.api</groupId>
100+
<artifactId>gax</artifactId>
101+
<classifier>testlib</classifier>
102+
<scope>test</scope>
103+
</dependency>
104+
<dependency>
105+
<groupId>com.google.api</groupId>
106+
<artifactId>gax-grpc</artifactId>
107+
<classifier>testlib</classifier>
108+
<scope>test</scope>
109+
</dependency>
110+
<dependency>
111+
<groupId>com.google.api</groupId>
112+
<artifactId>gax-httpjson</artifactId>
113+
<classifier>testlib</classifier>
114+
<scope>test</scope>
115+
</dependency>
116+
</dependencies>
117+
</project>

0 commit comments

Comments
 (0)