├── .gitignore ├── LICENSE ├── README.md ├── bower.json ├── containers-demo.yaml ├── demo.html ├── google-cloud-compute.html ├── google-cloud-config.html ├── google-cloud.css ├── img ├── .DS_Store └── vm.png └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | .bowerrc 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Google Inc 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | https://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | google-cloud 2 | ============= 3 | 4 | This repository contains polymer elements for interacting 5 | with [Google Cloud Platform](http://example.com/) services. 6 | 7 | See the [component landing page](https://googlewebcomponents.github.io/google-cloud) for more information. 8 | 9 | ### Naming Conventions 10 | Google Cloud Platform (GCP) encompasses a wide variety of 11 | products and APIs so it's important to establish a clear and 12 | consistent naming scheme for the associated components. 13 | We will following the naming scheme implemented by the 14 | [Google Cloud SDK](https://developers.google.com/cloud/sdk/), 15 | which has established a well defined naming scheme for a 16 | collection of commands and subcommands for requesting GCP 17 | services. 18 | 19 | Our approach is to map the service identification part of the 20 | Cloud SDK's command syntax into a hyphen separated element 21 | name, which gives us the following mappings: 22 | 23 | | Cloud SDK Syntax | Polymer Element Name | 24 | | ------------------ | ---------------------- | 25 | | gcloud auth | google-cloud-auth | 26 | | gcloud config | google-cloud-config | 27 | | App Engine(*) | google-cloud-appengine | 28 | | BigQuery(*) | google-cloud-bigquery | 29 | | gcloud compute | google-cloud-compute | 30 | | Cloud Datastore(*) | google-cloud-datastore | 31 | | gcloud dns | google-cloud-dns | 32 | | Cloud Storage | google-cloud-storage | 33 | | gcloud sql | google-cloud-sql | 34 | 35 | (*) = command not yet implemented in Cloud SDK. 36 | 37 | Within each product (e.g. google-cloud-compute, google-cloud-storage), 38 | there will be a potentially large number of sub-components 39 | (e.g. google-cloud-compute-instance, google-cloud-compute-disk, 40 | google-cloud-storage-bucket, google-cloud-storage-object, etc.). 41 | The taxonomy for each set of sub-components will necessarily 42 | vary by product and is left to the design and implementation 43 | of each product's components. Wherever possible, designers 44 | of new components in this collection should take care to 45 | following the naming contention described here, i.e. to 46 | choose names that model those used by the Cloud SDK and 47 | to try to be consistent with other components in this 48 | collection. 49 | 50 | ### Current Status of this Element Collection 51 | 52 | This component collection is still in a very early state 53 | of development. Initially, it includes functionality for 54 | a small subset of the full suite of components anticipated, 55 | however, the goal is to expand this collection over time 56 | to provide a comprehensive set of declarative web components 57 | for interacting with the full set of Google Cloud Platform 58 | products and services. 59 | 60 | Interested in contributing? We'd love to have your help! 61 | Please fill out either the individual or corporate 62 | Contributor License Agreement (CLA): 63 | 64 | * If you are an individual writing original source code and 65 | you're sure you own the intellectual property, then you'll 66 | need to sign an [https://developers.google.com/open-source/cla/individual](individual CLA). 67 | 68 | * If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [https://developers.google.com/open-source/cla/corporate](corporate CLA). 69 | 70 | Follow either of the two links above to access the appropriate 71 | CLA and instructions for how to sign and return it. Once we 72 | receive it, we'll be able to accept your pull requests. 73 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "google-cloud", 3 | "version": "0.0.2", 4 | "description": "Polymer components for accessing Google Cloud Platform services.", 5 | "homepage": "https://googlewebcomponents.github.io/google-cloud", 6 | "main": "google-cloud.html", 7 | "authors": [ 8 | "Marc Cohen " 9 | ], 10 | "license": "Apache2", 11 | "ignore": [ 12 | "**/.*", 13 | "node_modules", 14 | "bower_components", 15 | "test", 16 | "tests", 17 | "../" 18 | ], 19 | "keywords": [ 20 | "web-component", 21 | "web-components", 22 | "polymer", 23 | "cloud", 24 | "google" 25 | ], 26 | "dependencies": { 27 | "polymer": "Polymer/polymer#^0.5.2", 28 | "core-meta": "Polymer/core-meta#~0.5.2", 29 | "google-apis": "GoogleWebComponents/google-apis#~0.4.3", 30 | "google-signin": "GoogleWebComponents/google-signin#~0.3.0" 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /containers-demo.yaml: -------------------------------------------------------------------------------- 1 | version: v1beta1 2 | containers: 3 | - name: nodejs-hello 4 | image: google/nodejs-hello 5 | ports: 6 | - name: port8080 7 | hostPort: 8080 8 | containerPort: 8080 9 | -------------------------------------------------------------------------------- /demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | google-cloud Demo 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 20 | 21 |
22 | 23 | 24 | 25 | 39 | 40 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /google-cloud-compute.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 42 | 43 | 120 | 121 | 122 | 139 | 140 | 143 | 144 | 182 | 183 | 184 | 201 | 202 | 205 | 206 | 287 | 288 | 289 | 324 | 325 | 328 | 329 | 562 | 563 | -------------------------------------------------------------------------------- /google-cloud-config.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | 18 | 45 | -------------------------------------------------------------------------------- /google-cloud.css: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | } 4 | 5 | /* To ensure your styling works under the Shadow DOM polyfill, see 6 | www.polymer-project.org/docs/polymer/styling.html#directives */ 7 | polyfill-next-selector { content: ':host > h2'; } 8 | ::content h2 { 9 | color: blue; 10 | } 11 | -------------------------------------------------------------------------------- /img/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleWebComponents/google-cloud/f9e6519d13d7a09205faf7833120b5597fd00946/img/.DS_Store -------------------------------------------------------------------------------- /img/vm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleWebComponents/google-cloud/f9e6519d13d7a09205faf7833120b5597fd00946/img/vm.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | --------------------------------------------------------------------------------