Open
Description
we build batch_uri
based off the hard-coded rootUrl
discovery doc parameter. We do this even if mTLS endpoint was previously configured on build()
thus using batch methods never actually uses the mTLS endpoint.
- we should probably add an attribute like
is_mtls
to theResource
object so we have a simple boolean to determine mTLS status. _add_basic_methods
could then use theis_mtls
boolean to determine whether to userootUrl
ormtlsRootUrl
from the discovery data.