google-cloud-iot-v1 0.3.0 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7115e8734653206541d9fe9e0f4f4cc012daf88fca8bcbc0ba7f258a1583ca1e
4
- data.tar.gz: e2ce0ece8c64ee6bc4b7579b3ae2901f61a4efd20b2b7deb6b821c6118c72826
3
+ metadata.gz: 51a7961c348afedb04f95977d7832d152cf158fcd13cc187c997d8712ea4d18f
4
+ data.tar.gz: a9b1d98a1575bb88e432ce6265f4fa7c8d28602e890fa7a431858f52f8ca3c8c
5
5
  SHA512:
6
- metadata.gz: aabdcbaf57c49a9d0c1a19c9ab3e3e1471450a23ce47fbc10ed6ba5ec71a8a3d71a916e9b91311a1344e05610eb9d3cf2bc58a7fcceb483383cc4bd5d1bfc030
7
- data.tar.gz: 03bd07c0cc096930c370b3103ab6b671b69f805484663434fe75548190819223f5081ce0d0a0a417255f539a09215c30fe2568736973687ab5b5620f3fb94913
6
+ metadata.gz: 807c5e134956a0e13c9f550a52ada9f1078bd0b98906cf0ccc5d7e799dd42eac1c76650f4daee15cbdc9b5179893c8893c6a2ca504f95094b82c69b88253b517
7
+ data.tar.gz: 9c348dbc3e18f9290296e042cb227acadc0b5ba8efaca8ede9640729907aee4a7a30fc11fb1cab6106f2afa9b7244a4319afc904781600471be907ecf419b504
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-iot-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Iot::V1::DeviceManager::Credentials}):
68
68
 
69
- 1. `IOT_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `IOT_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `IOT_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `IOT_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/iot/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Iot::V1::DeviceManager::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/iot/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Iot::V1::DeviceManager::Client.new do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/iot/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/iot/v1"
34
34
 
35
35
  client = ::Google::Cloud::Iot::V1::DeviceManager::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Iot::V1::CreateDeviceRegistryRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_device_registry request
38
38
  ```
39
39