Liking cljdoc? Tell your friends :D

clj-gcloud.common


array-typeclj

(array-type type)
(array-type type dims)

Return a string representing the type of an array with dimensions and a type. For primitives, use a type like Integer/TYPE. Useful for type hints of the form: ^#=(array-type String) my-str-array

Return a string representing the type of an array with dimensions and a type.
For primitives, use a type like Integer/TYPE.
Useful for type hints of the form: ^#=(array-type String) my-str-array
sourceraw docstring

build-serviceclj

(build-service builder {:keys [project-id credentials retry-settings] :as opts})
source

default-retry-settingsclj

source

fixed-credentialsclj

(fixed-credentials path)

Returns a credentials provider which will always returns the service account credentials located at the path

Returns a credentials provider which will always returns the
service account credentials located at the path
sourceraw docstring

get-projectclj

(get-project)
(get-project settings)

Returns the project id using the credentials located in the client settings. If not a service account, it returns the first available project id among the following sources:

  • The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable;
  • The App Engine project ID;
  • The project ID specified in the JSON credentials file pointed by the GOOGLE_APPLICATION_CREDENTIALS environment variable;
  • The Google Cloud SDK project ID;
  • The Compute Engine project ID
Returns the project id using the credentials located in the client settings.
If not a service account, it returns the first available project id among the following sources:
- The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable;
- The App Engine project ID;
- The project ID specified in the JSON credentials file pointed by the
GOOGLE_APPLICATION_CREDENTIALS environment variable;
- The Google Cloud SDK project ID;
- The Compute Engine project ID
sourceraw docstring

mk-credentialsclj

(mk-credentials json-path)
source

mk-retry-settingsclj

(mk-retry-settings settings)
source

option-mapperclj

(option-mapper f)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close