google-cloud-iot-v1 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2afca5ac3f8fb2163f4dde0726c5d345a26e95c366cc1063fd12023bb156c9d2
|
|
4
|
+
data.tar.gz: ce93fd9c9ba9aab43b07a85729fa40744c4dc4146069ef7e27274baa17085ade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c0c13622c9beb8b6268016737b7f7a6747f6dc0dbad1452a2194273d69a2714b8af5dd9e7accd786f4cda5930b1e74a76873d24ff710f825637c44b84577044
|
|
7
|
+
data.tar.gz: 1891d9f87c2cd50f363036970f79c05761139eb0cfd256173f0595dabca893932baa52605e826d26bf62732d1a1e38605f8223713f592e84b787fcdf2725fcbe
|
|
@@ -72,7 +72,7 @@ module Google
|
|
|
72
72
|
initial_delay: 0.1,
|
|
73
73
|
max_delay: 60.0,
|
|
74
74
|
multiplier: 1.3,
|
|
75
|
-
retry_codes: [
|
|
75
|
+
retry_codes: [14, 4]
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
default_config.rpcs.update_device_registry.timeout = 120.0
|
|
@@ -82,7 +82,7 @@ module Google
|
|
|
82
82
|
initial_delay: 0.1,
|
|
83
83
|
max_delay: 60.0,
|
|
84
84
|
multiplier: 1.3,
|
|
85
|
-
retry_codes: [
|
|
85
|
+
retry_codes: [14, 4]
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
default_config.rpcs.list_device_registries.timeout = 120.0
|
|
@@ -90,7 +90,7 @@ module Google
|
|
|
90
90
|
initial_delay: 0.1,
|
|
91
91
|
max_delay: 60.0,
|
|
92
92
|
multiplier: 1.3,
|
|
93
|
-
retry_codes: [
|
|
93
|
+
retry_codes: [14, 4]
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
default_config.rpcs.create_device.timeout = 120.0
|
|
@@ -100,7 +100,7 @@ module Google
|
|
|
100
100
|
initial_delay: 0.1,
|
|
101
101
|
max_delay: 60.0,
|
|
102
102
|
multiplier: 1.3,
|
|
103
|
-
retry_codes: [
|
|
103
|
+
retry_codes: [14, 4]
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
default_config.rpcs.update_device.timeout = 120.0
|
|
@@ -110,7 +110,7 @@ module Google
|
|
|
110
110
|
initial_delay: 0.1,
|
|
111
111
|
max_delay: 60.0,
|
|
112
112
|
multiplier: 1.3,
|
|
113
|
-
retry_codes: [
|
|
113
|
+
retry_codes: [14, 4]
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
default_config.rpcs.list_devices.timeout = 120.0
|
|
@@ -118,7 +118,7 @@ module Google
|
|
|
118
118
|
initial_delay: 0.1,
|
|
119
119
|
max_delay: 60.0,
|
|
120
120
|
multiplier: 1.3,
|
|
121
|
-
retry_codes: [
|
|
121
|
+
retry_codes: [14, 4]
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
default_config.rpcs.modify_cloud_to_device_config.timeout = 120.0
|
|
@@ -126,7 +126,7 @@ module Google
|
|
|
126
126
|
initial_delay: 1.0,
|
|
127
127
|
max_delay: 60.0,
|
|
128
128
|
multiplier: 1.3,
|
|
129
|
-
retry_codes: [
|
|
129
|
+
retry_codes: [14, 4, 8]
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
default_config.rpcs.list_device_config_versions.timeout = 120.0
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
initial_delay: 0.1,
|
|
135
135
|
max_delay: 60.0,
|
|
136
136
|
multiplier: 1.3,
|
|
137
|
-
retry_codes: [
|
|
137
|
+
retry_codes: [14, 4]
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
default_config.rpcs.list_device_states.timeout = 120.0
|
|
@@ -142,7 +142,7 @@ module Google
|
|
|
142
142
|
initial_delay: 0.1,
|
|
143
143
|
max_delay: 60.0,
|
|
144
144
|
multiplier: 1.3,
|
|
145
|
-
retry_codes: [
|
|
145
|
+
retry_codes: [14, 4]
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
default_config.rpcs.set_iam_policy.timeout = 120.0
|
|
@@ -156,7 +156,7 @@ module Google
|
|
|
156
156
|
initial_delay: 1.0,
|
|
157
157
|
max_delay: 60.0,
|
|
158
158
|
multiplier: 1.3,
|
|
159
|
-
retry_codes: [
|
|
159
|
+
retry_codes: [14, 4, 8]
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
default_config.rpcs.bind_device_to_gateway.timeout = 120.0
|
|
@@ -35,35 +35,35 @@ module Google
|
|
|
35
35
|
self.service_name = 'google.cloud.iot.v1.DeviceManager'
|
|
36
36
|
|
|
37
37
|
# Creates a device registry that contains devices.
|
|
38
|
-
rpc :CreateDeviceRegistry, CreateDeviceRegistryRequest, DeviceRegistry
|
|
38
|
+
rpc :CreateDeviceRegistry, Google::Cloud::Iot::V1::CreateDeviceRegistryRequest, Google::Cloud::Iot::V1::DeviceRegistry
|
|
39
39
|
# Gets a device registry configuration.
|
|
40
|
-
rpc :GetDeviceRegistry, GetDeviceRegistryRequest, DeviceRegistry
|
|
40
|
+
rpc :GetDeviceRegistry, Google::Cloud::Iot::V1::GetDeviceRegistryRequest, Google::Cloud::Iot::V1::DeviceRegistry
|
|
41
41
|
# Updates a device registry configuration.
|
|
42
|
-
rpc :UpdateDeviceRegistry, UpdateDeviceRegistryRequest, DeviceRegistry
|
|
42
|
+
rpc :UpdateDeviceRegistry, Google::Cloud::Iot::V1::UpdateDeviceRegistryRequest, Google::Cloud::Iot::V1::DeviceRegistry
|
|
43
43
|
# Deletes a device registry configuration.
|
|
44
|
-
rpc :DeleteDeviceRegistry, DeleteDeviceRegistryRequest, Google::Protobuf::Empty
|
|
44
|
+
rpc :DeleteDeviceRegistry, Google::Cloud::Iot::V1::DeleteDeviceRegistryRequest, Google::Protobuf::Empty
|
|
45
45
|
# Lists device registries.
|
|
46
|
-
rpc :ListDeviceRegistries, ListDeviceRegistriesRequest, ListDeviceRegistriesResponse
|
|
46
|
+
rpc :ListDeviceRegistries, Google::Cloud::Iot::V1::ListDeviceRegistriesRequest, Google::Cloud::Iot::V1::ListDeviceRegistriesResponse
|
|
47
47
|
# Creates a device in a device registry.
|
|
48
|
-
rpc :CreateDevice, CreateDeviceRequest, Device
|
|
48
|
+
rpc :CreateDevice, Google::Cloud::Iot::V1::CreateDeviceRequest, Google::Cloud::Iot::V1::Device
|
|
49
49
|
# Gets details about a device.
|
|
50
|
-
rpc :GetDevice, GetDeviceRequest, Device
|
|
50
|
+
rpc :GetDevice, Google::Cloud::Iot::V1::GetDeviceRequest, Google::Cloud::Iot::V1::Device
|
|
51
51
|
# Updates a device.
|
|
52
|
-
rpc :UpdateDevice, UpdateDeviceRequest, Device
|
|
52
|
+
rpc :UpdateDevice, Google::Cloud::Iot::V1::UpdateDeviceRequest, Google::Cloud::Iot::V1::Device
|
|
53
53
|
# Deletes a device.
|
|
54
|
-
rpc :DeleteDevice, DeleteDeviceRequest, Google::Protobuf::Empty
|
|
54
|
+
rpc :DeleteDevice, Google::Cloud::Iot::V1::DeleteDeviceRequest, Google::Protobuf::Empty
|
|
55
55
|
# List devices in a device registry.
|
|
56
|
-
rpc :ListDevices, ListDevicesRequest, ListDevicesResponse
|
|
56
|
+
rpc :ListDevices, Google::Cloud::Iot::V1::ListDevicesRequest, Google::Cloud::Iot::V1::ListDevicesResponse
|
|
57
57
|
# Modifies the configuration for the device, which is eventually sent from
|
|
58
58
|
# the Cloud IoT Core servers. Returns the modified configuration version and
|
|
59
59
|
# its metadata.
|
|
60
|
-
rpc :ModifyCloudToDeviceConfig, ModifyCloudToDeviceConfigRequest, DeviceConfig
|
|
60
|
+
rpc :ModifyCloudToDeviceConfig, Google::Cloud::Iot::V1::ModifyCloudToDeviceConfigRequest, Google::Cloud::Iot::V1::DeviceConfig
|
|
61
61
|
# Lists the last few versions of the device configuration in descending
|
|
62
62
|
# order (i.e.: newest first).
|
|
63
|
-
rpc :ListDeviceConfigVersions, ListDeviceConfigVersionsRequest, ListDeviceConfigVersionsResponse
|
|
63
|
+
rpc :ListDeviceConfigVersions, Google::Cloud::Iot::V1::ListDeviceConfigVersionsRequest, Google::Cloud::Iot::V1::ListDeviceConfigVersionsResponse
|
|
64
64
|
# Lists the last few versions of the device state in descending order (i.e.:
|
|
65
65
|
# newest first).
|
|
66
|
-
rpc :ListDeviceStates, ListDeviceStatesRequest, ListDeviceStatesResponse
|
|
66
|
+
rpc :ListDeviceStates, Google::Cloud::Iot::V1::ListDeviceStatesRequest, Google::Cloud::Iot::V1::ListDeviceStatesResponse
|
|
67
67
|
# Sets the access control policy on the specified resource. Replaces any
|
|
68
68
|
# existing policy.
|
|
69
69
|
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
|
@@ -88,11 +88,11 @@ module Google
|
|
|
88
88
|
# method will return FAILED_PRECONDITION. Otherwise, this method will
|
|
89
89
|
# return OK. If the subscription is QoS 1, at least once delivery will be
|
|
90
90
|
# guaranteed; for QoS 0, no acknowledgment will be expected from the device.
|
|
91
|
-
rpc :SendCommandToDevice, SendCommandToDeviceRequest, SendCommandToDeviceResponse
|
|
91
|
+
rpc :SendCommandToDevice, Google::Cloud::Iot::V1::SendCommandToDeviceRequest, Google::Cloud::Iot::V1::SendCommandToDeviceResponse
|
|
92
92
|
# Associates the device with the gateway.
|
|
93
|
-
rpc :BindDeviceToGateway, BindDeviceToGatewayRequest, BindDeviceToGatewayResponse
|
|
93
|
+
rpc :BindDeviceToGateway, Google::Cloud::Iot::V1::BindDeviceToGatewayRequest, Google::Cloud::Iot::V1::BindDeviceToGatewayResponse
|
|
94
94
|
# Deletes the association between the device and the gateway.
|
|
95
|
-
rpc :UnbindDeviceFromGateway, UnbindDeviceFromGatewayRequest, UnbindDeviceFromGatewayResponse
|
|
95
|
+
rpc :UnbindDeviceFromGateway, Google::Cloud::Iot::V1::UnbindDeviceFromGatewayRequest, Google::Cloud::Iot::V1::UnbindDeviceFromGatewayResponse
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
Stub = Service.rpc_stub_class
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-iot-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06
|
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: google-cloud-errors
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|