google-cloud-cpp
google-cloud-cpp copied to clipboard
Workaround problems in `google.cloud.aiplatform.v1.QueryDeployedModelsResponse.deployed_models`
This:
https://github.com/googleapis/googleapis/blob/119966f0efe4dbe41315de54d8e00ab9c05113a2/google/cloud/aiplatform/v1/deployment_resource_pool_service.proto#L219-L220
generates code that won't compile. We need to access the field to implement the pagination API, but the field is deprecated, so any access generates a warning and that breaks with -Werror. As a workaround I am omitting the RPC, but we should figure out what to do later.
Maybe disable warnings in some RPCs? Or in that code?