-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
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.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.