-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Redirect gh-pages to googleapis.dev. (#9080)
- Loading branch information
1 parent
b50cc46
commit 9171cf8
Showing
1,243 changed files
with
7,754 additions
and
764,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,203 +1,8 @@ | ||
<!doctype html> | ||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | ||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | ||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | ||
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>google-cloud-python</title> | ||
<meta name="description" content="Python idiomatic client for Google Cloud services."> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="shortcut icon" href="https://cloud.google.com/images/gcp-favicon.ico"> | ||
<link rel="stylesheet" href="_landing-page-static/css/normalize.css"> | ||
<link rel="stylesheet" href="_landing-page-static/css/main.css"> | ||
<link rel="stylesheet" href="_landing-page-static/pygments.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300"> | ||
<link rel="stylesheet" href="https://yandex.st/highlightjs/8.0/styles/github.min.css"> | ||
</head> | ||
<body> | ||
<header class="page-header" role="banner"> | ||
<h1 class="logo"><img src="_landing-page-static/images/logo-full.svg" alt="Google Cloud Platform" /></h1> | ||
<!-- start of language-switcher --> | ||
<nav class="main-nav"> | ||
<div class="nav-current">Python</div> | ||
<ul class="menu"> | ||
<li> | ||
<a href="http://googlecloudplatform.github.io/google-cloud-dotnet" title="google-cloud-dotnet"> | ||
<img src="_landing-page-static/images/icon-lang-dotnet.svg" alt=".NET icon" class="menu-icon" /> | ||
.NET | ||
</a> | ||
</li> | ||
<li> | ||
<a href="http://googlecloudplatform.github.io/google-cloud-cpp" title="google-cloud-cpp"> | ||
<img src="_landing-page-static/images/icon-lang-cpp.svg" alt="C++ icon" class="menu-icon" /> | ||
C++ | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://googlecloudplatform.github.io/google-cloud-java/" title="google-cloud-java"> | ||
<img src="_landing-page-static/images/icon-lang-java-duke.svg" alt="Duke icon" class="menu-icon"> | ||
Java | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://googlecloudplatform.github.io/google-cloud-go" title="google-cloud-go"> | ||
<img src="_landing-page-static/images/icon-lang-go.svg" alt="Go icon" class="menu-icon"> | ||
Go | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://googlecloudplatform.github.io/google-cloud-node/" title="google-cloud-node"> | ||
<img src="_landing-page-static/images/icon-lang-nodejs.svg" alt="Node.js icon" class="menu-icon"> | ||
Node.js | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://googlecloudplatform.github.io/google-cloud-php/" title="google-cloud-php"> | ||
<img src="_landing-page-static/images/icon-lang-php.svg" alt="PHP icon" class="menu-icon"> | ||
PHP | ||
</a> | ||
</li> | ||
<li> | ||
<a href="#" title="google-cloud-python"> | ||
<img src="_landing-page-static/images/icon-lang-python-white.svg" alt="Python icon" class="menu-icon"> | ||
Python | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://googlecloudplatform.github.io/google-cloud-ruby/" title="google-cloud-ruby"> | ||
<img src="_landing-page-static/images/icon-lang-ruby.svg" alt="Ruby icon" class="menu-icon" width="24"> | ||
Ruby | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<!-- end of language-switcher --> | ||
</header><!-- end of .page-header --> | ||
|
||
<article class="main" role="main"> | ||
<section class="hero-banner"> | ||
<div class="container clearfix"> | ||
<div class="col col-left"> | ||
<h1>google-cloud</h1> | ||
<p>Google Cloud client libraries for Python - idiomatic, intuitive, | ||
and natural way for Python developers to integrate with Google Cloud | ||
Platform services, such as Cloud Datastore and Cloud Storage.</p> | ||
</div><!-- end of .col.col-left --> | ||
</div><!-- end of .container --> | ||
</section><!-- end of .hero-banner --> | ||
|
||
<section class="block featuring"> | ||
<div class="container"> | ||
<ul class="featuring-links"> | ||
<li> | ||
<a href="latest/" title="google-cloud-python docs" class="btn btn-docs"> | ||
<img src="_landing-page-static/images/icon-lang-python.svg" alt="Python icon" /> | ||
Read the Docs | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/GoogleCloudPlatform/google-cloud-python" title="google-cloud-python on GitHub" class="ext-link"> | ||
<img src="_landing-page-static/images/icon-link-github.svg" alt="GitHub icon" /> | ||
GitHub | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/GoogleCloudPlatform/google-cloud-python/issues" title="google-cloud-python issues on Github" class="ext-link"> | ||
<img src="_landing-page-static/images/icon-link-github.svg" alt="GitHub icon" /> | ||
Issues | ||
</a> | ||
</li> | ||
<li> | ||
<a href="http://stackoverflow.com/questions/tagged/google-cloud-python" title="google-cloud-python on StackOverflow" class="ext-link"> | ||
<img src="_landing-page-static/images/icon-link-stackoverflow.svg" alt="StackOverflow icon" /> | ||
StackOverflow | ||
</a> | ||
</li> | ||
</ul> | ||
</div><!-- end of .container --> | ||
</section><!-- end of .featuring --> | ||
|
||
<section class="block about"> | ||
<div class="container clearfix"> | ||
<div class="col col-left"> | ||
<h3 class="block-title">What is it?</h3> | ||
|
||
<p>The <code>google-cloud-*</code> libraries provide clients for | ||
accessing Google Cloud Platform services, significantly reducing | ||
the boilerplate code you have to write. The libraries provide | ||
high-level API abstractions so they're easier to understand. | ||
They embrace idioms of Python, work well with the standard library, | ||
and integrate better with your codebase. All this means you spend | ||
more time creating code that matters to you.</p> | ||
|
||
<p>The <code>google-cloud-*</code> clients are configured to access | ||
Google Cloud Platform services and authorize (OAuth 2.0) automatically | ||
on your behalf. With a one-line install and a private key, you are up | ||
and ready to go. Better yet, if you are running on a Google Compute | ||
Engine instance, the one-line install is enough!</p> | ||
|
||
</div><!-- end of .col.col-left --> | ||
|
||
<div class="col col-right"> | ||
<h4>Retrieve Datastore Entities</h4> | ||
|
||
<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">google.cloud</span> <span class="kn">import</span> <span class="n">datastore</span> | ||
|
||
<span class="n">client</span> <span class="o">=</span> <span class="n">datastore</span><span class="o">.</span><span class="n">Client</span><span class="p">()</span> | ||
<span class="n">product_key</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">key</span><span class="p">(</span><span class="s">'Product'</span><span class="p">,</span> <span class="mi">123</span><span class="p">)</span> | ||
<span class="k">print</span><span class="p">(</span><span class="n">client</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">product_key</span><span class="p">))</span> | ||
</pre></div> | ||
</div> | ||
|
||
</div><!-- end of .col.col-right --> | ||
</div><!-- end of .container --> | ||
</section><!-- end of .featuring --> | ||
|
||
<section class="block examples"> | ||
<div class="container clearfix"> | ||
<h3 class="block-title">Examples</h3> | ||
|
||
<ul> | ||
<li> | ||
<a href="https://github.com/GoogleCloudPlatform/gcloud-python-expenses-demo"><code>gcloud-python-expenses-demo</code></a> - Use google-cloud-python with the Datastore and Cloud Storage to manage expenses | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
|
||
<section class="block"> | ||
<div class="container clearfix"> | ||
<h3 class="block-title">FAQ</h3> | ||
|
||
<h4>What is the relationship between the <code>google-cloud-*<ecode> | ||
libraries and the <code>gcloud</code> command-line tool?</h4> | ||
<p>Both the <code>gcloud</code> command-line tool and the | ||
<code>google-cloud-*</code> libraries 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 <code>gcloud</code> command-line tool can be used to manage both | ||
your development workflow and your Google Cloud Platform resources while | ||
the <code>google-cloud-*</code> libraries provide the | ||
libraries for creating and interacting with those reesources | ||
from Python.</p> | ||
|
||
<h4>What is the relationship between the <code>google-cloud-*</code> | ||
libraries and the Google APIs Python Client?</h4> | ||
<p>The <a href="https://github.com/google/google-api-python-client"> | ||
Google APIs Python Client</a> is a client library for using the broad | ||
set of Google APIs. | ||
The <code>google-cloud-*</code> libraries are built specifically for the | ||
Google Cloud Platform and provide the recommended way to integrate | ||
Google Cloud APIs into your Python applications. If your application | ||
requires both Google Cloud Platform and other Google APIs, both may be | ||
used by your application.</p> | ||
</div> | ||
</section> <!-- end of FAQ --> | ||
|
||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
<script>window.jQuery || document.write('<script src="_landing-page-static/js/vendor/jquery-1.10.2.min.js"><\/script>')</script> | ||
<script src="_landing-page-static/js/main.js"></script> | ||
</article><!-- end of .main --> | ||
</body> | ||
<html> | ||
<head> | ||
<meta http-equiv="refresh" content="1; url=https://github.com/googleapis/google-cloud-python#google-cloud-python-client" /> | ||
<script> | ||
window.location.href = "https://github.com/googleapis/google-cloud-python#google-cloud-python-client" | ||
</script> | ||
</head> | ||
</html> |
Oops, something went wrong.