Restrictions(mapping=None, *, ignore_unknown_fields=False, **kwargs)Describes the restrictions on the key.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
browser_key_restrictions |
google.cloud.api_keys_v2.types.BrowserKeyRestrictions
The HTTP referrers (websites) that are allowed to use the key. This field is a member of oneof_ client_restrictions.
|
server_key_restrictions |
google.cloud.api_keys_v2.types.ServerKeyRestrictions
The IP addresses of callers that are allowed to use the key. This field is a member of oneof_ client_restrictions.
|
android_key_restrictions |
google.cloud.api_keys_v2.types.AndroidKeyRestrictions
The Android apps that are allowed to use the key. This field is a member of oneof_ client_restrictions.
|
ios_key_restrictions |
google.cloud.api_keys_v2.types.IosKeyRestrictions
The iOS apps that are allowed to use the key. This field is a member of oneof_ client_restrictions.
|
api_targets |
MutableSequence[google.cloud.api_keys_v2.types.ApiTarget]
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed. |