pulpcore_client 3.118.1 → 3.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/docs/ArtifactDistributionResponse.md +17 -17
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsEnvvarHeaderApi.md +810 -0
- data/docs/EnvVarHeaderContentGuard.md +24 -0
- data/docs/EnvVarHeaderContentGuardResponse.md +32 -0
- data/docs/PaginatedEnvVarHeaderContentGuardResponseList.md +24 -0
- data/docs/PatchedEnvVarHeaderContentGuard.md +24 -0
- data/docs/Purge.md +1 -1
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_envvar_header_api.rb +799 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +85 -85
- data/lib/pulpcore_client/models/env_var_header_content_guard.rb +340 -0
- data/lib/pulpcore_client/models/env_var_header_content_guard_response.rb +307 -0
- data/lib/pulpcore_client/models/paginated_env_var_header_content_guard_response_list.rb +257 -0
- data/lib/pulpcore_client/models/patched_env_var_header_content_guard.rb +319 -0
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -0
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_envvar_header_api_spec.rb +192 -0
- data/spec/models/artifact_distribution_response_spec.rb +13 -13
- data/spec/models/env_var_header_content_guard_response_spec.rb +78 -0
- data/spec/models/env_var_header_content_guard_spec.rb +54 -0
- data/spec/models/paginated_env_var_header_content_guard_response_list_spec.rb +54 -0
- data/spec/models/patched_env_var_header_content_guard_spec.rb +54 -0
- metadata +22 -2
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
# PulpcoreClient::ContentguardsEnvvarHeaderApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**add_role**](ContentguardsEnvvarHeaderApi.md#add_role) | **POST** {env_var_header_content_guard_href}add_role/ | Add a role |
|
|
8
|
+
| [**create**](ContentguardsEnvvarHeaderApi.md#create) | **POST** /pulp/api/v3/contentguards/core/envvar_header/ | Create an env var header content guard |
|
|
9
|
+
| [**delete**](ContentguardsEnvvarHeaderApi.md#delete) | **DELETE** {env_var_header_content_guard_href} | Delete an env var header content guard |
|
|
10
|
+
| [**list**](ContentguardsEnvvarHeaderApi.md#list) | **GET** /pulp/api/v3/contentguards/core/envvar_header/ | List env var header content guards |
|
|
11
|
+
| [**list_roles**](ContentguardsEnvvarHeaderApi.md#list_roles) | **GET** {env_var_header_content_guard_href}list_roles/ | List roles |
|
|
12
|
+
| [**my_permissions**](ContentguardsEnvvarHeaderApi.md#my_permissions) | **GET** {env_var_header_content_guard_href}my_permissions/ | List user permissions |
|
|
13
|
+
| [**partial_update**](ContentguardsEnvvarHeaderApi.md#partial_update) | **PATCH** {env_var_header_content_guard_href} | Update an env var header content guard |
|
|
14
|
+
| [**read**](ContentguardsEnvvarHeaderApi.md#read) | **GET** {env_var_header_content_guard_href} | Inspect an env var header content guard |
|
|
15
|
+
| [**remove_role**](ContentguardsEnvvarHeaderApi.md#remove_role) | **POST** {env_var_header_content_guard_href}remove_role/ | Remove a role |
|
|
16
|
+
| [**update**](ContentguardsEnvvarHeaderApi.md#update) | **PUT** {env_var_header_content_guard_href} | Update an env var header content guard |
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## add_role
|
|
20
|
+
|
|
21
|
+
> <NestedRoleResponse> add_role(env_var_header_content_guard_href, nested_role, opts)
|
|
22
|
+
|
|
23
|
+
Add a role
|
|
24
|
+
|
|
25
|
+
Add a role for this object to users/groups.
|
|
26
|
+
|
|
27
|
+
### Examples
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
require 'time'
|
|
31
|
+
require 'pulpcore_client'
|
|
32
|
+
# setup authorization
|
|
33
|
+
PulpcoreClient.configure do |config|
|
|
34
|
+
# Configure HTTP basic authorization: basicAuth
|
|
35
|
+
config.username = 'YOUR USERNAME'
|
|
36
|
+
config.password = 'YOUR PASSWORD'
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
40
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
41
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
42
|
+
opts = {
|
|
43
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
begin
|
|
47
|
+
# Add a role
|
|
48
|
+
result = api_instance.add_role(env_var_header_content_guard_href, nested_role, opts)
|
|
49
|
+
p result
|
|
50
|
+
rescue PulpcoreClient::ApiError => e
|
|
51
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->add_role: #{e}"
|
|
52
|
+
end
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
#### Using the add_role_with_http_info variant
|
|
56
|
+
|
|
57
|
+
This returns an Array which contains the response data, status code and headers.
|
|
58
|
+
|
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(env_var_header_content_guard_href, nested_role, opts)
|
|
60
|
+
|
|
61
|
+
```ruby
|
|
62
|
+
begin
|
|
63
|
+
# Add a role
|
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(env_var_header_content_guard_href, nested_role, opts)
|
|
65
|
+
p status_code # => 2xx
|
|
66
|
+
p headers # => { ... }
|
|
67
|
+
p data # => <NestedRoleResponse>
|
|
68
|
+
rescue PulpcoreClient::ApiError => e
|
|
69
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->add_role_with_http_info: #{e}"
|
|
70
|
+
end
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Parameters
|
|
74
|
+
|
|
75
|
+
| Name | Type | Description | Notes |
|
|
76
|
+
| ---- | ---- | ----------- | ----- |
|
|
77
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
78
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
79
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
+
|
|
81
|
+
### Return type
|
|
82
|
+
|
|
83
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
84
|
+
|
|
85
|
+
### Authorization
|
|
86
|
+
|
|
87
|
+
[basicAuth](../README.md#basicAuth)
|
|
88
|
+
|
|
89
|
+
### HTTP request headers
|
|
90
|
+
|
|
91
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
92
|
+
- **Accept**: application/json
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## create
|
|
96
|
+
|
|
97
|
+
> <EnvVarHeaderContentGuardResponse> create(env_var_header_content_guard, opts)
|
|
98
|
+
|
|
99
|
+
Create an env var header content guard
|
|
100
|
+
|
|
101
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
102
|
+
|
|
103
|
+
### Examples
|
|
104
|
+
|
|
105
|
+
```ruby
|
|
106
|
+
require 'time'
|
|
107
|
+
require 'pulpcore_client'
|
|
108
|
+
# setup authorization
|
|
109
|
+
PulpcoreClient.configure do |config|
|
|
110
|
+
# Configure HTTP basic authorization: basicAuth
|
|
111
|
+
config.username = 'YOUR USERNAME'
|
|
112
|
+
config.password = 'YOUR PASSWORD'
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
116
|
+
env_var_header_content_guard = PulpcoreClient::EnvVarHeaderContentGuard.new({name: 'name_example', header_name: 'header_name_example', env_var: 'env_var_example'}) # EnvVarHeaderContentGuard |
|
|
117
|
+
opts = {
|
|
118
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
begin
|
|
122
|
+
# Create an env var header content guard
|
|
123
|
+
result = api_instance.create(env_var_header_content_guard, opts)
|
|
124
|
+
p result
|
|
125
|
+
rescue PulpcoreClient::ApiError => e
|
|
126
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->create: #{e}"
|
|
127
|
+
end
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### Using the create_with_http_info variant
|
|
131
|
+
|
|
132
|
+
This returns an Array which contains the response data, status code and headers.
|
|
133
|
+
|
|
134
|
+
> <Array(<EnvVarHeaderContentGuardResponse>, Integer, Hash)> create_with_http_info(env_var_header_content_guard, opts)
|
|
135
|
+
|
|
136
|
+
```ruby
|
|
137
|
+
begin
|
|
138
|
+
# Create an env var header content guard
|
|
139
|
+
data, status_code, headers = api_instance.create_with_http_info(env_var_header_content_guard, opts)
|
|
140
|
+
p status_code # => 2xx
|
|
141
|
+
p headers # => { ... }
|
|
142
|
+
p data # => <EnvVarHeaderContentGuardResponse>
|
|
143
|
+
rescue PulpcoreClient::ApiError => e
|
|
144
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->create_with_http_info: #{e}"
|
|
145
|
+
end
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Parameters
|
|
149
|
+
|
|
150
|
+
| Name | Type | Description | Notes |
|
|
151
|
+
| ---- | ---- | ----------- | ----- |
|
|
152
|
+
| **env_var_header_content_guard** | [**EnvVarHeaderContentGuard**](EnvVarHeaderContentGuard.md) | | |
|
|
153
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
154
|
+
|
|
155
|
+
### Return type
|
|
156
|
+
|
|
157
|
+
[**EnvVarHeaderContentGuardResponse**](EnvVarHeaderContentGuardResponse.md)
|
|
158
|
+
|
|
159
|
+
### Authorization
|
|
160
|
+
|
|
161
|
+
[basicAuth](../README.md#basicAuth)
|
|
162
|
+
|
|
163
|
+
### HTTP request headers
|
|
164
|
+
|
|
165
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
166
|
+
- **Accept**: application/json
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## delete
|
|
170
|
+
|
|
171
|
+
> delete(env_var_header_content_guard_href, opts)
|
|
172
|
+
|
|
173
|
+
Delete an env var header content guard
|
|
174
|
+
|
|
175
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
176
|
+
|
|
177
|
+
### Examples
|
|
178
|
+
|
|
179
|
+
```ruby
|
|
180
|
+
require 'time'
|
|
181
|
+
require 'pulpcore_client'
|
|
182
|
+
# setup authorization
|
|
183
|
+
PulpcoreClient.configure do |config|
|
|
184
|
+
# Configure HTTP basic authorization: basicAuth
|
|
185
|
+
config.username = 'YOUR USERNAME'
|
|
186
|
+
config.password = 'YOUR PASSWORD'
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
190
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
191
|
+
opts = {
|
|
192
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
begin
|
|
196
|
+
# Delete an env var header content guard
|
|
197
|
+
api_instance.delete(env_var_header_content_guard_href, opts)
|
|
198
|
+
rescue PulpcoreClient::ApiError => e
|
|
199
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->delete: #{e}"
|
|
200
|
+
end
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
#### Using the delete_with_http_info variant
|
|
204
|
+
|
|
205
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
206
|
+
|
|
207
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(env_var_header_content_guard_href, opts)
|
|
208
|
+
|
|
209
|
+
```ruby
|
|
210
|
+
begin
|
|
211
|
+
# Delete an env var header content guard
|
|
212
|
+
data, status_code, headers = api_instance.delete_with_http_info(env_var_header_content_guard_href, opts)
|
|
213
|
+
p status_code # => 2xx
|
|
214
|
+
p headers # => { ... }
|
|
215
|
+
p data # => nil
|
|
216
|
+
rescue PulpcoreClient::ApiError => e
|
|
217
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->delete_with_http_info: #{e}"
|
|
218
|
+
end
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Parameters
|
|
222
|
+
|
|
223
|
+
| Name | Type | Description | Notes |
|
|
224
|
+
| ---- | ---- | ----------- | ----- |
|
|
225
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
226
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
227
|
+
|
|
228
|
+
### Return type
|
|
229
|
+
|
|
230
|
+
nil (empty response body)
|
|
231
|
+
|
|
232
|
+
### Authorization
|
|
233
|
+
|
|
234
|
+
[basicAuth](../README.md#basicAuth)
|
|
235
|
+
|
|
236
|
+
### HTTP request headers
|
|
237
|
+
|
|
238
|
+
- **Content-Type**: Not defined
|
|
239
|
+
- **Accept**: Not defined
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## list
|
|
243
|
+
|
|
244
|
+
> <PaginatedEnvVarHeaderContentGuardResponseList> list(opts)
|
|
245
|
+
|
|
246
|
+
List env var header content guards
|
|
247
|
+
|
|
248
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
249
|
+
|
|
250
|
+
### Examples
|
|
251
|
+
|
|
252
|
+
```ruby
|
|
253
|
+
require 'time'
|
|
254
|
+
require 'pulpcore_client'
|
|
255
|
+
# setup authorization
|
|
256
|
+
PulpcoreClient.configure do |config|
|
|
257
|
+
# Configure HTTP basic authorization: basicAuth
|
|
258
|
+
config.username = 'YOUR USERNAME'
|
|
259
|
+
config.password = 'YOUR PASSWORD'
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
263
|
+
opts = {
|
|
264
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
265
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
266
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
267
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
268
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
269
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
|
270
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
271
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
|
272
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
|
273
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
274
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
275
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
276
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
277
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
278
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
279
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
280
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
281
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
282
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
begin
|
|
286
|
+
# List env var header content guards
|
|
287
|
+
result = api_instance.list(opts)
|
|
288
|
+
p result
|
|
289
|
+
rescue PulpcoreClient::ApiError => e
|
|
290
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->list: #{e}"
|
|
291
|
+
end
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
#### Using the list_with_http_info variant
|
|
295
|
+
|
|
296
|
+
This returns an Array which contains the response data, status code and headers.
|
|
297
|
+
|
|
298
|
+
> <Array(<PaginatedEnvVarHeaderContentGuardResponseList>, Integer, Hash)> list_with_http_info(opts)
|
|
299
|
+
|
|
300
|
+
```ruby
|
|
301
|
+
begin
|
|
302
|
+
# List env var header content guards
|
|
303
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
|
304
|
+
p status_code # => 2xx
|
|
305
|
+
p headers # => { ... }
|
|
306
|
+
p data # => <PaginatedEnvVarHeaderContentGuardResponseList>
|
|
307
|
+
rescue PulpcoreClient::ApiError => e
|
|
308
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->list_with_http_info: #{e}"
|
|
309
|
+
end
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Parameters
|
|
313
|
+
|
|
314
|
+
| Name | Type | Description | Notes |
|
|
315
|
+
| ---- | ---- | ----------- | ----- |
|
|
316
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
317
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
318
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
319
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
|
320
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
|
321
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
|
322
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
323
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
|
324
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
|
325
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
326
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
327
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
328
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
329
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
330
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
331
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
332
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
333
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
334
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
335
|
+
|
|
336
|
+
### Return type
|
|
337
|
+
|
|
338
|
+
[**PaginatedEnvVarHeaderContentGuardResponseList**](PaginatedEnvVarHeaderContentGuardResponseList.md)
|
|
339
|
+
|
|
340
|
+
### Authorization
|
|
341
|
+
|
|
342
|
+
[basicAuth](../README.md#basicAuth)
|
|
343
|
+
|
|
344
|
+
### HTTP request headers
|
|
345
|
+
|
|
346
|
+
- **Content-Type**: Not defined
|
|
347
|
+
- **Accept**: application/json
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
## list_roles
|
|
351
|
+
|
|
352
|
+
> <ObjectRolesResponse> list_roles(env_var_header_content_guard_href, opts)
|
|
353
|
+
|
|
354
|
+
List roles
|
|
355
|
+
|
|
356
|
+
List roles assigned to this object.
|
|
357
|
+
|
|
358
|
+
### Examples
|
|
359
|
+
|
|
360
|
+
```ruby
|
|
361
|
+
require 'time'
|
|
362
|
+
require 'pulpcore_client'
|
|
363
|
+
# setup authorization
|
|
364
|
+
PulpcoreClient.configure do |config|
|
|
365
|
+
# Configure HTTP basic authorization: basicAuth
|
|
366
|
+
config.username = 'YOUR USERNAME'
|
|
367
|
+
config.password = 'YOUR PASSWORD'
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
371
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
372
|
+
opts = {
|
|
373
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
374
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
375
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
begin
|
|
379
|
+
# List roles
|
|
380
|
+
result = api_instance.list_roles(env_var_header_content_guard_href, opts)
|
|
381
|
+
p result
|
|
382
|
+
rescue PulpcoreClient::ApiError => e
|
|
383
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->list_roles: #{e}"
|
|
384
|
+
end
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
#### Using the list_roles_with_http_info variant
|
|
388
|
+
|
|
389
|
+
This returns an Array which contains the response data, status code and headers.
|
|
390
|
+
|
|
391
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(env_var_header_content_guard_href, opts)
|
|
392
|
+
|
|
393
|
+
```ruby
|
|
394
|
+
begin
|
|
395
|
+
# List roles
|
|
396
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(env_var_header_content_guard_href, opts)
|
|
397
|
+
p status_code # => 2xx
|
|
398
|
+
p headers # => { ... }
|
|
399
|
+
p data # => <ObjectRolesResponse>
|
|
400
|
+
rescue PulpcoreClient::ApiError => e
|
|
401
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->list_roles_with_http_info: #{e}"
|
|
402
|
+
end
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
### Parameters
|
|
406
|
+
|
|
407
|
+
| Name | Type | Description | Notes |
|
|
408
|
+
| ---- | ---- | ----------- | ----- |
|
|
409
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
411
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
412
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
413
|
+
|
|
414
|
+
### Return type
|
|
415
|
+
|
|
416
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
|
417
|
+
|
|
418
|
+
### Authorization
|
|
419
|
+
|
|
420
|
+
[basicAuth](../README.md#basicAuth)
|
|
421
|
+
|
|
422
|
+
### HTTP request headers
|
|
423
|
+
|
|
424
|
+
- **Content-Type**: Not defined
|
|
425
|
+
- **Accept**: application/json
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
## my_permissions
|
|
429
|
+
|
|
430
|
+
> <MyPermissionsResponse> my_permissions(env_var_header_content_guard_href, opts)
|
|
431
|
+
|
|
432
|
+
List user permissions
|
|
433
|
+
|
|
434
|
+
List permissions available to the current user on this object.
|
|
435
|
+
|
|
436
|
+
### Examples
|
|
437
|
+
|
|
438
|
+
```ruby
|
|
439
|
+
require 'time'
|
|
440
|
+
require 'pulpcore_client'
|
|
441
|
+
# setup authorization
|
|
442
|
+
PulpcoreClient.configure do |config|
|
|
443
|
+
# Configure HTTP basic authorization: basicAuth
|
|
444
|
+
config.username = 'YOUR USERNAME'
|
|
445
|
+
config.password = 'YOUR PASSWORD'
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
449
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
450
|
+
opts = {
|
|
451
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
452
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
453
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
begin
|
|
457
|
+
# List user permissions
|
|
458
|
+
result = api_instance.my_permissions(env_var_header_content_guard_href, opts)
|
|
459
|
+
p result
|
|
460
|
+
rescue PulpcoreClient::ApiError => e
|
|
461
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->my_permissions: #{e}"
|
|
462
|
+
end
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
#### Using the my_permissions_with_http_info variant
|
|
466
|
+
|
|
467
|
+
This returns an Array which contains the response data, status code and headers.
|
|
468
|
+
|
|
469
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(env_var_header_content_guard_href, opts)
|
|
470
|
+
|
|
471
|
+
```ruby
|
|
472
|
+
begin
|
|
473
|
+
# List user permissions
|
|
474
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(env_var_header_content_guard_href, opts)
|
|
475
|
+
p status_code # => 2xx
|
|
476
|
+
p headers # => { ... }
|
|
477
|
+
p data # => <MyPermissionsResponse>
|
|
478
|
+
rescue PulpcoreClient::ApiError => e
|
|
479
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->my_permissions_with_http_info: #{e}"
|
|
480
|
+
end
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
### Parameters
|
|
484
|
+
|
|
485
|
+
| Name | Type | Description | Notes |
|
|
486
|
+
| ---- | ---- | ----------- | ----- |
|
|
487
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
488
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
489
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
490
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
491
|
+
|
|
492
|
+
### Return type
|
|
493
|
+
|
|
494
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
|
495
|
+
|
|
496
|
+
### Authorization
|
|
497
|
+
|
|
498
|
+
[basicAuth](../README.md#basicAuth)
|
|
499
|
+
|
|
500
|
+
### HTTP request headers
|
|
501
|
+
|
|
502
|
+
- **Content-Type**: Not defined
|
|
503
|
+
- **Accept**: application/json
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
## partial_update
|
|
507
|
+
|
|
508
|
+
> <EnvVarHeaderContentGuardResponse> partial_update(env_var_header_content_guard_href, patched_env_var_header_content_guard, opts)
|
|
509
|
+
|
|
510
|
+
Update an env var header content guard
|
|
511
|
+
|
|
512
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
513
|
+
|
|
514
|
+
### Examples
|
|
515
|
+
|
|
516
|
+
```ruby
|
|
517
|
+
require 'time'
|
|
518
|
+
require 'pulpcore_client'
|
|
519
|
+
# setup authorization
|
|
520
|
+
PulpcoreClient.configure do |config|
|
|
521
|
+
# Configure HTTP basic authorization: basicAuth
|
|
522
|
+
config.username = 'YOUR USERNAME'
|
|
523
|
+
config.password = 'YOUR PASSWORD'
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
527
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
528
|
+
patched_env_var_header_content_guard = PulpcoreClient::PatchedEnvVarHeaderContentGuard.new # PatchedEnvVarHeaderContentGuard |
|
|
529
|
+
opts = {
|
|
530
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
begin
|
|
534
|
+
# Update an env var header content guard
|
|
535
|
+
result = api_instance.partial_update(env_var_header_content_guard_href, patched_env_var_header_content_guard, opts)
|
|
536
|
+
p result
|
|
537
|
+
rescue PulpcoreClient::ApiError => e
|
|
538
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->partial_update: #{e}"
|
|
539
|
+
end
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
#### Using the partial_update_with_http_info variant
|
|
543
|
+
|
|
544
|
+
This returns an Array which contains the response data, status code and headers.
|
|
545
|
+
|
|
546
|
+
> <Array(<EnvVarHeaderContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(env_var_header_content_guard_href, patched_env_var_header_content_guard, opts)
|
|
547
|
+
|
|
548
|
+
```ruby
|
|
549
|
+
begin
|
|
550
|
+
# Update an env var header content guard
|
|
551
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(env_var_header_content_guard_href, patched_env_var_header_content_guard, opts)
|
|
552
|
+
p status_code # => 2xx
|
|
553
|
+
p headers # => { ... }
|
|
554
|
+
p data # => <EnvVarHeaderContentGuardResponse>
|
|
555
|
+
rescue PulpcoreClient::ApiError => e
|
|
556
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->partial_update_with_http_info: #{e}"
|
|
557
|
+
end
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
### Parameters
|
|
561
|
+
|
|
562
|
+
| Name | Type | Description | Notes |
|
|
563
|
+
| ---- | ---- | ----------- | ----- |
|
|
564
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
565
|
+
| **patched_env_var_header_content_guard** | [**PatchedEnvVarHeaderContentGuard**](PatchedEnvVarHeaderContentGuard.md) | | |
|
|
566
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
567
|
+
|
|
568
|
+
### Return type
|
|
569
|
+
|
|
570
|
+
[**EnvVarHeaderContentGuardResponse**](EnvVarHeaderContentGuardResponse.md)
|
|
571
|
+
|
|
572
|
+
### Authorization
|
|
573
|
+
|
|
574
|
+
[basicAuth](../README.md#basicAuth)
|
|
575
|
+
|
|
576
|
+
### HTTP request headers
|
|
577
|
+
|
|
578
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
579
|
+
- **Accept**: application/json
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
## read
|
|
583
|
+
|
|
584
|
+
> <EnvVarHeaderContentGuardResponse> read(env_var_header_content_guard_href, opts)
|
|
585
|
+
|
|
586
|
+
Inspect an env var header content guard
|
|
587
|
+
|
|
588
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
589
|
+
|
|
590
|
+
### Examples
|
|
591
|
+
|
|
592
|
+
```ruby
|
|
593
|
+
require 'time'
|
|
594
|
+
require 'pulpcore_client'
|
|
595
|
+
# setup authorization
|
|
596
|
+
PulpcoreClient.configure do |config|
|
|
597
|
+
# Configure HTTP basic authorization: basicAuth
|
|
598
|
+
config.username = 'YOUR USERNAME'
|
|
599
|
+
config.password = 'YOUR PASSWORD'
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
603
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
604
|
+
opts = {
|
|
605
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
606
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
607
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
begin
|
|
611
|
+
# Inspect an env var header content guard
|
|
612
|
+
result = api_instance.read(env_var_header_content_guard_href, opts)
|
|
613
|
+
p result
|
|
614
|
+
rescue PulpcoreClient::ApiError => e
|
|
615
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->read: #{e}"
|
|
616
|
+
end
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
#### Using the read_with_http_info variant
|
|
620
|
+
|
|
621
|
+
This returns an Array which contains the response data, status code and headers.
|
|
622
|
+
|
|
623
|
+
> <Array(<EnvVarHeaderContentGuardResponse>, Integer, Hash)> read_with_http_info(env_var_header_content_guard_href, opts)
|
|
624
|
+
|
|
625
|
+
```ruby
|
|
626
|
+
begin
|
|
627
|
+
# Inspect an env var header content guard
|
|
628
|
+
data, status_code, headers = api_instance.read_with_http_info(env_var_header_content_guard_href, opts)
|
|
629
|
+
p status_code # => 2xx
|
|
630
|
+
p headers # => { ... }
|
|
631
|
+
p data # => <EnvVarHeaderContentGuardResponse>
|
|
632
|
+
rescue PulpcoreClient::ApiError => e
|
|
633
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->read_with_http_info: #{e}"
|
|
634
|
+
end
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
### Parameters
|
|
638
|
+
|
|
639
|
+
| Name | Type | Description | Notes |
|
|
640
|
+
| ---- | ---- | ----------- | ----- |
|
|
641
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
642
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
643
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
644
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
645
|
+
|
|
646
|
+
### Return type
|
|
647
|
+
|
|
648
|
+
[**EnvVarHeaderContentGuardResponse**](EnvVarHeaderContentGuardResponse.md)
|
|
649
|
+
|
|
650
|
+
### Authorization
|
|
651
|
+
|
|
652
|
+
[basicAuth](../README.md#basicAuth)
|
|
653
|
+
|
|
654
|
+
### HTTP request headers
|
|
655
|
+
|
|
656
|
+
- **Content-Type**: Not defined
|
|
657
|
+
- **Accept**: application/json
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
## remove_role
|
|
661
|
+
|
|
662
|
+
> <NestedRoleResponse> remove_role(env_var_header_content_guard_href, nested_role, opts)
|
|
663
|
+
|
|
664
|
+
Remove a role
|
|
665
|
+
|
|
666
|
+
Remove a role for this object from users/groups.
|
|
667
|
+
|
|
668
|
+
### Examples
|
|
669
|
+
|
|
670
|
+
```ruby
|
|
671
|
+
require 'time'
|
|
672
|
+
require 'pulpcore_client'
|
|
673
|
+
# setup authorization
|
|
674
|
+
PulpcoreClient.configure do |config|
|
|
675
|
+
# Configure HTTP basic authorization: basicAuth
|
|
676
|
+
config.username = 'YOUR USERNAME'
|
|
677
|
+
config.password = 'YOUR PASSWORD'
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
681
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
682
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
683
|
+
opts = {
|
|
684
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
begin
|
|
688
|
+
# Remove a role
|
|
689
|
+
result = api_instance.remove_role(env_var_header_content_guard_href, nested_role, opts)
|
|
690
|
+
p result
|
|
691
|
+
rescue PulpcoreClient::ApiError => e
|
|
692
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->remove_role: #{e}"
|
|
693
|
+
end
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
#### Using the remove_role_with_http_info variant
|
|
697
|
+
|
|
698
|
+
This returns an Array which contains the response data, status code and headers.
|
|
699
|
+
|
|
700
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(env_var_header_content_guard_href, nested_role, opts)
|
|
701
|
+
|
|
702
|
+
```ruby
|
|
703
|
+
begin
|
|
704
|
+
# Remove a role
|
|
705
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(env_var_header_content_guard_href, nested_role, opts)
|
|
706
|
+
p status_code # => 2xx
|
|
707
|
+
p headers # => { ... }
|
|
708
|
+
p data # => <NestedRoleResponse>
|
|
709
|
+
rescue PulpcoreClient::ApiError => e
|
|
710
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->remove_role_with_http_info: #{e}"
|
|
711
|
+
end
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
### Parameters
|
|
715
|
+
|
|
716
|
+
| Name | Type | Description | Notes |
|
|
717
|
+
| ---- | ---- | ----------- | ----- |
|
|
718
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
719
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
720
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
721
|
+
|
|
722
|
+
### Return type
|
|
723
|
+
|
|
724
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
725
|
+
|
|
726
|
+
### Authorization
|
|
727
|
+
|
|
728
|
+
[basicAuth](../README.md#basicAuth)
|
|
729
|
+
|
|
730
|
+
### HTTP request headers
|
|
731
|
+
|
|
732
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
733
|
+
- **Accept**: application/json
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
## update
|
|
737
|
+
|
|
738
|
+
> <EnvVarHeaderContentGuardResponse> update(env_var_header_content_guard_href, env_var_header_content_guard, opts)
|
|
739
|
+
|
|
740
|
+
Update an env var header content guard
|
|
741
|
+
|
|
742
|
+
Content guard that validates a Base64-encoded header against a server-side environment variable.
|
|
743
|
+
|
|
744
|
+
### Examples
|
|
745
|
+
|
|
746
|
+
```ruby
|
|
747
|
+
require 'time'
|
|
748
|
+
require 'pulpcore_client'
|
|
749
|
+
# setup authorization
|
|
750
|
+
PulpcoreClient.configure do |config|
|
|
751
|
+
# Configure HTTP basic authorization: basicAuth
|
|
752
|
+
config.username = 'YOUR USERNAME'
|
|
753
|
+
config.password = 'YOUR PASSWORD'
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
|
|
757
|
+
env_var_header_content_guard_href = 'env_var_header_content_guard_href_example' # String |
|
|
758
|
+
env_var_header_content_guard = PulpcoreClient::EnvVarHeaderContentGuard.new({name: 'name_example', header_name: 'header_name_example', env_var: 'env_var_example'}) # EnvVarHeaderContentGuard |
|
|
759
|
+
opts = {
|
|
760
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
begin
|
|
764
|
+
# Update an env var header content guard
|
|
765
|
+
result = api_instance.update(env_var_header_content_guard_href, env_var_header_content_guard, opts)
|
|
766
|
+
p result
|
|
767
|
+
rescue PulpcoreClient::ApiError => e
|
|
768
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->update: #{e}"
|
|
769
|
+
end
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
#### Using the update_with_http_info variant
|
|
773
|
+
|
|
774
|
+
This returns an Array which contains the response data, status code and headers.
|
|
775
|
+
|
|
776
|
+
> <Array(<EnvVarHeaderContentGuardResponse>, Integer, Hash)> update_with_http_info(env_var_header_content_guard_href, env_var_header_content_guard, opts)
|
|
777
|
+
|
|
778
|
+
```ruby
|
|
779
|
+
begin
|
|
780
|
+
# Update an env var header content guard
|
|
781
|
+
data, status_code, headers = api_instance.update_with_http_info(env_var_header_content_guard_href, env_var_header_content_guard, opts)
|
|
782
|
+
p status_code # => 2xx
|
|
783
|
+
p headers # => { ... }
|
|
784
|
+
p data # => <EnvVarHeaderContentGuardResponse>
|
|
785
|
+
rescue PulpcoreClient::ApiError => e
|
|
786
|
+
puts "Error when calling ContentguardsEnvvarHeaderApi->update_with_http_info: #{e}"
|
|
787
|
+
end
|
|
788
|
+
```
|
|
789
|
+
|
|
790
|
+
### Parameters
|
|
791
|
+
|
|
792
|
+
| Name | Type | Description | Notes |
|
|
793
|
+
| ---- | ---- | ----------- | ----- |
|
|
794
|
+
| **env_var_header_content_guard_href** | **String** | | |
|
|
795
|
+
| **env_var_header_content_guard** | [**EnvVarHeaderContentGuard**](EnvVarHeaderContentGuard.md) | | |
|
|
796
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
797
|
+
|
|
798
|
+
### Return type
|
|
799
|
+
|
|
800
|
+
[**EnvVarHeaderContentGuardResponse**](EnvVarHeaderContentGuardResponse.md)
|
|
801
|
+
|
|
802
|
+
### Authorization
|
|
803
|
+
|
|
804
|
+
[basicAuth](../README.md#basicAuth)
|
|
805
|
+
|
|
806
|
+
### HTTP request headers
|
|
807
|
+
|
|
808
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
809
|
+
- **Accept**: application/json
|
|
810
|
+
|