File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed
policy/testdata/restricted_destinations Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2024 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # https://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : " labels"
16+ extensions :
17+ - name : " lists"
18+ - name : " sets"
19+ variables :
20+ - name : " destination.ip"
21+ type :
22+ type_name : " string"
23+ - name : " origin.ip"
24+ type :
25+ type_name : " string"
26+ - name : " spec.restricted_destinations"
27+ type :
28+ type_name : " list"
29+ params :
30+ - type_name : " string"
31+ - name : " spec.origin"
32+ type :
33+ type_name : " string"
34+ - name : " request"
35+ type :
36+ type_name : " map"
37+ params :
38+ - type_name : " string"
39+ - type_name : " dyn"
40+ - name : " resource"
41+ type :
42+ type_name : " map"
43+ params :
44+ - type_name : " string"
45+ - type_name : " dyn"
Original file line number Diff line number Diff line change 1+ # Copyright 2024 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # https://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : " labels"
16+ functions :
17+ - name : " locationCode"
18+ overloads :
19+ - id : " locationCode_string"
20+ args :
21+ - type_name : " string"
22+ return :
23+ type_name : " string"
You can’t perform that action at this time.
0 commit comments