diff --git a/google/devtools/cloudbuild/v1/cloudbuild.proto b/google/devtools/cloudbuild/v1/cloudbuild.proto index 194fefc3d5..f67f368f9d 100644 --- a/google/devtools/cloudbuild/v1/cloudbuild.proto +++ b/google/devtools/cloudbuild/v1/cloudbuild.proto @@ -1312,6 +1312,12 @@ message Dependency { // Required. Where should the files be placed on the worker. string dest_path = 5 [(google.api.field_behavior) = REQUIRED]; + + // Optional. True if remote tags should be fetched too (default false). + // Note: when depth is 1 (default), git fetch only retrieves tags pointing + // to commits within the shallow boundary. Set depth to -1 to fetch all + // historical tags. + bool fetch_tags = 6 [(google.api.field_behavior) = OPTIONAL]; } // A repository for a git source.