Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

refactor : Replace 'blacklist' and 'whitelist' terms in repository #101

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions google/cloud/compute_v1/types/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -4824,29 +4824,29 @@ class CacheKeyPolicy(proto.Message):
cached separately.
include_query_string (bool):
If true, include query string parameters in the cache key
according to query_string_whitelist and
query_string_blacklist. If neither is set, the entire query
according to query_string_includelist and
query_string_excludelist. If neither is set, the entire query
string will be included. If false, the query string will be
excluded from the cache key entirely.
query_string_blacklist (Sequence[str]):
query_string_excludelist (Sequence[str]):
Names of query string parameters to exclude in cache keys.
All other parameters will be included. Either specify
query_string_whitelist or query_string_blacklist, not both.
query_string_includelist or query_string_excludelist, not both.
'&' and '=' will be percent encoded and not treated as
delimiters.
query_string_whitelist (Sequence[str]):
query_string_includelist (Sequence[str]):
Names of query string parameters to include in cache keys.
All other parameters will be excluded. Either specify
query_string_whitelist or query_string_blacklist, not both.
query_string_includelist or query_string_excludelist, not both.
'&' and '=' will be percent encoded and not treated as
delimiters.
"""

include_host = proto.Field(proto.BOOL, number=486867679, optional=True,)
include_protocol = proto.Field(proto.BOOL, number=303507535, optional=True,)
include_query_string = proto.Field(proto.BOOL, number=474036639, optional=True,)
query_string_blacklist = proto.RepeatedField(proto.STRING, number=354964742,)
query_string_whitelist = proto.RepeatedField(proto.STRING, number=52456496,)
query_string_excludelist = proto.RepeatedField(proto.STRING, number=354964742,)
query_string_includelist = proto.RepeatedField(proto.STRING, number=52456496,)


class BackendServiceCdnPolicyNegativeCachingPolicy(proto.Message):
Expand Down