トップ 一覧 ping 検索 ヘルプ RSS ログイン

Google Cloud Platformの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!!Google Cloud Platform
「Angular][Flask][TypeScript]

*https://cloud.google.com/?
*http://typea.info/blg/glob/google-cloud-platform/

!!Google Cloud SDK コマンド
*https://cloud.google.com/sdk/docs/?hl=ja

,コマンド,概要
,[gcloud init|https://cloud.google.com/sdk/gcloud/reference/init?hl=ja],gcloud を初期化(再初期化)する。
,[gcloud app deploy|https://cloud.google.com/sdk/gcloud/reference/app/deploy],ローカルのコードおよび設定をAppEngineにデプロイ
,gcloud config list,デフォルトプロジェクトの確認
,gcloud config set project {project_name},デフォルトプロジェクトの変更


!CentOs
*https://cloud.google.com/sdk/downloads?hl=ja
::リポジトリの追加
 sudo tee -a /etc/yum.repos.d/google-cloud-sdk.repo << EOM
 [google-cloud-sdk]
 name=Google Cloud SDK
 baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64
 enabled=1
 gpgcheck=1
 repo_gpgcheck=1
 gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
        https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
 EOM
::インストール
 # yum install google-cloud-sdk
!!管理
!プロジェクトの作成
*https://cloud.google.com/resource-manager/docs/creating-managing-projects?hl=ja
!カスタムドメイン
*https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl
!!!Python環境
*https://cloud.google.com/python/quickstarts

!!!スタンダード環境
*https://cloud.google.com/appengine/docs/standard/python/quickstart
::サンプル
 git clone https://github.com/GoogleCloudPlatform/python-docs-samples
 cd python-docs-samples/appengine/standard/hello_world
*起動
 py -2 "C:\Programs\Google\Cloud SDK\google-cloud-sdk\bin\dev_appserver.py" app.yaml

!!Flask
*https://cloud.google.com/appengine/docs/standard/python/getting-started/python-standard-env


!!Google Cloud Datastore
*https://cloud.google.com/datastore/docs/quickstart
*https://www.topgate.co.jp/gcp06-how-to-use-cloud-datastore-gae
*https://cloud.google.com/python/getting-started/using-cloud-datastore?hl=ja

!API リファレンス
*https://cloud.google.com/appengine/docs/standard/python/refdocs/google.appengine.ext.ndb

!!モデル
*https://cloud.google.com/appengine/docs/standard/python/refdocs/google.appengine.ext.ndb.model

allocate_ids
allocate_ids_async
get_by_id
get_by_id_async
get_or_insert
get_or_insert_async
gql
has_complete_key
populate
put
put_async
query
to_dict

!エンティティのKEY
*https://cloud.google.com/appengine/docs/standard/python/ndb/creating-entity-keys

!クエリ
 User.get_by_id('xxxx')
 user = User.query().filter(User.sns_id == sns_id).get()
!プロパティ
,プロパティ,説明
,"StringProperty"," a short text string, limited to 500 bytes"
,"TextProperty"," an unlimited text string; unindexed"
,"BlobProperty"," an unlimited byte string; unindexed"
,"IntegerProperty"," a 64-bit signed integer"
,"FloatProperty"," a double precision floating point number"
,"BooleanProperty"," a bool value"
,"DateTimeProperty"," a datetime object. Note," App Engine always uses UTC as the timezone"
,"DateProperty"," a date object"
,"TimeProperty"," a time object"
,"GeoPtProperty"," a geographical location, i.e. (latitude, longitude)"
,"KeyProperty","Cloud Datastore KEY値、オプションで特定のKind参照に拘束"
,"UserProperty"," a User object (for backwards compatibility only)"
,"StructuredProperty"," a field that is itself structured like an entity; see below for more details"
,"LocalStructuredProperty"," like StructuredProperty but the on-disk representation is an opaque blob; unindexed"
,"ComputedProperty"," a property whose value is computed from other properties by a user-defined function. The property value is written to Cloud Datastore so that it can be used in queries, but the value from Cloud Datastore is not used when the entity is read back"
,"GenericProperty"," a property whose type is not constrained; mostly used by the Expando class (see below) but also usable explicitly"
,"JsonProperty"," a property whose value is any object that can be serialized using JSON; the value written to Cloud Datastore is a JSON representation of that object"
,"PickleProperty"," a property whose value is any object that can be serialized using Python’s pickle protocol; the value written to the Cloud Datastore is the pickled representation of that object, using the highest available pickle protocol
!!!.Google App Engine .NET フレキシブル環境
*https://cloud.google.com/appengine/docs/flexible/dotnet/?hl=ja
!!!API
*https://console.cloud.google.com/apis/library

*[API Explorer|https://developers.google.com/apis-explorer/?hl=ja#p/]
*Firebase

!!マップ

,API,説明
,Directions API,複数の場所間の道順
,Distance Matrix API,複数の目的地の移動時間と距離
,Geocoding API,住所と地理座標を変換
,Geolocation API,携帯基地局とWiFiノードからの位置データ
,Maps Elevation API,世界のあらゆる地点の標高データ
,Maps Embed API,Googleマップで場所を簡単に見つけられる
,Maps Javascript API,ウェブサイト用のマップ
,Maps SDK for Android,ネイティブAndroidアプリ用のマップ
,Maps SDK for iOS,ネイティブiOSアプリ用マップ
,Maps Static API,最小限のコードでシンプルで埋め込み可能な地図画像
,Places API,場所に関する詳細情報
,Roads API,GPSブレッドクラムを正確にトレースするためのスナップトゥロード機能
,Street View API,実世界の画像とパノラマ
,Street View Publish API,位置、方向、接続性のメタデータとともに、360枚の写真をGoogleマップに公開
,Timezone API,世界各地のタイムゾーン
!!機械学習

,API,内容
,Cloud AutoML API,最小限の労力と機械学習で高品質のカスタム機械学習モデルをトレーニング
,Cloud Machine Learning Engine,機械学習モデルの作成と使用を可能にするためのAPI。
,Cloud Natual Language API,センチメント分析、実体などの自然言語理解技術を提供
,Cloud Speech-to-Text API,音声認識
,Cloud Transration API,ェブサイトまたはアプリケーションにテキスト翻訳を統合
,Cloud Video Intelligence API,ビデオ内のオブジェクト、明示的なコンテンツ、およびシーンの変化を検出
,Cloud Vision API,画像コンテンツ分析
,Dialogflow API,会話型インターフェースを構築
!!G Suite
,API,内容
,Admin SDK,Admin SDKを使用すると、エンタープライズドメインの管理者はユーザーのようなリソースを表示および管理できます
,Apps Activity API,AppsアクティビティAPIは、Google Apps内でのユーザーの過去の行動を表示します
,Apps Marketplace API,Apps MarketplaceアプリケーションをGoogleのライセンスおよび請求サービスと統合できます。
,Apps Script API,Google Apps Scriptプロジェクトを管理および実行するためのAPI
,Audit API,Audit APIを使用すると、ドメイン管理者はドメイン内のユーザーの操作をさまざまな方法で表示できます
,CalDAV API,CalDAV APIを使用すると、Googleのカレンダーとイベントを管理できます
,Enterprise License Manager API,Google Enterprise License Manager APIを使用すると、ユーザーはすべてのユーザーにアプリのライセンスを取得できます
,G Suite Vault API,G Suiteのアーカイブと電子情報開示
,Gmail API,ユーザーの受信トレイへの柔軟でRESTfulなアクセス
,Google Apps Reseller API,Google Apps再販コンソールで利用可能な一般的な機能を次のような規模で実行する
,Google Calendar API,カレンダーAPIを使用してGoogleカレンダーと統合します
,Google Classroom API,クラスルームコースのプロビジョニングと管理
,Google Docs API,Google Docs文書を読み書きします
,Google Drive API,Google Drive APIにより、クライアントはGoogle Driveからリソースにアクセスできます
,Google Sheets API,Sheets APIを使用すると、スプレッドシートデータの内容と外観を完全に制御できます
,Google Sliders API,Googleスライドのプレゼンテーションを読み書きします
,Google+ Domains API,Google+ Domains APIにより、開発者はGoogle Apps用のGoogle+プラットフォーム上に構築できます
,Hangouts Chat API,新しいハングアウトチャット用のボットを作成します。
,Tasks API,Google Tasks APIを使用すると、自分のタスクとタスクリストを管理できます。
!!YouTube

,API,内容
,YouTube Ads Reach API,YouTube広告を取得する市場、人口統計、キャンペーン予算、その他の基準ごとのリーチ
,YouTube Analytics API,YouTubeアナリティクスのデータを取得します。
,YouTube Data API v3,ビデオ、プレイリスト、チャンネルなどのYouTubeデータへのアクセスを提供するAPIです。
,YouTube Reporting API,
!!ソーシャル
,API,内容
,Contacts API,連絡先APIを使用すると、連絡先を表示、編集、および整理できます
,Google People API,プロファイルと連絡先に関する情報へのアクセスを提供します
,Google+ API,Google+ APIを使用すると、開発者はGoogle+プラットフォームの上に構築できます
,Google+ Domains API,Google+ Domains APIにより、開発者はGoogle Apps用のGoogle+プラットフォーム上に構築できます
!!広告
!!モバイル

,API,内容
,Accelerated Mobile Pages(AMP) URL API,batchGetという単一のメソッドが含まれています。このメソッドを呼び出して、指定されたパブリックURLのAMP URL(および同等のAMPキャッシュURL)を取得
,Android Device Provisioning Partner API,デバイスの再販業者、顧客、およびEMMに対するAndroidのゼロタッチ登録を自動
,Android Device Verification,Androidデバイス検証(公開)
,Android Management API,Androidデバイスとアプリケーションのリモートエンタープライズ管理を提供
,Cloud Messaging,コストをかけずに確実にメッセージを配信できるクロスプラットフォームのメッセージングソリューション
,Firebase Remote Config API,アプリをリモートで設定する
,Fitness API,ユーザーのフィットネス追跡データを管理する
,Google Play Android Developer API,Google Playストアでアプリを管理する
,Google Play EMM API,企業のAndroidデバイスを管理するためのAPI
,Google Play Game Management,Google Playゲーム管理APIを使用すると、開発者はGoogle Playゲームサービスからリソースを管理できます。
,Google Play Game Services,PlayゲームSDKはクロスプラットフォームのGoogle Playゲームサービスを提供します。これにより、実績、リーダーボード、保存ゲーム、リアルタイムマルチプレイヤー(Android上)などの人気のあるゲーム機能をタブレットやモバイルゲームに簡単に統合できます
,Google Play Game Services Publishing API,Google Playゲームサービス公開APIを使用すると、開発者はゲームサービスでゲームを設定できます。
!!Google Cloud API
,API,内容
,Actions API,開発者は自分のアクションをGoogle Cloud Platformに登録して管理できます。
,App Engine Admin API,開発者のApp Engineアプリケーションをプロビジョニングおよび管理します
,BigQuery API,顧客がデータを作成、管理、共有、および照会するためのデータプラットフォーム
,BigQuery Data Transfer API,定期的にクエリをスケジュールしたり、SaaSアプリケーションからGoogle BigQueryに外部データを転送したりします
,Cloud Monitoring API,このAPIを使用すると、リソースの使用量とコストを監視し、問題を検出して調査し、ビジュアライゼーションと通知を活用してビジネス上の意思決定を導くことができます
,Cloud OS Login API,GoogleアカウントユーザーのOSログイン設定を管理します。
,Cloud Resource Manager API,Google Cloud Platformリソースコンテナのメタデータを作成、読み取り、更新します
,Cloud Runtime Configuration API,Google Cloud Platformを介して変数を動的に設定して公開することができます。 さらに、データへの変更を監視し、特定の条件に基づいて戻る監視者と待機者を設定することもできます。
,Cloud Scheduler API,完全に管理されたエンタープライズグレードのcronジョブスケジューラ
,Cloud Source Repositories API,Googleがホストするソースコードリポジトリにアクセスする
,Cloud Spanner API,管理された、ミッションクリティカルな、グローバルに一貫性のあるスケーラブルなリレーショナルデータベースサービスです
,Cloud Tasks API,クラウド用の分散タスクキュー
,Cloud Testing API,開発者は、Googleのインフラストラクチャでモバイルアプリケーションの自動テストを実行できます
,Dataflow API,Google Cloud Platform上のGoogle Cloud Dataflowプロジェクトを管理します
,Google App Engine Flexible Environment,このサービスはApp Engine Flexible Environmentを有効にします。これにより、App Engine管理サービスの利点と必要なソフトウェアを実行するための柔軟性が得られます
,Google Container Registry API,Google Cloud Platform上で安全なプライベートDockerイメージストレージを提供します。 当社のAPIはDocker Registry APIの仕様に準拠しているため、Docker CLIクライアント、およびDocker Registry APIを使用した標準のツールと完全に互換性があります。
,Service Control API,ロギング、モニタリング、ステータスチェックなど、管理対象サービスにコントロールプレーン機能を提供します。
,Stackdriver Debugger API,実行中のアプリケーションの呼び出しスタックと変数を、停止したり遅くしたりすることなく調べます。
,Stackdriver Error Reporting API,クラウドサービスおよびアプリケーションからの同様のエラーをグループ化してカウントし、新しいエラーを報告し、エラーグループとそれに関連するエラーへのアクセスを提供します
,Stackdriver Trace API,表示するためにアプリケーショントレースデータをStackdriver Traceに送信します。デフォルトでは、すべてのApp Engineアプリケーションについてトレースデータが収集されます。このAPIを使用して他のアプリケーションからのトレースデータを提供できます
,Storaget Transfer API,外部データソースからGoogle Cloud Storageバケットへ、またはGoogle Cloud Storageバケット間でデータを転送します
,Zync Render API,Google Cloudの視覚効果とアニメーションレンダリングサービス
!!その他
,API,内容
,Fusion Tables API,Google Fusion Tablesでデータを管理できます。
,PageSpeed Insight API,ページが一般的なパフォーマンスのベストプラクティスを適用しているかどうかを確認し、0〜100ポイントのスコアを提供します。スコアは次の3つのカテゴリのいずれかに分類されます。
,Poly API,Polyのアセットへの読み取りおよびホワイトリストアップロードアクセスを提供します
,URL Shortener API,URLを短くして、どこでも共有できるようにします。
,Web Fonts Developer API,Googleが提供しているWebフォントに関する情報を取得できます。
!!!Tips
*[Windows10とPython3xの環境にPython2.7を共存させGoogle Cloud SDK をインストールする|http://typea.info/blg/glob/2017/09/windows10python3xpython27google-cloud-sdk.html]