Age | Commit message (Collapse) | Author |
|
* iam proposal #3
maintain compatibility with defaultdict
remove in place
raise KeyError on delete
update deprecation for dict-key access and factory methods
clean up
maintain compatibility - removing duplicate in __setitems__
check for conditions for dict access
remove empty binding
fix test accessing private var _bindings
fix(tests): change version to make existing tests pass
tests: add tests for getitem, delitem, setitem on v3 and conditions
test policy.bindings property
fixlint
black
sort bindings by role when converting to api repr
add deprecation warning for iam factory methods
update deprecation message for role methods
make Policy#bindings.members a set
update policy docs
fix docs
make docs better
fix: Bigtable policy class to use Policy.bindings
add from_pb with conditions test
add to_pb condition test
blacken
fix policy __delitem__
add docs on dict access
do not modify binding in to_apr_repr
* feat(storage): support requested_policy_version for get_iam_policy
* add system-test
* add ref doc sample to get_iam_policy
* add requested_policy_version to blob
* fix tests
* nit: typo
* blacken
* fix docs build
* format docs
* remove unused variables
|
|
* feat(api_core): support version 3 policy bindings
* fix(doc): fix documenting bindings structure
* try fixing docs
* fix pytype error
* fill test coverage
* indent docs
* fix docs
* improve test coverage
* linty
* remove unused variable
|
|
* feat(api_core): allow setting Retry deadline as strict
If a deadline is set as strict, Retry will shorten the last sleep
period to end at the given deadline, and not possibly stretch beyond
it.
* feat(core): make the last retry happen at deadline
This commit changes Retry instances in a way that the last sleep period
is shortened so that its end matches at the given deadline. This
prevents the last sleep period to last way beyond the deadline.
|
|
|
|
|
|
* Provide a 'raw_page' field for page_iterator.Page
Some paginated response messages include additional fields that users
may wish to inspect.
|
|
Avoid blocking for ill-behaved daemon threads during BiDi shutdown.
Closes #8616, #9008.
|
|
|
|
typo fix
|
|
See #7817.
|
|
|
|
Closes #8803.
|
|
Closes #8733.
|
|
|
|
Closes #7826.
|
|
|
|
* Add bidi._Throttle helper class
* Add optional reopen throttling to ResumableBidiRpc
* Enable Bidi reopen throttling in SPM
* Change bidi._Throttle signature
The commit renames the entry_cap parameter to access_limit, and
changes the type of the time_window argument from float to timedelta.
|
|
Also, pin grpcio < 2.0dev.
Closes #5410.
|
|
|
|
* Add 'user_agent' and 'extra_headers' properties to 'Connection'.
Deprecate the 'USER_AGENT' and '_EXTRA_HEADERS' class-level attributes.
* Add 'client_info' parameter to 'Connection' ctor.
* Implement 'Connection.user_agent' via its '_client_info'.
* Ensure 'X-Goog-API-Client' header is always passed.
* Create/use non-GAPIC-specific 'ClientInfo' class FBO HTTP/JSON clients.
Derive the existing GAPIC class from it.
|
|
* Add `user_agent` property to `ClientInfo`
This provides a way for partners to define a prefix identifying their
tool or application, as required by many cloud partnership agreements.
* Workaround for pytype pyi error with nested class.
|
|
|
|
* allows providing rpc metadata for bidi streams
|
|
|
|
* Adds a ready event to BackgroundConsumer to allow waiting for the background thread to start
|
|
This commit adds support for unwrapping wrapped
pb2 objects from Anys (needed for LRO support with
wrapping).
|
|
This commit adds a `deserialize` method to the Operation object.
The class method is a helper to deserialize the serialized protobuf
operation messages.
|
|
'google.protobuf.timestamp_pb2.Timestamp' (#6919)
Toward #6547.
|
|
Napoleon-ize docstrings in 'google.api_core.iam'.
Order the 'core/iam' docs page entries in source order.
Closes #6161.
|
|
* Run 'pytype' only over the 'google/' directory.
* Ignore 'pytype_output/' derived files.
* Remove spurious 'MutableMapping.register' call.
'pytype' chokes on it, but the 'Policy' class already derives from
'MutableMapping', so the call is a no-op.
* Silence deprecation spew during IAM unit tests.
|
|
* move google.cloud.iam (core) to google.api.core.iam
|
|
* blacken api_core and core
|
|
|
|
On Python 2.7, fall back to 'collections'.
Closes #6450.
|
|
Firestore watch
|
|
Closes #6301.
|
|
We will bring them back in when we have an OK to make a non-alpha
'api_core-1.6.0' release.
Toward #6326.
|
|
Per internal document go/api-url-encoding (approved on 2017-04-20), "the
client library will %-encode everything except "/" and unreserved
characters, and the server will %-decode everything except "%2F"
and %2f"
This is currently affecting a private API which passes a resource name
(containing slashes) as a query parameter over gRPC.
|
|
* Add dispatch and deserialize methods.
This adds convenience methods used by client libraries produced by
gapic-generator-python.
* Mark test as Python 3 only.
* Fix import order.
* Address @theacodes feedback.
* Move dispatch to gapic_v2; alias remaining gapic_v1 modules.
* Fix import order.
|
|
|
|
grpc_gcp dependency) (#5553)
|
|
(#5320)
|
|
|
|
|
|
* Fix tests after grpcio update
* add test for close stub for coverage
|
|
* Move DatetimewithNanoSeconds to api_core
|
|
|
|
|
|
|
|
|