Skip to content

Commit 5455da5

Browse files
committed
---
yaml --- r: 4993 b: refs/heads/master c: a783200 h: refs/heads/master i: 4991: a320e6f
1 parent 82c1559 commit 5455da5

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7168fff5e669b7c60b12918f56ebd3f5696247af
2+
refs/heads/master: a783200c70decf226e092ba3b32834d5c5cd6b15
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 7406918e071dd2c5677a638ae2a06e7592b6542c
55
refs/heads/pubsub-alpha: d6bbd32eed6cb48cda8d6798ee70ddd6bfc1f07d

trunk/gcloud-java-examples/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,6 @@ To run examples from your command line:
101101
target/appassembler/bin/DnsExample delete some-sample-zone
102102
```
103103
104-
* Here's an example run of `PubSubExample`.
105-
106-
Before running the example, go to the [Google Developers Console][developers-console] to ensure that "Google Cloud Pub/Sub" is enabled.
107-
```
108-
target/appassembler/bin/PubSubExample create topic test-topic
109-
target/appassembler/bin/PubSubExample create subscription test-topic test-subscription
110-
target/appassembler/bin/PubSubExample publish test-topic message1 message2
111-
target/appassembler/bin/PubSubExample pull sync test-subscription 2
112-
```
113-
114104
* Here's an example run of `LoggingExample`.
115105
116106
Before running the example, go to the [Google Developers Console][developers-console] to ensure
@@ -124,6 +114,16 @@ To run examples from your command line:
124114
target/appassembler/bin/LoggingExample list entries
125115
```
126116
117+
* Here's an example run of `PubSubExample`.
118+
119+
Before running the example, go to the [Google Developers Console][developers-console] to ensure that "Google Cloud Pub/Sub" is enabled.
120+
```
121+
target/appassembler/bin/PubSubExample create topic test-topic
122+
target/appassembler/bin/PubSubExample create subscription test-topic test-subscription
123+
target/appassembler/bin/PubSubExample publish test-topic message1 message2
124+
target/appassembler/bin/PubSubExample pull sync test-subscription 2
125+
```
126+
127127
* Here's an example run of `ResourceManagerExample`.
128128
129129
Be sure to change the placeholder project ID "your-project-id" with your own globally unique project ID.

trunk/gcloud-java-examples/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
<mainClass>com.google.cloud.examples.dns.DnsExample</mainClass>
7373
<name>DnsExample</name>
7474
</program>
75+
<program>
76+
<mainClass>com.google.cloud.examples.logging.LoggingExample</mainClass>
77+
<name>LoggingExample</name>
78+
</program>
7579
<program>
7680
<mainClass>com.google.cloud.examples.nio.CountBytes</mainClass>
7781
<name>CountBytes</name>

0 commit comments

Comments
 (0)