Skip to content

Commit

Permalink
Cleanup Cloud IoT region tags. (GoogleCloudPlatform#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored and Simon Zeltser committed Jul 24, 2018
1 parent 59313a6 commit cc80001
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions iot/api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ public static object ListRegistries(string projectId, string cloudRegion)
}
// [END iot_list_registries]

// [START iot_create_device_noauth]
// [START iot_create_unauth_device]
public static object CreateUnauthDevice(string projectId, string cloudRegion, string registryId, string deviceId)
{
var cloudIot = CreateAuthorizedClient();
Expand Down Expand Up @@ -471,7 +471,7 @@ public static object CreateUnauthDevice(string projectId, string cloudRegion, st
}
return 0;
}
// [END iot_create_device_noauth]
// [END iot_create_unauth_device]

// [START iot_create_es_device]
public static object CreateEsDevice(string projectId, string cloudRegion, string registryId, string deviceId, string keyPath)
Expand Down Expand Up @@ -606,7 +606,7 @@ public static object GetDevice(string projectId, string cloudRegion, string regi
}
// [END iot_get_device]

// [START iot_get_device_configurations]
// [START iot_get_device_configs]
public static object GetDeviceConfigurations(string projectId, string cloudRegion, string registryId, string deviceId)
{
var cloudIot = CreateAuthorizedClient();
Expand All @@ -633,9 +633,9 @@ public static object GetDeviceConfigurations(string projectId, string cloudRegio
}
return 0;
}
// [END iot_get_device_configurations]
// [END iot_get_device_configs]

// [START iot_get_device_states]
// [START iot_get_device_state]
public static object GetDeviceStates(string projectId, string cloudRegion, string registryId, string deviceId)
{
var cloudIot = CreateAuthorizedClient();
Expand All @@ -660,7 +660,7 @@ public static object GetDeviceStates(string projectId, string cloudRegion, strin
}
return 0;
}
// [END iot_get_device_states]
// [END iot_get_device_state]

// [START iot_list_devices]
public static object ListDevices(string projectId, string cloudRegion, string registryId)
Expand Down Expand Up @@ -724,7 +724,7 @@ public static object GetIamPolicy(string projectId, string cloudRegion, string r
}
// [END iot_get_iam_policy]

// [START iot_patch_es_device]
// [START iot_patch_es]
public static object PatchEsDevice(string projectId, string cloudRegion, string registryId, string deviceId, string keyPath)
{
var cloudIot = CreateAuthorizedClient();
Expand Down Expand Up @@ -762,9 +762,9 @@ public static object PatchEsDevice(string projectId, string cloudRegion, string
}
return 0;
}
// [END iot_patch_es_device]
// [END iot_patch_es]

// [START iot_patch_rsa_device]
// [START iot_patch_rsa]
public static object PatchRsaDevice(string projectId, string cloudRegion, string registryId, string deviceId, string keyPath)
{
var cloudIot = CreateAuthorizedClient();
Expand Down Expand Up @@ -802,7 +802,7 @@ public static object PatchRsaDevice(string projectId, string cloudRegion, string
}
return 0;
}
// [END iot_patch_rsa_device]
// [END iot_patch_rsa]

// [START iot_set_device_config]
public static object SetDeviceConfig(string projectId, string cloudRegion, string registryId, string deviceId, string data)
Expand Down

0 comments on commit cc80001

Please sign in to comment.