8000 java-docs-samples/iot/api-client at mockito3 · orangain/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
< 567C script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"path":"iot/api-client","repo":{"id":262488590,"defaultBranch":"master","name":"java-docs-samples","ownerLogin":"orangain","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2020-05-09T04:29:00.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/532251?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"mockito3","listCacheKey":"v0:1613796209.770278","canEdit":false,"refType":"branch","currentOid":"3120eb78f6b9617de12177871ecfe793d9d6215a"},"tree":{"items":[{"name":"codelab","path":"iot/api-client/codelab","contentType":"directory"},{"name":"end-to-end-example","path":"iot/api-client/end-to-end-example","contentType":"directory"},{"name":"manager","path":"iot/api-client/manager","contentType":"directory"},{"name":"README.md","path":"iot/api-client/README.md","contentType":"file"},{"name":"generate_keys.sh","path":"iot/api-client/generate_keys.sh","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCloud IoT Core Java Samples\u003c/h1\u003e\u003ca id=\"user-content-cloud-iot-core-java-samples\" class=\"anchor\" aria-label=\"Permalink: Cloud IoT Core Java Samples\" href=\"#cloud-iot-core-java-samples\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003ca href=\"https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples\u0026amp;page=editor\u0026amp;open_in_editor=iot/api-client/manager/README.md\" rel=\"nofollow\"\u003e\n\u003cimg alt=\"Open in Cloud Shell\" src=\"https://camo.githubusercontent.com/cf29981159f3fb8f7d5c5ce0a4a4ab3d2a8e500b782d2016717c3e4aa6124bc5/687474703a2f2f677374617469632e636f6d2f636c6f75647373682f696d616765732f6f70656e2d62746e2e706e67\" data-canonical-src=\"http://gstatic.com/cloudssh/images/open-btn.png\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003cp dir=\"auto\"\u003eThis folder contains Java samples that demonstrate an overview of the\nGoogle Cloud IoT Core platform.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eQuickstart\u003c/h2\u003e\u003ca id=\"user-content-quickstart\" class=\"anchor\" aria-label=\"Permalink: Quickstart\" href=\"#quickstart\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eFrom the \u003ca href=\"https://console.cloud.google.com/iot/\" rel=\"nofollow\"\u003eGoogle Cloud IoT Core section\u003c/a\u003e\nof the Google Cloud console, create a device registry.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eUse the \u003ca href=\"/orangain/java-docs-samples/blob/mockito3/iot/api-client/generate_keys.sh\"\u003e\u003ccode\u003egenerate_keys.sh\u003c/code\u003e\u003c/a\u003e script to generate your signing keys:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e./generate_keys.sh\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eAdd a device using the file \u003ccode\u003ersa_cert.pem\u003c/code\u003e, specifying RS256_X509 and using the\ntext copy of the public key starting with the ----START---- block of the certificate.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ecat rsa_cert.pem\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eConnect a device using the HTTP or MQTT device samples in the \u003ca href=\"/orangain/java-docs-samples/blob/mockito3/iot/api-client/manager\"\u003emanager\u003c/a\u003e folder.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eProgrammattically control device configuration and using the device manager sample in the \u003ca href=\"/orangain/java-docs-samples/blob/mockito3/iot/api-client/manager\"\u003emanager\u003c/a\u003e folder.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Cloud IoT Core Java Samples","anchor":"cloud-iot-core-java-samples","htmlText":"Cloud IoT Core Java Samples"},{"level":2,"text":"Quickstart","anchor":"quickstart","htmlText":"Quickstart"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Forangain%2Fjava-docs-samples%2Ftree%2Fmockito3%2Fiot%2Fapi-client"}},"totalCount":5,"showBranchInfobar":true},"fileTree":{"iot":{"items":[{"name":"api-client","path":"iot/api-client","contentType":"directory"}],"totalCount":1},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":".kokoro","path":".kokoro","contentType":"directory"},{"name":"appengine-java11","path":"appengine-java11","contentType":"directory"},{"name":"appengine-java8","path":"appengine-java8","contentType":"directory"},{"name":"asset","path":"asset","contentType":"directory"},{"name":"auth","path":"auth","contentType":"directory"},{"name":"automl","path":"automl","contentType":"directory"},{"name":"bigquery","path":"bigquery","contentType":"directory"},{"name":"bigtable","path":"bigtable","contentType":"directory"},{"name":"cdn","path":"cdn","contentType":"directory"},{"name":"cloud-sql","path":"cloud-sql","contentType":"directory"},{"name":"compute","path":"compute","contentType":"directory"},{"name":"container-registry","path":"container-registry","contentType":"directory"},{"name":"datacatalog","path":"datacatalog","contentType":"directory"},{"name":"dataflow","path":"dataflow","contentType":"directory"},{"name":"datalabeling","path":"datalabeling","contentType":"directory"},{"name":"dataproc","path":"dataproc","contentType":"directory"},{"name":"datastore","path":"datastore","contentType":"directory"},{"name":"dialogflow","path":"dialogflow","contentType":"directory"},{"name":"dlp","path":"dlp","contentType":"directory"},{"name":"endpoints","path":"endpoints","contentType":"directory"},{"name":"errorreporting","path":"errorreporting","contentType":"directory"},{"name":"firestore","path":"firestore","contentType":"directory"},{"name":"flexible","path":"flexible","contentType":"directory"},{"name":"functions","path":"functions","contentType":"directory"},{"name":"healthcare","path":"healthcare","contentType":"directory"},{"name":"iam","path":"iam","contentType":"directory"},{"name":"iap","path":"iap","contentType":"directory"},{"name":"iot","path":"iot","contentType":"directory"},{"name":"jobs","path":"jobs","contentType":"directory"},{"name":"kms","path":"kms","contentType":"directory"},{"name":"language","path":"language","contentType":"directory"},{"name":"logging","path":"logging","contentType":"directory"},{"name":"memorystore","path":"memorystore","contentType":"directory"},{"name":"mlengine","path":"mlengine","contentType":"directory"},{"name":"monitoring","path":"monitoring","contentType":"directory"},{"name":"opencensus","path":"opencensus","contentType":"directory"},{"name":"pubsub","path":"pubsub","contentType":"directory"},{"name":"recommender","path":"recommender","contentType":"directory"},{"name":"run","path":"run","contentType":"directory"},{"name":"secretmanager","path":"secretmanager","contentType":"directory"},{"name":"securitycenter","path":"securitycenter","contentType":"directory"},{"name":"session-handling","path":"session-handling","contentType":"directory"},{"name":"spanner","path":"spanner","contentType":"directory"},{"name":"speech","path":"speech","contentType":"directory"},{"name":"storage","path":"storage","contentType":"directory"},{"name":"tasks","path":"tasks","contentType":"directory"},{"name":"texttospeech","path":"texttospeech","contentType":"directory"},{"name":"trace","path":"trace","contentType":"directory"},{"name":"translate","path":"translate","contentType":"directory"},{"name":"unittests","path":"unittests","contentType":"directory"},{"name":"video","path":"video","contentType":"directory"},{"name":"vision","path":"vision","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SAMPLE_FORMAT.md","path":"SAMPLE_FORMAT.md","contentType":"file"},{"name":"build.gradle","path":"build.gradle","contentType":"file"},{"name":"codecov.yml","path":"codecov.yml","contentType":"file"},{"name":"renovate.json","path":"renovate.json","contentType":"file"}],"totalCount":61}},"fileTreeProcessingTime":16.863159,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/orangain/java-docs-samples/branches":{"post":"NMvmuaohXb2yaF22enP8obck4YQRwvLb0qutkl9WKyiqRVst8Np8Bh6Rsx6m7bFCpwWMUKzgQ9jFqU9egtLfUw"},"/orangain/java-docs-samples/branches/fetch_and_merge/mockito3":{"post":"mmg29EA2LWwY4OpJHAj7L3jj7OR0JyivzBbuXSI163FiZjxobkFLAHUD0GVIRCAjh-MEIXeDU3_xU1HZW8NfOA"},"/orangain/java-docs-samples/branches/fetch_and_merge/mockito3?discard_changes=true":{"post":"YXvIxr4MmyWdOMywFCud_c5gMRaXCQUogPIAxuMIizCZdcJakHv9SfDb9pxAZ0bxMWDZ05Stfvi9t79Cmv4_eQ"}}},"title":"java-docs-samples/iot/api-client at mockito3 · orangain/java-docs-samples","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0