googlecloudplatform / elixir-samples Goto Github PK
View Code? Open in Web Editor NEWA collection of samples on using Elixir with Google Cloud Platform.
Home Page: https://cloud.google.com/community
License: Apache License 2.0
A collection of samples on using Elixir with Google Cloud Platform.
Home Page: https://cloud.google.com/community
License: Apache License 2.0
Policy Bot found one or more issues with this repository.
Hello,
i've got a little problem. I want to upload a file via a form to my google cloud bucket.
With the file_input
function from the Phoenix.HTML.Form
module i receive an upload plug like this:
%Plug.Upload{
content_type: "image/png",
filename: "2013_03_512x5124.png",
path: "/var/folders/rx/r_c4m3yj41n4s4gn_s843pm00000gn/T//plug-1543/multipart-1543267977-811873296929292-1"
}
I use the filename
and the path
as input for my upload function:
def upload_image(file_path, file_name) do
# Authenticate.
{:ok, token} = Goth.Token.for_scope("https://www.googleapis.com/auth/cloud-platform")
conn = GoogleApi.Storage.V1.Connection.new(token.token)
bucket_id = System.get_env("GOOGLE_PROJECT_ID")
file_uuid = UUID.uuid4(:hex)
unique_filename = "#{file_uuid}-#{file_name}"
# Make the API request.
GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_simple(
conn,
bucket_id,
"multipart",
%{name: unique_filename},
image_binary
)
end
But when the upload_image
function get's triggered, my application runs into a timeout.
The error from my test is also not very informative...
** (ExUnit.TimeoutError) test timed out after 60000ms. You can change the timeout:
1. per test by setting "@tag timeout: x"
2. per case by setting "@moduletag timeout: x"
3. globally via "ExUnit.start(timeout: x)" configuration
4. or set it to infinity per run by calling "mix test --trace"
(useful when using IEx.pry)
Timeouts are given as integers in milliseconds.
code: Erlebe.Uploader.Google.upload_image(
stacktrace:
(inets) httpc.erl:626: :httpc.handle_answer/3
(inets) httpc.erl:567: :httpc.handle_request/9
(tesla) lib/tesla/adapter/httpc.ex:32: Tesla.Adapter.Httpc.request/2
(tesla) lib/tesla/adapter/httpc.ex:19: Tesla.Adapter.Httpc.call/2
(tesla) lib/tesla/middleware/core.ex:6: Tesla.Middleware.Normalize.call/3
(google_api_storage) lib/google_api/storage/v1/api/objects.ex:559: GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_simple/6
test/erlebe/uploader/google_test.exs:21: (test)
(ex_unit) lib/ex_unit/runner.ex:312: ExUnit.Runner.exec_test/1
(stdlib) timer.erl:166: :timer.tc/1
(ex_unit) lib/ex_unit/runner.ex:251: anonymous fn/4 in ExUnit.Runner.spawn_test/3
I really hope someone can help me with my issue!
Thanks in advance,
Felix
Hey guys, when trying to run the app mix phx.server
, Im having
== Compilation error in file web/views/layout_view.ex ==
** (RuntimeError) unexpected EEx.Engine state: {:safe, [{:|, [], [{:__block__, [], [{:=, [], [{:tmp1, [], Phoenix.HTML.Engine}, [{:|, [], ["", "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <meta name=\"description\" content=\"\">\n <meta name=\"author\" content=\"\">\n\n <title>OAuth2/Phoenix!</title>\n <link href=\"//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\" rel=\"stylesheet\">\n <link rel=\"stylesheet\" href=\""]}]]}, [{:|, [], [{:tmp1, [], Phoenix.HTML.Engine}, {:case, [generated: true], [{:static_path, [line: 12], [{{:., [line: 12], [{:__aliases__, [line: 12, alias: false], [:Phoenix, :HTML, :Engine]}, :fetch_assign]}, [line: 12], [{:var!, [line: 12, context: Phoenix.HTML.Engine, import: Kernel], [{:assigns, [line: 12], Phoenix.HTML.Engine}]}, :conn]}, "/css/app.css"]}, [do: [{:->, [generated: true], [[safe: {:data, [generated: true], Phoenix.HTML.Engine}], {:data, [generated: true], Phoenix.HTML.Engine}]}, {:->, [generated: true], [[{:when, [generated: true], [{:bin, [generated: true], Phoenix.HTML.Engine}, {:is_binary, [generated: true, context: Phoenix.HTML.Engine, import: Kernel], [{:bin, [generated: true], Phoenix.HTML.Engine}]}]}], {{:., [generated: true], [{:__aliases__, [generated: true, alias: false], [:Plug, :HTML]}, :html_escape]}, [generated: true], [{:bin, [generated: true], Phoenix.HTML.Engine}]}]}, {:->, [generated: true], [[{:other, [generated: true], Phoenix.HTML.Engine}], {{:., [line: 12], [{:__aliases__, [line: 12, alias: false], [:Phoenix, :HTML, :Safe]}, :to_iodata]}, [line: 12], [{:other, [line: 12], Phoenix.HTML.Engine}]}]}]]]}]}]]}, "\">\n </head>\n\n <body>\n <div class=\"navbar navbar-inverse navbar-static-top\">\n <div class=\"container\">\n <div class=\"navbar-header\">\n <a class=\"navbar-brand\" href=\"/\">Google OAuth2 Example</a>\n </div>\n <ul class=\"nav navbar-nav navbar-right\">\n <li>\n <a href=\"https://github.com/GoogleCloudPlatform/elixir-samples/tree/master/auth\">\n <i class=\"fa fa-github\"></i>\n View on GitHub\n </a>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"jumbotron\">\n <span class=\"logo\"></span>\n <h2>Google OAuth2 Example Application!</h2>\n <p class=\"lead\">\n This is an application to show how to wire up\n <a href=\"https://developers.google.com/identity/protocols/OAuth2\">Google</a> with\n <a href=\"https://github.com/phoenixframework/phoenix\">Phoenix</a> using\n <a href=\"https://github.com/scrogson/oauth2\">OAuth2</a>.\n </p>\n <p>\n It is based off of the <a href=\"https://github.com/scrogson/oauth2_example\">OAuth2 Sample Application</a>\n for Phoenix.\n </p>\n <br>\n\n"]}]}. This typically means a bug or an outdated EEx.Engine or tool
(eex) lib/eex/engine.ex:216: EEx.Engine.check_state!/1
(eex) lib/eex/engine.ex:161: EEx.Engine.handle_begin/1
(eex) lib/eex/compiler.ex:56: EEx.Compiler.generate_buffer/4
(phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2
(phoenix) lib/phoenix/template.ex:186: anonymous fn/3 in Phoenix.Template."MACRO-__before_compile__"/2
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix) expanding macro: Phoenix.Template.__before_compile__/1
web/views/layout_view.ex:1: GoogleOAuth2Example.LayoutView (module)
(elixir) lib/kernel/parallel_compiler.ex:229: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7
Elixir:
Erlang/OTP 22 [erts-10.4.4] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.9.2 (compiled with Erlang/OTP 20)
I have an offline task that needs to run periodically over a long time period, and my access token expires too quickly. I need to use a refresh token pattern to update the access token periodically, but documentation isn't clear.
Please add to the auth
example the use of refresh token. Thanks!
Travis is a nice guy who runs our tests every time we submit a pull request! We should give him access to our project so he can do this for us.
First of all, thank you for creating this project. I launched it and got some warnings.
Elixir 1.7.3
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:60
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:59
warning: found quoted atom "nextPageToken" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/list_operations_response.ex:31
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:61
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:60
warning: found quoted atom "audio" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/long_running_recognize_request.ex:31
warning: found quoted atom "operations" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/list_operations_response.ex:32
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:62
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:61
warning: found quoted atom "config" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/long_running_recognize_request.ex:32
warning: found quoted atom "operations" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/list_operations_response.ex:40
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:62
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:63
warning: found quoted atom "audio" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/long_running_recognize_request.ex:40
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:64
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:65
warning: found quoted atom "config" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/long_running_recognize_request.ex:41
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:65
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:66
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:66
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:67
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:67
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:68
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:68
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:69
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:69
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:70
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:70
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:71
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:71
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:72
warning: found quoted atom "body" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:72
warning: found quoted atom "body" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:73
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:113
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:116
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:114
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:117
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:115
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:118
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:116
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:119
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:118
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:121
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:119
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:122
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:120
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:123
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:121
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:124
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:122
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:125
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:123
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:126
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:124
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:127
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:125
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:128
warning: found quoted atom "body" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/speech.ex:126
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:171
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:172
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:173
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:174
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:176
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:177
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:178
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:179
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:180
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:181
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:182
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:183
warning: found quoted atom "upload_protocol" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:229
warning: found quoted atom "prettyPrint" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:230
warning: found quoted atom "fields" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:231
warning: found quoted atom "uploadType" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:232
warning: found quoted atom "callback" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:234
warning: found quoted atom "alt" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:235
warning: found quoted atom "key" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:236
warning: found quoted atom "access_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:237
warning: found quoted atom "quotaUser" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:238
warning: found quoted atom "pp" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:239
warning: found quoted atom "bearer_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:240
warning: found quoted atom "oauth_token" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:241
warning: found quoted atom "pageToken" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:242
warning: found quoted atom "name" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:243
warning: found quoted atom "pageSize" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:244
warning: found quoted atom "filter" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/api/operations.ex:245
warning: found quoted atom "done" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:34
warning: found quoted atom "error" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:35
warning: found quoted atom "metadata" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:36
warning: found quoted atom "name" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:37
warning: found quoted atom "response" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:38
warning: found quoted atom "error" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:46
warning: found quoted atom "metadata" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:47
warning: found quoted atom "response" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/operation.ex:48
warning: found quoted atom "content" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_audio.ex:31
warning: found quoted atom "uri" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_audio.ex:32
warning: found quoted atom "enableWordTimeOffsets" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:37
warning: found quoted atom "encoding" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:38
warning: found quoted atom "languageCode" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:39
warning: found quoted atom "maxAlternatives" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:40
warning: found quoted atom "profanityFilter" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:41
warning: found quoted atom "sampleRateHertz" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:42
warning: found quoted atom "speechContexts" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:43
warning: found quoted atom "speechContexts" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognition_config.ex:51
warning: found quoted atom "audio" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_request.ex:31
warning: found quoted atom "config" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_request.ex:32
warning: found quoted atom "audio" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_request.ex:40
warning: found quoted atom "config" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_request.ex:41
warning: found quoted atom "results" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_response.ex:30
warning: found quoted atom "results" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/recognize_response.ex:38
warning: found quoted atom "phrases" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_context.ex:30
warning: found quoted atom "confidence" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_alternative.ex:32
warning: found quoted atom "transcript" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_alternative.ex:33
warning: found quoted atom "words" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_alternative.ex:34
warning: found quoted atom "words" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_alternative.ex:42
warning: found quoted atom "alternatives" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_result.ex:30
warning: found quoted atom "alternatives" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/speech_recognition_result.ex:38
warning: found quoted atom "code" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/status.ex:32
warning: found quoted atom "details" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/status.ex:33
warning: found quoted atom "message" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/status.ex:34
warning: found quoted atom "details" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/status.ex:42
warning: found quoted atom "endTime" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/word_info.ex:32
warning: found quoted atom "startTime" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/word_info.ex:33
warning: found quoted atom "word" but the quotes are not required. Quotes should only be used to introduce atoms with foreign characters in them
lib/google_api/speech/v1/model/word_info.ex:34```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.