Skip to content

Commit

Permalink
docs: add fieldMask format clarification to avoid misunderstandings.
Browse files Browse the repository at this point in the history
Committer: @gcseh
PiperOrigin-RevId: 355397730

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Feb 3 08:01:55 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 13b6ba5e35620d15a97ae0f8c38be0c0ff1c2d42
Source-Link: googleapis/googleapis@13b6ba5
  • Loading branch information
yoshi-automation authored and jskeet committed Feb 3, 2021
1 parent ef12734 commit 132dece
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions apis/Google.Cloud.Iot.V1/Google.Cloud.Iot.V1/DeviceManager.cs
Expand Up @@ -1830,7 +1830,8 @@ public sealed partial class GetDeviceRequest : pb::IMessage<GetDeviceRequest>
private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMask_;
/// <summary>
/// The fields of the `Device` resource to be returned in the response. If the
/// field mask is unset or empty, all fields are returned.
/// field mask is unset or empty, all fields are returned. Fields have to be
/// provided in snake_case format, for example: `last_heartbeat_time`.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMask {
Expand Down Expand Up @@ -2513,7 +2514,8 @@ public sealed partial class ListDevicesRequest : pb::IMessage<ListDevicesRequest
/// <summary>
/// The fields of the `Device` resource to be returned in the response. The
/// fields `id` and `num_id` are always returned, along with any
/// other fields specified.
/// other fields specified in snake_case format, for example:
/// `last_heartbeat_time`.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMask {
Expand Down
Expand Up @@ -3,7 +3,7 @@
// source: google/cloud/iot/v1/device_manager.proto
// </auto-generated>
// Original file comments:
// Copyright 2019 Google LLC.
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
#pragma warning disable 0414, 1591
#region Designer generated code

Expand Down
2 changes: 1 addition & 1 deletion apis/Google.Cloud.Iot.V1/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "69697504d9eba1d064820c3085b4750767be6d08"
"sha": "13b6ba5e35620d15a97ae0f8c38be0c0ff1c2d42"
}
}
]
Expand Down

0 comments on commit 132dece

Please sign in to comment.