Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update shared config #2443

Merged
merged 13 commits into from
Mar 27, 2020
2 changes: 1 addition & 1 deletion .github/templates/appengine-flexible-deploy.mdpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ View the app at [localhost:8080](http://localhost:8080).

To deploy the app to App Engine, run

mvn clean appengine:deploy
mvn clean package appengine:deploy

After the deploy finishes (can take up to 10 minutes), you can view your application at
`https://YOUR_PROJECT.appspot.com`, where `YOUR_PROJECT` is your Google Cloud project ID. You can
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ repository.
Removing or replacing it should not affect the execution of the samples in anyway.
-->
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>doc-samples</artifactId>
<version>1.0.11</version>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.13</version>
</parent>
```

Expand Down
2 changes: 1 addition & 1 deletion appengine-java8/endpoints-v2-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>com.google.endpoints</groupId>
<artifactId>endpoints-management-control-appengine-all</artifactId>
<version>1.0.12</version>
<version>1.0.13</version>
</dependency>
<!-- [END api_management] -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion appengine-java8/endpoints-v2-guice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>com.google.endpoints</groupId>
<artifactId>endpoints-management-control-appengine-all</artifactId>
<version>1.0.12</version>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
Expand Down
2 changes: 1 addition & 1 deletion asset/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ limitations under the License.
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion automl/beta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion bigquery/bigquerystorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion bigquery/datatransfer/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion bigquery/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion bigtable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<name>bigtable</name>
Expand Down
2 changes: 1 addition & 1 deletion cdn/signed-urls/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<name>signedurls</name>
Expand Down
2 changes: 1 addition & 1 deletion compute/cmdline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ limitations under the License.
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion compute/error-reporting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion compute/mailjet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion compute/sendgrid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion compute/signed-metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion container-registry/container-analysis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion dataflow/spanner-io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion dataflow/transforms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion datalabeling/beta/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion dataproc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion datastore/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion dialogflow/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion dlp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion endpoints/getting-started/clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion endpoints/getting-started/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion endpoints/multiple-versions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion errorreporting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion firestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion functions/snippets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion healthcare/v1beta1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion iam/api-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion iap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion iot/api-client/codelab/manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion iot/api-client/end-to-end-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
8 changes: 4 additions & 4 deletions iot/api-client/manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ To publish state messages, run the sample as follows:
1. Create a subscription to your topic.

```
gcloud beta pubsub subscriptions create \
gcloud pubsub subscriptions create \
projects/your-project-id/subscriptions/my-subscription \
--topic device-events
```

2. Read messages published to the topic

```
gcloud beta pubsub subscriptions pull --auto-ack \
gcloud pubsub subscriptions pull --auto-ack \
projects/my-iot-project/subscriptions/my-subscription
```

Expand Down Expand Up @@ -396,11 +396,11 @@ Send data on behalf of device:

1. Create a subscription to your topic.

gcloud beta pubsub subscriptions create \
gcloud pubsub subscriptions create \
projects/your-project-id/subscriptions/my-subscription \
--topic device-events

2. Read messages published to the topic

gcloud beta pubsub subscriptions pull --auto-ack \
gcloud pubsub subscriptions pull --auto-ack \
projects/my-iot-project/subscriptions/my-subscription
Loading