Git Product home page Git Product logo

beaver's People

Contributors

dynaxis avatar joojis avatar maniagoon avatar

Watchers

 avatar

beaver's Issues

tempfile task

Create file on filepath "${Directory.systemTemp}/${Uuid().v4()}${userDefinedSuffix}" and return it.

example

  • args = [] : "/tmp/c3621ec0-20d5-449d-b878-2b62b77b9dde"
  • args = [".txt"] : "/tmp/c3621ec0-20d5-449d-b878-2b62b77b9dde.txt"

authentication workflow

준비 - Google Cloud SDK 설치

방법 1 - API Client Library

방법 2 - OAuth 인증 및 권한 획득 후 REST API 사용

REST API 예제

요청

POST https://datastore.googleapis.com/v1/projects/try-datastore-142407:runQuery?key={YOUR_API_KEY}
{
 "gqlQuery": {
  "queryString": "SELECT * FROM Task"
 }
}

응답

cache-control:  private
content-encoding:  gzip
content-length:  459
content-type:  application/json; charset=UTF-8
date:  Tue, 06 Sep 2016 03:29:52 GMT
server:  ESF
vary:  Origin, X-Origin, Referer
{
 "batch": {
  "entityResultType": "FULL",
  "entityResults": [
   {
    "entity": {
     "key": {
      "partitionId": {
       "projectId": "try-datastore-142407"
      },
      "path": [
       {
        "kind": "Task",
        "id": "5629499534213120"
       }
      ]
     },
     "properties": {
      "description": {
       "stringValue": "datastore test!!",
       "excludeFromIndexes": true
      },
      "done": {
       "booleanValue": false
      },
      "created": {
       "timestampValue": "2016-09-06T02:45:07.468Z"
      }
     }
    },
    "cursor": "CjESK2oWc350cnktZGF0YXN0b3JlLTE0MjQwN3IRCxIEVGFzaxiAgICAgICACgwYACAA",
    "version": "1473129925742000"
   }
  ],
  "endCursor": "CjESK2oWc350cnktZGF0YXN0b3JlLTE0MjQwN3IRCxIEVGFzaxiAgICAgICACgwYACAA",
  "moreResults": "NO_MORE_RESULTS"
 },
 "query": {
  "kind": [
   {
    "name": "Task"
   }
  ]
 }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.