Skip to content

Commit

Permalink
docs: fix docstring formatting
Browse files Browse the repository at this point in the history
Committer: @parthea
PiperOrigin-RevId: 405938813

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Oct 27 11:36:29 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 37924239ed9e96535a025474c750db37e1b88c41
Source-Link: googleapis/googleapis@3792423
  • Loading branch information
yoshi-automation authored and jskeet committed Oct 28, 2021
1 parent c653720 commit deb7506
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,9 @@ public sealed partial class FulfillmentInfo : pb::IMessage<FulfillmentInfo>
/// [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type].
///
/// A maximum of 3000 values are allowed. Each value must be a string with a
/// length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as
/// "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
/// length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such
/// as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is
/// returned.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> PlaceIds {
Expand Down Expand Up @@ -3089,7 +3090,7 @@ public sealed partial class Promotion : pb::IMessage<Promotion>
/// ID of the promotion. For example, "free gift".
///
/// The value value must be a UTF-8 encoded string with a length limit of 128
/// characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
/// characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
/// id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
/// returned.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,18 +202,18 @@ public sealed partial class CompleteQueryRequest : pb::IMessage<CompleteQueryReq
/// <summary>
/// The device type context for completion suggestions.
/// It is useful to apply different suggestions on different device types, e.g.
/// DESKTOP, MOBILE. If it is empty, the suggestions are across all device
/// `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
/// types.
///
/// Supported formats:
///
/// * UNKNOWN_DEVICE_TYPE
/// * `UNKNOWN_DEVICE_TYPE`
///
/// * DESKTOP
/// * `DESKTOP`
///
/// * MOBILE
/// * `MOBILE`
///
/// * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
/// * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string DeviceType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ public sealed partial class ImportProductsRequest : pb::IMessage<ImportProductsR
/// Unique identifier provided by client, within the ancestor
/// dataset scope. Ensures idempotency and used for request deduplication.
/// Server-generated if unspecified. Up to 128 characters long and must match
/// the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in
/// the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in
/// [ImportMetadata][google.cloud.retail.v2.ImportMetadata].
///
/// Only supported when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ public sealed partial class Product : pb::IMessage<Product>
/// * The key must be a UTF-8 encoded string with a length limit of 128
/// characters.
/// * For indexable attribute, the key must match the pattern:
/// [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS.
/// `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::MapField<string, global::Google.Cloud.Retail.V2.CustomAttribute> Attributes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2486,7 +2486,7 @@ public sealed partial class AddFulfillmentPlacesRequest : pb::IMessage<AddFulfil
///
/// At least 1 value is required, and a maximum of 2000 values are allowed.
/// Each value must be a string with a length limit of 10 characters, matching
/// the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an
/// the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
/// INVALID_ARGUMENT error is returned.
///
/// If the total number of place IDs exceeds 2000 for this
Expand Down Expand Up @@ -3144,7 +3144,7 @@ public sealed partial class RemoveFulfillmentPlacesRequest : pb::IMessage<Remove
///
/// At least 1 value is required, and a maximum of 2000 values are allowed.
/// Each value must be a string with a length limit of 10 characters, matching
/// the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an
/// the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
/// INVALID_ARGUMENT error is returned.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down
2 changes: 1 addition & 1 deletion apis/Google.Cloud.Retail.V2/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "8ef531eaf6e03d709b0dabf1e2202c16685a96d8"
"sha": "37924239ed9e96535a025474c750db37e1b88c41"
}
}
]
Expand Down

0 comments on commit deb7506

Please sign in to comment.