Commit 359c94b
Add service account enable/disable snippets (GoogleCloudPlatform#2410)
* Moving variable definitions inside methods
Ensures that variable definitions are captured in the region tags, so they'll show up in the documentation
* Added region tags to capture imports
* Moved variable definitions inside functions
Moved the variable definitions inside the functions so they would be captured by the region tags
* Added region tags to capture imports
* Minor formatting adjustments
* Removing whitespace from blank lines
* Removing whitespace from blank lines
* Lint
* Lint
* Lint
Solved redundancy between global "service_account" and local variable "service_account" in create_service_account and rename_service_account by changing the name of the local variable to "my_service_account"
* Removing pylint tags
* Removing pylint tags
* Update service_account to my_service_account
* Add enable/disable functions and tests
* Adding region tags for imports
* Adding enable/disable functions
* Lint1 parent 5d43edb commit 359c94b
2 files changed
Lines changed: 57 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
113 | 154 | | |
114 | 155 | | |
115 | 156 | | |
| |||
149 | 190 | | |
150 | 191 | | |
151 | 192 | | |
152 | | - | |
| 193 | + | |
153 | 194 | | |
154 | 195 | | |
155 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
156 | 207 | | |
157 | 208 | | |
158 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
0 commit comments