diff --git a/packages/google-devtools-artifactregistry/protos/google/devtools/artifactregistry/v1/repository.proto b/packages/google-devtools-artifactregistry/protos/google/devtools/artifactregistry/v1/repository.proto index bde55c1c898..f4a9e9fa449 100644 --- a/packages/google-devtools-artifactregistry/protos/google/devtools/artifactregistry/v1/repository.proto +++ b/packages/google-devtools-artifactregistry/protos/google/devtools/artifactregistry/v1/repository.proto @@ -123,7 +123,7 @@ message GetRepositoryRequest { string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "artifactregistry.googleapis.com/Repository" + type: "artifactregistry.googleapis.com/Repository" } ]; } diff --git a/packages/google-devtools-artifactregistry/protos/protos.json b/packages/google-devtools-artifactregistry/protos/protos.json index fc86dbbb208..a1f5757dc77 100644 --- a/packages/google-devtools-artifactregistry/protos/protos.json +++ b/packages/google-devtools-artifactregistry/protos/protos.json @@ -182,7 +182,7 @@ "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", - "(google.api.resource_reference).child_type": "artifactregistry.googleapis.com/Repository" + "(google.api.resource_reference).type": "artifactregistry.googleapis.com/Repository" } } }