Skip to content

Commit 4130eba

Browse files
author
Ajay Kannan
committed
changed css source in landing page
1 parent 3b4c740 commit 4130eba

1 file changed

Lines changed: 160 additions & 0 deletions

File tree

src/site/resources/index.html

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<!DOCTYPE html>
2+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9+
<title>gcloud</title>
10+
<meta name="description" content="Java idiomatic client for Google Cloud services">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="stylesheet" href="css/normalize.css">
13+
<link rel="stylesheet" href="css/github.min.css">
14+
<link rel="stylesheet" href="css/site.css">
15+
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
16+
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300' rel='stylesheet' type='text/css'>
17+
</head>
18+
<body>
19+
<header class="page-header" role="banner">
20+
<h1 class="logo"><img src="img/logo-full.svg" alt="Google Cloud Platform" /></h1>
21+
<nav class="main-nav">
22+
<div class="nav-current">Java</div>
23+
<ul class="menu">
24+
<li>
25+
<a href="#" title="Java docs page">
26+
Java
27+
</a>
28+
</li>
29+
<li>
30+
<a href="https://googlecloudplatform.github.io/gcloud-node/" title="Node.js docs page">
31+
<img src="img/icon-lang-nodejs.svg" alt="Node.js icon" class="menu-icon" />
32+
Node.js
33+
</a>
34+
</li>
35+
<li>
36+
<a href="https://googlecloudplatform.github.io/gcloud-python/" title="Python docs page">
37+
<img src="img/icon-lang-python.svg" alt="Python icon" class="menu-icon" />
38+
Python
39+
</a>
40+
</li>
41+
<li>
42+
<a href="https://googlecloudplatform.github.io/gcloud-ruby/" title="Ruby docs page">
43+
<img src="img/icon-lang-ruby.svg" alt="Ruby icon" class="menu-icon" />
44+
Ruby
45+
</a>
46+
</li>
47+
</ul>
48+
</nav><!-- end of .main-nav -->
49+
</header><!-- end of .page-header -->
50+
51+
52+
<article class="main" role="main">
53+
<section class="hero-banner">
54+
<div class="container clearfix">
55+
<div class="col col-left">
56+
<h1>gcloud</h1>
57+
<p>Google Cloud Client Library for Java - an idiomatic, intuitive, and natural way for Java developers to integrate with Google Cloud Platform services, like Cloud Datastore and Cloud Storage.</p>
58+
</div><!-- end of .col.col-left -->
59+
<div class="col col-right">
60+
<h2>Quickstart with Maven: Add this to your pom.xml</h2>
61+
<pre>&lt;dependency&gt;
62+
&lt;groupId&gt;com.google.gcloud&lt;/groupId&gt;
63+
&lt;artifactId&gt;gcloud-java&lt;/artifactId&gt;
64+
&lt;version&gt;0.0.6&lt;/version&gt;
65+
&lt;/dependency&gt;</pre>
66+
</div><!-- end of .col.col-right -->
67+
</div><!-- end of .container -->
68+
</section><!-- end of .hero-banner -->
69+
70+
<section class="block featuring">
71+
<div class="container">
72+
<ul class="featuring-links">
73+
<li>
74+
<a href="./apidocs/index.html" title="gcloud-java docs" class="btn">
75+
Read the Docs
76+
</a>
77+
</li>
78+
<li>
79+
<a href="https://github.com/GoogleCloudPlatform/gcloud-java" title="gcloud-java on Github" class="ext-link">
80+
<img src="img/icon-link-github.svg" alt="Github icon" />
81+
Github
82+
</a>
83+
</li>
84+
<li>
85+
<a href="https://github.com/GoogleCloudPlatform/gcloud-java/issues" title="gcloud-java issues on Github" class="ext-link">
86+
<img src="img/icon-link-github.svg" alt="Github icon" />
87+
Issues
88+
</a>
89+
</li>
90+
<li>
91+
<a href="http://stackoverflow.com/questions/tagged/gcloud-java" title="gcloud on StackOverflow" class="ext-link">
92+
<img src="img/icon-link-stackoverflow.svg" alt="StackOverflow icon" />
93+
StackOverflow
94+
</a>
95+
</li>
96+
<li>
97+
<a href="./project-info.html" title="Java package manager" class="ext-link">
98+
<img src="img/icon-link-package-manager.svg" alt="Package Manager icon" />
99+
Package Information
100+
</a>
101+
</li>
102+
</ul>
103+
</div><!-- end of .container -->
104+
</section><!-- end of .featuring -->
105+
106+
<section class="block about">
107+
<div class="container clearfix">
108+
<h3 class="block-title">What is it?</h3>
109+
110+
<p><code>gcloud</code> is a client library for accessing Google
111+
Cloud Platform services that significantly reduces the boilerplate
112+
code you have to write. The library provides high-level API
113+
abstractions so they're easier to understand. It embraces
114+
idioms of Java, works well with the standard library, and
115+
integrates better with your codebase.
116+
All this means you spend more time creating code that matters
117+
to you.</p>
118+
119+
<p><code>gcloud</code> is configured to access Google Cloud Platform
120+
services and authorize (OAuth 2.0) automatically on your behalf.
121+
With a quick install and a private key, you are up and ready
122+
to go. Better yet, if you are running on a Google Compute Engine
123+
instance, the installation is enough!</p>
124+
125+
<h4>Retrieve Datastore Entries</h4>
126+
127+
<div hljs="" language="js">
128+
<pre><code class="hljs java"><span class="hljs-keyword">import</span> com.google.gcloud.datastore.Datastore;
129+
<span class="hljs-keyword">import</span> com.google.gcloud.datastore.DatastoreFactory;
130+
<span class="hljs-keyword">import</span> com.google.gcloud.datastore.DatastoreOptions;
131+
<span class="hljs-keyword">import</span> com.google.gcloud.datastore.Entity;
132+
<span class="hljs-keyword">import</span> com.google.gcloud.datastore.Key;
133+
<span class="hljs-keyword">import</span> com.google.gcloud.datastore.KeyFactory;
134+
135+
DatastoreOptions options = DatastoreOptions.builder().projectId(<span class="hljs-string">PROJECT_ID</span>).build();
136+
Datastore datastore = DatastoreFactory.instance().get(options);
137+
KeyFactory keyFactory = datastore.newKeyFactory().kind(<span class="hljs-string">KIND</span>);
138+
Key key = keyFactory.newKey(keyName);
139+
Entity entity = datastore.get(key);</code></pre></div>
140+
</div><!-- end of .container -->
141+
</section><!-- end of .featuring -->
142+
143+
<section class="block faq">
144+
<div class="container">
145+
<h3 class="block-title">FAQ</h3>
146+
<h4>What is the relationship between the gcloud package and the gcloud command-line tool?</h4>
147+
<p>Both the gcloud command-line tool and gcloud package are a part of the Google Cloud SDK: a collection of tools and libraries that enable you to easily create and manage resources on the Google Cloud Platform. The gcloud command-line tool can be used to manage both your development workflow and your Google Cloud Platform resources while the gcloud package is the Google Cloud Client Library for Java.</p>
148+
149+
<h4>What is the relationship between gcloud and the Google APIs Java Client?</h4>
150+
<p>The <a href="https://github.com/google/google-api-java-client">Google APIs Java Client</a> is a client library for using the broad set of Google APIs. gcloud is built specifically for the Google Cloud Platform and is the recommended way to integrate Google Cloud APIs into your Java applications. If your application requires both Google Cloud Platform and other Google APIs, the 2 libraries may be used by your application.</p>
151+
</div><!-- end of .container -->
152+
</section><!-- end of .faq -->
153+
</article><!-- end of .main -->
154+
155+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
156+
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
157+
<script src="js/plugins.js"></script>
158+
<script src="js/main.js"></script>
159+
</body>
160+
</html>

0 commit comments

Comments
 (0)