Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: better support for fallback mode (#580)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468790263

Source-Link: googleapis/googleapis@873ab45

Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb6f37aeff2a3472e40a7bbace8c67d75e24bee5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I2ZjM3YWVmZjJhMzQ3MmU0MGE3YmJhY2U4YzY3ZDc1ZTI0YmVlNSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 23, 2022
1 parent e09325b commit 8a387d0
Show file tree
Hide file tree
Showing 22 changed files with 163 additions and 102 deletions.
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.bind_device_to_gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, gatewayId, deviceId) {
// [START cloudiot_v1_generated_DeviceManager_BindDeviceToGateway_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.create_device.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, device) {
// [START cloudiot_v1_generated_DeviceManager_CreateDevice_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.create_device_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, deviceRegistry) {
// [START cloudiot_v1_generated_DeviceManager_CreateDeviceRegistry_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.delete_device.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_DeleteDevice_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.delete_device_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_DeleteDeviceRegistry_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.get_device.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_GetDevice_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.get_device_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_GetDeviceRegistry_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.get_iam_policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(resource) {
// [START cloudiot_v1_generated_DeviceManager_GetIamPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_ListDeviceConfigVersions_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.list_device_registries.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START cloudiot_v1_generated_DeviceManager_ListDeviceRegistries_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.list_device_states.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START cloudiot_v1_generated_DeviceManager_ListDeviceStates_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.list_devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START cloudiot_v1_generated_DeviceManager_ListDevices_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name, binaryData) {
// [START cloudiot_v1_generated_DeviceManager_ModifyCloudToDeviceConfig_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.send_command_to_device.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name, binaryData) {
// [START cloudiot_v1_generated_DeviceManager_SendCommandToDevice_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.set_iam_policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(resource, policy) {
// [START cloudiot_v1_generated_DeviceManager_SetIamPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.test_iam_permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(resource, permissions) {
// [START cloudiot_v1_generated_DeviceManager_TestIamPermissions_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, gatewayId, deviceId) {
// [START cloudiot_v1_generated_DeviceManager_UnbindDeviceFromGateway_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.update_device.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(device, updateMask) {
// [START cloudiot_v1_generated_DeviceManager_UpdateDevice_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/device_manager.update_device_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(deviceRegistry, updateMask) {
// [START cloudiot_v1_generated_DeviceManager_UpdateDeviceRegistry_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
38 changes: 19 additions & 19 deletions samples/generated/v1/snippet_metadata.google.cloud.iot.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 58,
"end": 61,
"type": "FULL"
}
],
Expand Down Expand Up @@ -66,7 +66,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 54,
"type": "FULL"
}
],
Expand Down Expand Up @@ -106,7 +106,7 @@
"segments": [
{
"start": 25,
"end": 61,
"end": 64,
"type": "FULL"
}
],
Expand Down Expand Up @@ -150,7 +150,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 54,
"type": "FULL"
}
],
Expand Down Expand Up @@ -190,7 +190,7 @@
"segments": [
{
"start": 25,
"end": 66,
"end": 69,
"type": "FULL"
}
],
Expand Down Expand Up @@ -238,7 +238,7 @@
"segments": [
{
"start": 25,
"end": 59,
"end": 62,
"type": "FULL"
}
],
Expand Down Expand Up @@ -282,7 +282,7 @@
"segments": [
{
"start": 25,
"end": 58,
"end": 61,
"type": "FULL"
}
],
Expand Down Expand Up @@ -326,7 +326,7 @@
"segments": [
{
"start": 25,
"end": 61,
"end": 64,
"type": "FULL"
}
],
Expand Down Expand Up @@ -370,7 +370,7 @@
"segments": [
{
"start": 25,
"end": 52,
"end": 55,
"type": "FULL"
}
],
Expand Down Expand Up @@ -410,7 +410,7 @@
"segments": [
{
"start": 25,
"end": 87,
"end": 90,
"type": "FULL"
}
],
Expand Down Expand Up @@ -474,7 +474,7 @@
"segments": [
{
"start": 25,
"end": 65,
"end": 68,
"type": "FULL"
}
],
Expand Down Expand Up @@ -522,7 +522,7 @@
"segments": [
{
"start": 25,
"end": 58,
"end": 61,
"type": "FULL"
}
],
Expand Down Expand Up @@ -566,7 +566,7 @@
"segments": [
{
"start": 25,
"end": 58,
"end": 61,
"type": "FULL"
}
],
Expand Down Expand Up @@ -610,7 +610,7 @@
"segments": [
{
"start": 25,
"end": 66,
"end": 69,
"type": "FULL"
}
],
Expand Down Expand Up @@ -658,7 +658,7 @@
"segments": [
{
"start": 25,
"end": 56,
"end": 59,
"type": "FULL"
}
],
Expand Down Expand Up @@ -702,7 +702,7 @@
"segments": [
{
"start": 25,
"end": 59,
"end": 62,
"type": "FULL"
}
],
Expand Down Expand Up @@ -746,7 +746,7 @@
"segments": [
{
"start": 25,
"end": 65,
"end": 68,
"type": "FULL"
}
],
Expand Down Expand Up @@ -794,7 +794,7 @@
"segments": [
{
"start": 25,
"end": 64,
"end": 67,
"type": "FULL"
}
],
Expand Down Expand Up @@ -842,7 +842,7 @@
"segments": [
{
"start": 25,
"end": 64,
"end": 67,
"type": "FULL"
}
],
Expand Down
Loading

0 comments on commit 8a387d0

Please sign in to comment.