[securitycenter] v2 client's apiEndpoint
property is wrong when a regional endpoint is specified
#5719
Open
7 tasks done
Please make sure you have searched for information in the following guides.
A screenshot that you have tested with "Try this API".
n/a
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://gist.github.com/hegemonic/cf807026d8b83c14aa0b225b16967599
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
Run the code. It creates a v2
SecurityCenterClient
; sets theapiEndpoint
tosecuritycenter.me-central2.rep.googleapis.com
; and prints the expected and actualapiEndpoint
for the client.A clear and concise description of what the bug is, and what you expected to happen.
The code prints the following:
I expected it to print the following:
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
The text was updated successfully, but these errors were encountered: