The client library should allow validation of sample rate to occur on the server rather than trying to do it's own validation. Allowing the server to check errors means that we don't need to update the client if the server expands the range of sample rates that it supports.
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/speech/google/cloud/speech/sample.py#L70