From e097f59f3ab0e9167b68d7fe78d257398c18505c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:36:12 +0000 Subject: [PATCH] docs: fix docstring formatting (#673) - [ ] Regenerate this pull request now. Committer: @parthea PiperOrigin-RevId: 409547707 Source-Link: https://github.com/googleapis/googleapis/commit/45a2c07b3cfe6738585d9d0749cebcb528054a05 Source-Link: https://github.com/googleapis/googleapis-gen/commit/99869d7abffb7791a07b214ea3c5f2cc003ec0b0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTk4NjlkN2FiZmZiNzc5MWEwN2IyMTRlYTNjNWYyY2MwMDNlYzBiMCJ9 --- .../cloud/resourcemanager/v3/ProjectsClient.java | 4 ++-- .../resourcemanager/v3/SearchProjectsRequest.java | 14 ++++++++++++++ .../v3/SearchProjectsRequestOrBuilder.java | 4 ++++ .../google/cloud/resourcemanager/v3/projects.proto | 2 ++ 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java index a347cc96..4d6eab5d 100644 --- a/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java +++ b/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsClient.java @@ -461,14 +461,14 @@ public final UnaryCallable listProjec * *key* is the name of a label) | Filters by label name. | ``` *

Search expressions are case insensitive. *

Some examples queries: - *

| Query | Description | + *

``` | Query | Description | * |------------------|-----------------------------------------------------| | name:how* * | The project's name starts with "how". | | name:Howl | The project's name is `Howl` or * `howl`. | | name:HOWL | Equivalent to above. | | NAME:howl | Equivalent to above. | | * labels.color:* | The project has the label `color`. | | labels.color:red | The * project's label `color` has the value `red`. | | labels.color:red&nbsp;labels.size:big * | The project's label `color` has the value `red` and its label `size` has the value `big`. - * | + * | ``` *

If no query is specified, the call will return projects for which the user has the * `resourcemanager.projects.get` permission. * @throws com.google.api.gax.rpc.ApiException if the remote call fails diff --git a/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequest.java b/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequest.java index 157eaba5..4ef556d2 100644 --- a/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequest.java +++ b/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequest.java @@ -152,6 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -162,6 +163,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -206,6 +208,7 @@ public java.lang.String getQuery() { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -216,6 +219,7 @@ public java.lang.String getQuery() { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -687,6 +691,7 @@ public Builder mergeFrom( * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -697,6 +702,7 @@ public Builder mergeFrom( * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -740,6 +746,7 @@ public java.lang.String getQuery() { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -750,6 +757,7 @@ public java.lang.String getQuery() { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -793,6 +801,7 @@ public com.google.protobuf.ByteString getQueryBytes() { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -803,6 +812,7 @@ public com.google.protobuf.ByteString getQueryBytes() { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -845,6 +855,7 @@ public Builder setQuery(java.lang.String value) { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -855,6 +866,7 @@ public Builder setQuery(java.lang.String value) { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -893,6 +905,7 @@ public Builder clearQuery() { * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -903,6 +916,7 @@ public Builder clearQuery() { * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * diff --git a/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequestOrBuilder.java b/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequestOrBuilder.java index 710bc819..cb37c476 100644 --- a/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequestOrBuilder.java +++ b/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/SearchProjectsRequestOrBuilder.java @@ -47,6 +47,7 @@ public interface SearchProjectsRequestOrBuilder * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -57,6 +58,7 @@ public interface SearchProjectsRequestOrBuilder * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * @@ -90,6 +92,7 @@ public interface SearchProjectsRequestOrBuilder * ``` * Search expressions are case insensitive. * Some examples queries: + * ``` * | Query | Description | * |------------------|-----------------------------------------------------| * | name:how* | The project's name starts with "how". | @@ -100,6 +103,7 @@ public interface SearchProjectsRequestOrBuilder * | labels.color:red | The project's label `color` has the value `red`. | * | labels.color:red&nbsp;labels.size:big | The project's label `color` has * the value `red` and its label `size` has the value `big`. | + * ``` * If no query is specified, the call will return projects for which the user * has the `resourcemanager.projects.get` permission. * diff --git a/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto b/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto index fbf6e0b7..3d2feb08 100644 --- a/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto +++ b/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto @@ -466,6 +466,7 @@ message SearchProjectsRequest { // // Some examples queries: // + // ``` // | Query | Description | // |------------------|-----------------------------------------------------| // | name:how* | The project's name starts with "how". | @@ -476,6 +477,7 @@ message SearchProjectsRequest { // | labels.color:red | The project's label `color` has the value `red`. | // | labels.color:red labels.size:big | The project's label `color` has // the value `red` and its label `size` has the value `big`. | + // ``` // // If no query is specified, the call will return projects for which the user // has the `resourcemanager.projects.get` permission.