Lines Matching +full:google +full:- +full:cloud +full:- +full:examples
1 Google Cloud Java Client Examples
4 Examples for google-cloud (Java idiomatic client for [Google Cloud Platform][cloud-platform] servic…
7 https://github.com/googleapis/google-cloud-java/tree/main_202208/google-cloud-examples)
11 …/circleci.com/gh/googleapis/google-cloud-java/tree/master.svg?style=shield)](https://circleci.com/…
12 …/coveralls.io/repos/googleapis/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/…
13 ….io/maven-central/v/com.google.cloud/google-cloud-examples.svg)]( https://img.shields.io/maven-cen…
14 …dge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java)
17 - [Examples](https://googleapis.dev/java/google-cloud-clients/latest/index.html?com/google/cloud/e…
20 ----------
22 [//]: # ({x-version-update-start:google-cloud-examples:released})
26 <groupId>com.google.cloud</groupId>
27 <artifactId>google-cloud-examples</artifactId>
28 <version>0.120.0-alpha</version>
33 compile 'com.google.cloud:google-cloud-examples:0.120.0-alpha'
37 libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.120.0-alpha"
39 [//]: # ({x-version-update-end})
41 To run examples from your command line:
47 3. Compile using Maven: `mvn install -DskipTests` in command line from your base project directory
48 then `cd google-cloud-examples` and finally `mvn package appassembler:assemble -DskipTests`.
50 4. Run an example from the command line using the Maven-generated scripts.
54 Before running the example, go to the [Google Developers Console][developers-console] to ensure
57 …et/appassembler/bin/ComputeExample create image-disk us-central1-a test-disk debian-cloud debian-8…
58 …get/appassembler/bin/ComputeExample create instance us-central1-a test-instance n1-standard-1 test…
59 target/appassembler/bin/ComputeExample add-access-config us-central1-a test-instance nic0 NAT
60 target/appassembler/bin/ComputeExample delete instance us-central1-a test-instance
61 target/appassembler/bin/ComputeExample delete disk us-central1-a test-disk
66 …r-project-id" with your own project ID. Also note that you have to enable the Google Cloud Datasto…
68 target/appassembler/bin/DatastoreExample your-project-id my_name add my\ comment
69 target/appassembler/bin/DatastoreExample your-project-id my_name display
70 target/appassembler/bin/DatastoreExample your-project-id my_name delete
71 target/appassembler/bin/DatastoreExample your-project-id my_name set [email protected] 1234
76 …Note that you have to enable the Google Cloud DNS API on the [Google Developers Console][developer…
77 …ple.com` with your own domain name with [verified ownership](https://www.google.com/webmasters/ver…
80 target/appassembler/bin/DnsExample create some-sample-zone elaborateexample.com. description
82 target/appassembler/bin/DnsExample list some-sample-zone records
83 …target/appassembler/bin/DnsExample add-record some-sample-zone www.elaborateexample.com. 12.13.14.…
84 target/appassembler/bin/DnsExample get some-sample-zone
85 …target/appassembler/bin/DnsExample delete-record some-sample-zone www.elaborateexample.com. 12.13.…
86 target/appassembler/bin/DnsExample list some-sample-zone changes ascending
87 target/appassembler/bin/DnsExample delete some-sample-zone
92 Before running the example, go to the [Google Developers Console][developers-console] to ensure
95 target/appassembler/bin/LoggingExample create metric test-metric severity>=ERROR
97 target/appassembler/bin/LoggingExample create sink test-sink bucket test-bucket severity>=ERROR
99 … target/appassembler/bin/LoggingExample write test-log-name ERROR test-message test-key test-value
105 …Before running the example, go to the [Google Developers Console][developers-console] to ensure th…
112 …Be sure to change the placeholder project ID "your-project-id" with your own globally unique proje…
114 target/appassembler/bin/ResourceManagerExample create your-project-id
116 target/appassembler/bin/ResourceManagerExample get your-project-id
119 * Here's an example run of `Stat`, illustrating the use of google-cloud-nio.
121 …Before running the example, go to the [Google Developers Console][developers-console] to ensure th…
123 Run the sample with (from the google-cloud-examples folder):
125 target/appassembler/bin/Stat --check
133 The sample doesn't have anything special about Google Cloud Storage in it, it just opens files
134 via the NIO API. It lists google-cloud-nio as a dependency, and that enables it to interpret
139 …Before running the example, go to the [Google Developers Console][developers-console] to ensure th…
148 ---------------
150 …n the [shared Troubleshooting document](https://github.com/googleapis/google-cloud-common/blob/mas…
153 -------------
158 ----------
167 ------------
171 …google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/goo…
173 …n this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more in…
176 -------
178 Apache 2.0 - See [LICENSE] for more information.
181 [CONTRIBUTING]:https://github.com/googleapis/google-cloud-java/blob/master/CONTRIBUTING.md
182 [code-of-conduct]:https://github.com/googleapis/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#co…
183 [LICENSE]: https://github.com/googleapis/google-cloud-java/blob/master/LICENSE
184 [cloud-platform]: https://cloud.google.com/
185 [developers-console]:https://console.developers.google.com/