Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 3f1ec04

Browse files
docs: more details for ListFilesRequest parent field (#240)
* docs: more details for ListFilesRequest parent field PiperOrigin-RevId: 431979329 Source-Link: googleapis/googleapis@8febda4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1048231cea49f261c90ca361258c57636ca98c6d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTA0ODIzMWNlYTQ5ZjI2MWM5MGNhMzYxMjU4YzU3NjM2Y2E5OGM2ZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 690a3b1 commit 3f1ec04

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,8 @@ public final UnaryCallable<DeleteVersionRequest, Operation> deleteVersionCallabl
14581458
* }
14591459
* }</pre>
14601460
*
1461-
* @param parent The name of the parent resource whose files will be listed.
1461+
* @param parent The name of the repository whose files will be listed. For example:
1462+
* "projects/p1/locations/us-central1/repositories/repo1
14621463
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14631464
*/
14641465
public final ListFilesPagedResponse listFiles(String parent) {

proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
138138
*
139139
*
140140
* <pre>
141-
* The name of the parent resource whose files will be listed.
141+
* The name of the repository whose files will be listed. For example:
142+
* "projects/p1/locations/us-central1/repositories/repo1
142143
* </pre>
143144
*
144145
* <code>string parent = 1;</code>
@@ -161,7 +162,8 @@ public java.lang.String getParent() {
161162
*
162163
*
163164
* <pre>
164-
* The name of the parent resource whose files will be listed.
165+
* The name of the repository whose files will be listed. For example:
166+
* "projects/p1/locations/us-central1/repositories/repo1
165167
* </pre>
166168
*
167169
* <code>string parent = 1;</code>
@@ -687,7 +689,8 @@ public Builder mergeFrom(
687689
*
688690
*
689691
* <pre>
690-
* The name of the parent resource whose files will be listed.
692+
* The name of the repository whose files will be listed. For example:
693+
* "projects/p1/locations/us-central1/repositories/repo1
691694
* </pre>
692695
*
693696
* <code>string parent = 1;</code>
@@ -709,7 +712,8 @@ public java.lang.String getParent() {
709712
*
710713
*
711714
* <pre>
712-
* The name of the parent resource whose files will be listed.
715+
* The name of the repository whose files will be listed. For example:
716+
* "projects/p1/locations/us-central1/repositories/repo1
713717
* </pre>
714718
*
715719
* <code>string parent = 1;</code>
@@ -731,7 +735,8 @@ public com.google.protobuf.ByteString getParentBytes() {
731735
*
732736
*
733737
* <pre>
734-
* The name of the parent resource whose files will be listed.
738+
* The name of the repository whose files will be listed. For example:
739+
* "projects/p1/locations/us-central1/repositories/repo1
735740
* </pre>
736741
*
737742
* <code>string parent = 1;</code>
@@ -752,7 +757,8 @@ public Builder setParent(java.lang.String value) {
752757
*
753758
*
754759
* <pre>
755-
* The name of the parent resource whose files will be listed.
760+
* The name of the repository whose files will be listed. For example:
761+
* "projects/p1/locations/us-central1/repositories/repo1
756762
* </pre>
757763
*
758764
* <code>string parent = 1;</code>
@@ -769,7 +775,8 @@ public Builder clearParent() {
769775
*
770776
*
771777
* <pre>
772-
* The name of the parent resource whose files will be listed.
778+
* The name of the repository whose files will be listed. For example:
779+
* "projects/p1/locations/us-central1/repositories/repo1
773780
* </pre>
774781
*
775782
* <code>string parent = 1;</code>

proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public interface ListFilesRequestOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* The name of the parent resource whose files will be listed.
30+
* The name of the repository whose files will be listed. For example:
31+
* "projects/p1/locations/us-central1/repositories/repo1
3132
* </pre>
3233
*
3334
* <code>string parent = 1;</code>
@@ -39,7 +40,8 @@ public interface ListFilesRequestOrBuilder
3940
*
4041
*
4142
* <pre>
42-
* The name of the parent resource whose files will be listed.
43+
* The name of the repository whose files will be listed. For example:
44+
* "projects/p1/locations/us-central1/repositories/repo1
4345
* </pre>
4446
*
4547
* <code>string parent = 1;</code>

proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ message File {
7979

8080
// The request to list files.
8181
message ListFilesRequest {
82-
// The name of the parent resource whose files will be listed.
82+
// The name of the repository whose files will be listed. For example:
83+
// "projects/p1/locations/us-central1/repositories/repo1
8384
string parent = 1;
8485

8586
// An expression for filtering the results of the request. Filter rules are

0 commit comments

Comments
 (0)