@@ -255,7 +255,7 @@ async def create_device_registry(
255
255
A container for a group of devices.
256
256
"""
257
257
# Create or coerce a protobuf request object.
258
- # Sanity check: If we got a request object, we should *not* have
258
+ # Quick check: If we got a request object, we should *not* have
259
259
# gotten any keyword arguments that map to the request.
260
260
has_flattened_params = any ([parent , device_registry ])
261
261
if request is not None and has_flattened_params :
@@ -325,7 +325,7 @@ async def get_device_registry(
325
325
A container for a group of devices.
326
326
"""
327
327
# Create or coerce a protobuf request object.
328
- # Sanity check: If we got a request object, we should *not* have
328
+ # Quick check: If we got a request object, we should *not* have
329
329
# gotten any keyword arguments that map to the request.
330
330
has_flattened_params = any ([name ])
331
331
if request is not None and has_flattened_params :
@@ -417,7 +417,7 @@ async def update_device_registry(
417
417
A container for a group of devices.
418
418
"""
419
419
# Create or coerce a protobuf request object.
420
- # Sanity check: If we got a request object, we should *not* have
420
+ # Quick check: If we got a request object, we should *not* have
421
421
# gotten any keyword arguments that map to the request.
422
422
has_flattened_params = any ([device_registry , update_mask ])
423
423
if request is not None and has_flattened_params :
@@ -485,7 +485,7 @@ async def delete_device_registry(
485
485
sent along with the request as metadata.
486
486
"""
487
487
# Create or coerce a protobuf request object.
488
- # Sanity check: If we got a request object, we should *not* have
488
+ # Quick check: If we got a request object, we should *not* have
489
489
# gotten any keyword arguments that map to the request.
490
490
has_flattened_params = any ([name ])
491
491
if request is not None and has_flattened_params :
@@ -567,7 +567,7 @@ async def list_device_registries(
567
567
568
568
"""
569
569
# Create or coerce a protobuf request object.
570
- # Sanity check: If we got a request object, we should *not* have
570
+ # Quick check: If we got a request object, we should *not* have
571
571
# gotten any keyword arguments that map to the request.
572
572
has_flattened_params = any ([parent ])
573
573
if request is not None and has_flattened_params :
@@ -662,7 +662,7 @@ async def create_device(
662
662
The device resource.
663
663
"""
664
664
# Create or coerce a protobuf request object.
665
- # Sanity check: If we got a request object, we should *not* have
665
+ # Quick check: If we got a request object, we should *not* have
666
666
# gotten any keyword arguments that map to the request.
667
667
has_flattened_params = any ([parent , device ])
668
668
if request is not None and has_flattened_params :
@@ -734,7 +734,7 @@ async def get_device(
734
734
The device resource.
735
735
"""
736
736
# Create or coerce a protobuf request object.
737
- # Sanity check: If we got a request object, we should *not* have
737
+ # Quick check: If we got a request object, we should *not* have
738
738
# gotten any keyword arguments that map to the request.
739
739
has_flattened_params = any ([name ])
740
740
if request is not None and has_flattened_params :
@@ -826,7 +826,7 @@ async def update_device(
826
826
The device resource.
827
827
"""
828
828
# Create or coerce a protobuf request object.
829
- # Sanity check: If we got a request object, we should *not* have
829
+ # Quick check: If we got a request object, we should *not* have
830
830
# gotten any keyword arguments that map to the request.
831
831
has_flattened_params = any ([device , update_mask ])
832
832
if request is not None and has_flattened_params :
@@ -896,7 +896,7 @@ async def delete_device(
896
896
sent along with the request as metadata.
897
897
"""
898
898
# Create or coerce a protobuf request object.
899
- # Sanity check: If we got a request object, we should *not* have
899
+ # Quick check: If we got a request object, we should *not* have
900
900
# gotten any keyword arguments that map to the request.
901
901
has_flattened_params = any ([name ])
902
902
if request is not None and has_flattened_params :
@@ -978,7 +978,7 @@ async def list_devices(
978
978
979
979
"""
980
980
# Create or coerce a protobuf request object.
981
- # Sanity check: If we got a request object, we should *not* have
981
+ # Quick check: If we got a request object, we should *not* have
982
982
# gotten any keyword arguments that map to the request.
983
983
has_flattened_params = any ([parent ])
984
984
if request is not None and has_flattened_params :
@@ -1077,7 +1077,7 @@ async def modify_cloud_to_device_config(
1077
1077
1078
1078
"""
1079
1079
# Create or coerce a protobuf request object.
1080
- # Sanity check: If we got a request object, we should *not* have
1080
+ # Quick check: If we got a request object, we should *not* have
1081
1081
# gotten any keyword arguments that map to the request.
1082
1082
has_flattened_params = any ([name , binary_data ])
1083
1083
if request is not None and has_flattened_params :
@@ -1162,7 +1162,7 @@ async def list_device_config_versions(
1162
1162
Response for ListDeviceConfigVersions.
1163
1163
"""
1164
1164
# Create or coerce a protobuf request object.
1165
- # Sanity check: If we got a request object, we should *not* have
1165
+ # Quick check: If we got a request object, we should *not* have
1166
1166
# gotten any keyword arguments that map to the request.
1167
1167
has_flattened_params = any ([name ])
1168
1168
if request is not None and has_flattened_params :
@@ -1243,7 +1243,7 @@ async def list_device_states(
1243
1243
Response for ListDeviceStates.
1244
1244
"""
1245
1245
# Create or coerce a protobuf request object.
1246
- # Sanity check: If we got a request object, we should *not* have
1246
+ # Quick check: If we got a request object, we should *not* have
1247
1247
# gotten any keyword arguments that map to the request.
1248
1248
has_flattened_params = any ([name ])
1249
1249
if request is not None and has_flattened_params :
@@ -1380,7 +1380,7 @@ async def set_iam_policy(
1380
1380
1381
1381
"""
1382
1382
# Create or coerce a protobuf request object.
1383
- # Sanity check: If we got a request object, we should *not* have
1383
+ # Quick check: If we got a request object, we should *not* have
1384
1384
# gotten any keyword arguments that map to the request.
1385
1385
has_flattened_params = any ([resource ])
1386
1386
if request is not None and has_flattened_params :
@@ -1508,7 +1508,7 @@ async def get_iam_policy(
1508
1508
1509
1509
"""
1510
1510
# Create or coerce a protobuf request object.
1511
- # Sanity check: If we got a request object, we should *not* have
1511
+ # Quick check: If we got a request object, we should *not* have
1512
1512
# gotten any keyword arguments that map to the request.
1513
1513
has_flattened_params = any ([resource ])
1514
1514
if request is not None and has_flattened_params :
@@ -1591,7 +1591,7 @@ async def test_iam_permissions(
1591
1591
Response message for TestIamPermissions method.
1592
1592
"""
1593
1593
# Create or coerce a protobuf request object.
1594
- # Sanity check: If we got a request object, we should *not* have
1594
+ # Quick check: If we got a request object, we should *not* have
1595
1595
# gotten any keyword arguments that map to the request.
1596
1596
has_flattened_params = any ([resource , permissions ])
1597
1597
if request is not None and has_flattened_params :
@@ -1682,12 +1682,13 @@ async def send_command_to_device(
1682
1682
If empty, the command will be delivered
1683
1683
to the /devices/{device-id}/commands
1684
1684
topic, otherwise it will be delivered to
1685
- the /devices/{device-
1686
- id}/commands/{subfolder} topic. Multi-
1687
- level subfolders are allowed. This field
1688
- must not have more than 256 characters,
1689
- and must not contain any MQTT wildcards
1690
- ("+" or "#") or null characters.
1685
+ the
1686
+ /devices/{device-id}/commands/{subfolder}
1687
+ topic. Multi-level subfolders are
1688
+ allowed. This field must not have more
1689
+ than 256 characters, and must not
1690
+ contain any MQTT wildcards ("+" or "#")
1691
+ or null characters.
1691
1692
1692
1693
This corresponds to the ``subfolder`` field
1693
1694
on the ``request`` instance; if ``request`` is provided, this
@@ -1703,7 +1704,7 @@ async def send_command_to_device(
1703
1704
Response for SendCommandToDevice.
1704
1705
"""
1705
1706
# Create or coerce a protobuf request object.
1706
- # Sanity check: If we got a request object, we should *not* have
1707
+ # Quick check: If we got a request object, we should *not* have
1707
1708
# gotten any keyword arguments that map to the request.
1708
1709
has_flattened_params = any ([name , binary_data , subfolder ])
1709
1710
if request is not None and has_flattened_params :
@@ -1803,7 +1804,7 @@ async def bind_device_to_gateway(
1803
1804
Response for BindDeviceToGateway.
1804
1805
"""
1805
1806
# Create or coerce a protobuf request object.
1806
- # Sanity check: If we got a request object, we should *not* have
1807
+ # Quick check: If we got a request object, we should *not* have
1807
1808
# gotten any keyword arguments that map to the request.
1808
1809
has_flattened_params = any ([parent , gateway_id , device_id ])
1809
1810
if request is not None and has_flattened_params :
@@ -1894,7 +1895,7 @@ async def unbind_device_from_gateway(
1894
1895
Response for UnbindDeviceFromGateway.
1895
1896
"""
1896
1897
# Create or coerce a protobuf request object.
1897
- # Sanity check: If we got a request object, we should *not* have
1898
+ # Quick check: If we got a request object, we should *not* have
1898
1899
# gotten any keyword arguments that map to the request.
1899
1900
has_flattened_params = any ([parent , gateway_id , device_id ])
1900
1901
if request is not None and has_flattened_params :
0 commit comments