Skip to content

Commit

Permalink
build: Really rename the Schema message for AI Platform V1Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Sep 25, 2024
1 parent 2a56544 commit 5afbc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/Google.Cloud.AIPlatform.V1Beta1/pregeneration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sed -i 's/^\( *\)Schema/\1OpenApiSchema/g' $GOOGLEAPIS/google/cloud/aiplatform/v
sed -i 's/^message Schema/message OpenApiSchema/g' $GOOGLEAPIS/google/cloud/aiplatform/v1beta1/*.proto
sed -i 's/map<string, Schema>/map<string, OpenApiSchema>/g' $GOOGLEAPIS/google/cloud/aiplatform/v1beta1/*.proto
sed -i 's/ optional Schema / optional OpenApiSchema /g' $GOOGLEAPIS/google/cloud/aiplatform/v1beta1/*.proto
sed -i 's/ repeated Schema / repeated OpenApiSchema /g' $GOOGLEAPIS/google/cloud/aiplatform/v1/*.proto
sed -i 's/ repeated Schema / repeated OpenApiSchema /g' $GOOGLEAPIS/google/cloud/aiplatform/v1beta1/*.proto

# Remove the pre-deprecated field in QueryDeployedModelsResponse
sed -i '/repeated DeployedModel deployed_models = 1 \[deprecated = true\]/d' \
Expand Down

0 comments on commit 5afbc77

Please sign in to comment.