docs: fix docstring formatting

Committer: @parthea
PiperOrigin-RevId: 406921699
This commit is contained in:
Google APIs 2021-11-01 14:33:11 -07:00 committed by Copybara-Service
parent 8c7125522e
commit 6d008d29d1
4 changed files with 42 additions and 24 deletions

View file

@ -171,18 +171,27 @@ message Operation {
// This is intended to be an exact match per filter. To perform advanced
// matching, use path_value_matchers.
//
// * Example: {
// * Example:
// ```
// {
// "/versions/*/name" : "it-123"
// "/versions/*/targetSize/percent": 20
// }
// * Example: {
// }
// ```
// * Example:
// ```
// {
// "/bindings/*/role": "roles/owner"
// "/bindings/*/condition" : null
// }
// * Example: {
// }
// ```
// * Example:
// ```
// {
// "/bindings/*/role": "roles/owner"
// "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
// }
// }
// ```
// When both path_filters and path_value_matchers are set, an implicit AND
// must be performed.
map<string, google.protobuf.Value> path_filters = 8;

View file

@ -374,8 +374,8 @@ message MarkRecommendationClaimedRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.
@ -394,8 +394,8 @@ message MarkRecommendationSucceededRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.
@ -414,8 +414,8 @@ message MarkRecommendationFailedRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.

View file

@ -171,18 +171,27 @@ message Operation {
// This is intended to be an exact match per filter. To perform advanced
// matching, use path_value_matchers.
//
// * Example: {
// * Example:
// ```
// {
// "/versions/*/name" : "it-123"
// "/versions/*/targetSize/percent": 20
// }
// * Example: {
// }
// ```
// * Example:
// ```
// {
// "/bindings/*/role": "roles/owner"
// "/bindings/*/condition" : null
// }
// * Example: {
// }
// ```
// * Example:
// ```
// {
// "/bindings/*/role": "roles/owner"
// "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
// }
// }
// ```
// When both path_filters and path_value_matchers are set, an implicit AND
// must be performed.
map<string, google.protobuf.Value> path_filters = 8;

View file

@ -373,8 +373,8 @@ message MarkRecommendationClaimedRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.
@ -393,8 +393,8 @@ message MarkRecommendationSucceededRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.
@ -413,8 +413,8 @@ message MarkRecommendationFailedRequest {
// State properties to include with this state. Overwrites any existing
// `state_metadata`.
// Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
// Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
// Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
// Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
map<string, string> state_metadata = 2;
// Required. Fingerprint of the Recommendation. Provides optimistic locking.