pulp_certguard_client 3.49.53 → 3.49.54
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 +8 -5
- data/docs/ContentguardsRhsmApi.md +28 -8
- data/docs/ContentguardsX509Api.md +28 -8
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +18 -0
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +18 -0
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/spec/api/contentguards_rhsm_api_spec.rb +6 -0
- data/spec/api/contentguards_x509_api_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a5b849fe40c0eaea71227acca872bd2c0e68ebd4c1d16d4f8eb9527db7b8643
|
|
4
|
+
data.tar.gz: ec4b84110029e9bf89340638415a6c3a0b1cd4f6e8ba88614fc283c249a2d93a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 486dca218f9610dabb581ffafea736671574b1e6081df9f254d7408212d799d40c028a5adf41ba9ba0cb6ae3e690a0b0c94be65d3541111c078da3d682dec729
|
|
7
|
+
data.tar.gz: 044ce95cca0408afd17eba123dc92e2513d324d846ed9119d47b2aa9e6ddc24758d604950124cc56b4ec2aea64ed2a704c481e9e6ffff47e3dc4e1a51f91d625
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.49.
|
|
10
|
+
- Package version: 3.49.54
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_certguard_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_certguard_client-3.49.
|
|
27
|
+
gem install ./pulp_certguard_client-3.49.54.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-3.49.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-3.49.54.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_certguard_client', '~> 3.49.
|
|
36
|
+
gem 'pulp_certguard_client', '~> 3.49.54'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -66,10 +66,13 @@ end
|
|
|
66
66
|
|
|
67
67
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
68
68
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
69
|
+
opts = {
|
|
70
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
71
|
+
}
|
|
69
72
|
|
|
70
73
|
begin
|
|
71
74
|
#Create a rhsm cert guard
|
|
72
|
-
result = api_instance.create(certguard_rhsm_cert_guard)
|
|
75
|
+
result = api_instance.create(certguard_rhsm_cert_guard, opts)
|
|
73
76
|
p result
|
|
74
77
|
rescue PulpCertguardClient::ApiError => e
|
|
75
78
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> CertguardRHSMCertGuardResponse create(certguard_rhsm_cert_guard)
|
|
18
|
+
> CertguardRHSMCertGuardResponse create(certguard_rhsm_cert_guard, opts)
|
|
19
19
|
|
|
20
20
|
Create a rhsm cert guard
|
|
21
21
|
|
|
@@ -35,10 +35,13 @@ end
|
|
|
35
35
|
|
|
36
36
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
37
37
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
38
|
+
opts = {
|
|
39
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
40
|
+
}
|
|
38
41
|
|
|
39
42
|
begin
|
|
40
43
|
#Create a rhsm cert guard
|
|
41
|
-
result = api_instance.create(certguard_rhsm_cert_guard)
|
|
44
|
+
result = api_instance.create(certguard_rhsm_cert_guard, opts)
|
|
42
45
|
p result
|
|
43
46
|
rescue PulpCertguardClient::ApiError => e
|
|
44
47
|
puts "Exception when calling ContentguardsRhsmApi->create: #{e}"
|
|
@@ -51,6 +54,7 @@ end
|
|
|
51
54
|
Name | Type | Description | Notes
|
|
52
55
|
------------- | ------------- | ------------- | -------------
|
|
53
56
|
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
|
57
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
54
58
|
|
|
55
59
|
### Return type
|
|
56
60
|
|
|
@@ -68,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
68
72
|
|
|
69
73
|
## delete
|
|
70
74
|
|
|
71
|
-
> delete(certguard_r_h_s_m_cert_guard_href)
|
|
75
|
+
> delete(certguard_r_h_s_m_cert_guard_href, opts)
|
|
72
76
|
|
|
73
77
|
Delete a rhsm cert guard
|
|
74
78
|
|
|
@@ -88,10 +92,13 @@ end
|
|
|
88
92
|
|
|
89
93
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
90
94
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
95
|
+
opts = {
|
|
96
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
97
|
+
}
|
|
91
98
|
|
|
92
99
|
begin
|
|
93
100
|
#Delete a rhsm cert guard
|
|
94
|
-
api_instance.delete(certguard_r_h_s_m_cert_guard_href)
|
|
101
|
+
api_instance.delete(certguard_r_h_s_m_cert_guard_href, opts)
|
|
95
102
|
rescue PulpCertguardClient::ApiError => e
|
|
96
103
|
puts "Exception when calling ContentguardsRhsmApi->delete: #{e}"
|
|
97
104
|
end
|
|
@@ -103,6 +110,7 @@ end
|
|
|
103
110
|
Name | Type | Description | Notes
|
|
104
111
|
------------- | ------------- | ------------- | -------------
|
|
105
112
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
113
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
106
114
|
|
|
107
115
|
### Return type
|
|
108
116
|
|
|
@@ -140,6 +148,7 @@ end
|
|
|
140
148
|
|
|
141
149
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
142
150
|
opts = {
|
|
151
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
143
152
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
153
|
name: 'name_example', # String | Filter results where name matches value
|
|
145
154
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -173,6 +182,7 @@ end
|
|
|
173
182
|
|
|
174
183
|
Name | Type | Description | Notes
|
|
175
184
|
------------- | ------------- | ------------- | -------------
|
|
185
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
176
186
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
177
187
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
178
188
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -207,7 +217,7 @@ Name | Type | Description | Notes
|
|
|
207
217
|
|
|
208
218
|
## partial_update
|
|
209
219
|
|
|
210
|
-
> CertguardRHSMCertGuardResponse partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
|
220
|
+
> CertguardRHSMCertGuardResponse partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
|
211
221
|
|
|
212
222
|
Update a rhsm cert guard
|
|
213
223
|
|
|
@@ -228,10 +238,13 @@ end
|
|
|
228
238
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
229
239
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
230
240
|
patchedcertguard_rhsm_cert_guard = PulpCertguardClient::PatchedcertguardRHSMCertGuard.new # PatchedcertguardRHSMCertGuard |
|
|
241
|
+
opts = {
|
|
242
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
243
|
+
}
|
|
231
244
|
|
|
232
245
|
begin
|
|
233
246
|
#Update a rhsm cert guard
|
|
234
|
-
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard)
|
|
247
|
+
result = api_instance.partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
|
235
248
|
p result
|
|
236
249
|
rescue PulpCertguardClient::ApiError => e
|
|
237
250
|
puts "Exception when calling ContentguardsRhsmApi->partial_update: #{e}"
|
|
@@ -245,6 +258,7 @@ Name | Type | Description | Notes
|
|
|
245
258
|
------------- | ------------- | ------------- | -------------
|
|
246
259
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
247
260
|
**patchedcertguard_rhsm_cert_guard** | [**PatchedcertguardRHSMCertGuard**](PatchedcertguardRHSMCertGuard.md)| |
|
|
261
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
248
262
|
|
|
249
263
|
### Return type
|
|
250
264
|
|
|
@@ -283,6 +297,7 @@ end
|
|
|
283
297
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
284
298
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
285
299
|
opts = {
|
|
300
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
286
301
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
287
302
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
288
303
|
}
|
|
@@ -302,6 +317,7 @@ end
|
|
|
302
317
|
Name | Type | Description | Notes
|
|
303
318
|
------------- | ------------- | ------------- | -------------
|
|
304
319
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
320
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
305
321
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
306
322
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
307
323
|
|
|
@@ -321,7 +337,7 @@ Name | Type | Description | Notes
|
|
|
321
337
|
|
|
322
338
|
## update
|
|
323
339
|
|
|
324
|
-
> CertguardRHSMCertGuardResponse update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
|
340
|
+
> CertguardRHSMCertGuardResponse update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
|
325
341
|
|
|
326
342
|
Update a rhsm cert guard
|
|
327
343
|
|
|
@@ -342,10 +358,13 @@ end
|
|
|
342
358
|
api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
|
|
343
359
|
certguard_r_h_s_m_cert_guard_href = 'certguard_r_h_s_m_cert_guard_href_example' # String |
|
|
344
360
|
certguard_rhsm_cert_guard = PulpCertguardClient::CertguardRHSMCertGuard.new # CertguardRHSMCertGuard |
|
|
361
|
+
opts = {
|
|
362
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
363
|
+
}
|
|
345
364
|
|
|
346
365
|
begin
|
|
347
366
|
#Update a rhsm cert guard
|
|
348
|
-
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard)
|
|
367
|
+
result = api_instance.update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
|
349
368
|
p result
|
|
350
369
|
rescue PulpCertguardClient::ApiError => e
|
|
351
370
|
puts "Exception when calling ContentguardsRhsmApi->update: #{e}"
|
|
@@ -359,6 +378,7 @@ Name | Type | Description | Notes
|
|
|
359
378
|
------------- | ------------- | ------------- | -------------
|
|
360
379
|
**certguard_r_h_s_m_cert_guard_href** | **String**| |
|
|
361
380
|
**certguard_rhsm_cert_guard** | [**CertguardRHSMCertGuard**](CertguardRHSMCertGuard.md)| |
|
|
381
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
362
382
|
|
|
363
383
|
### Return type
|
|
364
384
|
|
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> CertguardX509CertGuardResponse create(certguard_x509_cert_guard)
|
|
18
|
+
> CertguardX509CertGuardResponse create(certguard_x509_cert_guard, opts)
|
|
19
19
|
|
|
20
20
|
Create a x509 cert guard
|
|
21
21
|
|
|
@@ -35,10 +35,13 @@ end
|
|
|
35
35
|
|
|
36
36
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
37
37
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new # CertguardX509CertGuard |
|
|
38
|
+
opts = {
|
|
39
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
40
|
+
}
|
|
38
41
|
|
|
39
42
|
begin
|
|
40
43
|
#Create a x509 cert guard
|
|
41
|
-
result = api_instance.create(certguard_x509_cert_guard)
|
|
44
|
+
result = api_instance.create(certguard_x509_cert_guard, opts)
|
|
42
45
|
p result
|
|
43
46
|
rescue PulpCertguardClient::ApiError => e
|
|
44
47
|
puts "Exception when calling ContentguardsX509Api->create: #{e}"
|
|
@@ -51,6 +54,7 @@ end
|
|
|
51
54
|
Name | Type | Description | Notes
|
|
52
55
|
------------- | ------------- | ------------- | -------------
|
|
53
56
|
**certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md)| |
|
|
57
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
54
58
|
|
|
55
59
|
### Return type
|
|
56
60
|
|
|
@@ -68,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
68
72
|
|
|
69
73
|
## delete
|
|
70
74
|
|
|
71
|
-
> delete(certguard_x509_cert_guard_href)
|
|
75
|
+
> delete(certguard_x509_cert_guard_href, opts)
|
|
72
76
|
|
|
73
77
|
Delete a x509 cert guard
|
|
74
78
|
|
|
@@ -88,10 +92,13 @@ end
|
|
|
88
92
|
|
|
89
93
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
90
94
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
95
|
+
opts = {
|
|
96
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
97
|
+
}
|
|
91
98
|
|
|
92
99
|
begin
|
|
93
100
|
#Delete a x509 cert guard
|
|
94
|
-
api_instance.delete(certguard_x509_cert_guard_href)
|
|
101
|
+
api_instance.delete(certguard_x509_cert_guard_href, opts)
|
|
95
102
|
rescue PulpCertguardClient::ApiError => e
|
|
96
103
|
puts "Exception when calling ContentguardsX509Api->delete: #{e}"
|
|
97
104
|
end
|
|
@@ -103,6 +110,7 @@ end
|
|
|
103
110
|
Name | Type | Description | Notes
|
|
104
111
|
------------- | ------------- | ------------- | -------------
|
|
105
112
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
113
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
106
114
|
|
|
107
115
|
### Return type
|
|
108
116
|
|
|
@@ -140,6 +148,7 @@ end
|
|
|
140
148
|
|
|
141
149
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
142
150
|
opts = {
|
|
151
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
143
152
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
153
|
name: 'name_example', # String | Filter results where name matches value
|
|
145
154
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -173,6 +182,7 @@ end
|
|
|
173
182
|
|
|
174
183
|
Name | Type | Description | Notes
|
|
175
184
|
------------- | ------------- | ------------- | -------------
|
|
185
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
176
186
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
177
187
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
178
188
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -207,7 +217,7 @@ Name | Type | Description | Notes
|
|
|
207
217
|
|
|
208
218
|
## partial_update
|
|
209
219
|
|
|
210
|
-
> CertguardX509CertGuardResponse partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
|
220
|
+
> CertguardX509CertGuardResponse partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
|
211
221
|
|
|
212
222
|
Update a x509 cert guard
|
|
213
223
|
|
|
@@ -228,10 +238,13 @@ end
|
|
|
228
238
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
229
239
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
230
240
|
patchedcertguard_x509_cert_guard = PulpCertguardClient::PatchedcertguardX509CertGuard.new # PatchedcertguardX509CertGuard |
|
|
241
|
+
opts = {
|
|
242
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
243
|
+
}
|
|
231
244
|
|
|
232
245
|
begin
|
|
233
246
|
#Update a x509 cert guard
|
|
234
|
-
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard)
|
|
247
|
+
result = api_instance.partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
|
235
248
|
p result
|
|
236
249
|
rescue PulpCertguardClient::ApiError => e
|
|
237
250
|
puts "Exception when calling ContentguardsX509Api->partial_update: #{e}"
|
|
@@ -245,6 +258,7 @@ Name | Type | Description | Notes
|
|
|
245
258
|
------------- | ------------- | ------------- | -------------
|
|
246
259
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
247
260
|
**patchedcertguard_x509_cert_guard** | [**PatchedcertguardX509CertGuard**](PatchedcertguardX509CertGuard.md)| |
|
|
261
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
248
262
|
|
|
249
263
|
### Return type
|
|
250
264
|
|
|
@@ -283,6 +297,7 @@ end
|
|
|
283
297
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
284
298
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
285
299
|
opts = {
|
|
300
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
286
301
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
287
302
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
288
303
|
}
|
|
@@ -302,6 +317,7 @@ end
|
|
|
302
317
|
Name | Type | Description | Notes
|
|
303
318
|
------------- | ------------- | ------------- | -------------
|
|
304
319
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
320
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
305
321
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
306
322
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
307
323
|
|
|
@@ -321,7 +337,7 @@ Name | Type | Description | Notes
|
|
|
321
337
|
|
|
322
338
|
## update
|
|
323
339
|
|
|
324
|
-
> CertguardX509CertGuardResponse update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
|
340
|
+
> CertguardX509CertGuardResponse update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
|
325
341
|
|
|
326
342
|
Update a x509 cert guard
|
|
327
343
|
|
|
@@ -342,10 +358,13 @@ end
|
|
|
342
358
|
api_instance = PulpCertguardClient::ContentguardsX509Api.new
|
|
343
359
|
certguard_x509_cert_guard_href = 'certguard_x509_cert_guard_href_example' # String |
|
|
344
360
|
certguard_x509_cert_guard = PulpCertguardClient::CertguardX509CertGuard.new # CertguardX509CertGuard |
|
|
361
|
+
opts = {
|
|
362
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
363
|
+
}
|
|
345
364
|
|
|
346
365
|
begin
|
|
347
366
|
#Update a x509 cert guard
|
|
348
|
-
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard)
|
|
367
|
+
result = api_instance.update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
|
349
368
|
p result
|
|
350
369
|
rescue PulpCertguardClient::ApiError => e
|
|
351
370
|
puts "Exception when calling ContentguardsX509Api->update: #{e}"
|
|
@@ -359,6 +378,7 @@ Name | Type | Description | Notes
|
|
|
359
378
|
------------- | ------------- | ------------- | -------------
|
|
360
379
|
**certguard_x509_cert_guard_href** | **String**| |
|
|
361
380
|
**certguard_x509_cert_guard** | [**CertguardX509CertGuard**](CertguardX509CertGuard.md)| |
|
|
381
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
362
382
|
|
|
363
383
|
### Return type
|
|
364
384
|
|
|
@@ -23,6 +23,7 @@ module PulpCertguardClient
|
|
|
23
23
|
# RHSMCertGuard API Viewsets.
|
|
24
24
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [CertguardRHSMCertGuardResponse]
|
|
27
28
|
def create(certguard_rhsm_cert_guard, opts = {})
|
|
28
29
|
data, _status_code, _headers = create_with_http_info(certguard_rhsm_cert_guard, opts)
|
|
@@ -33,6 +34,7 @@ module PulpCertguardClient
|
|
|
33
34
|
# RHSMCertGuard API Viewsets.
|
|
34
35
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
37
39
|
def create_with_http_info(certguard_rhsm_cert_guard, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpCertguardClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -87,6 +90,7 @@ module PulpCertguardClient
|
|
|
87
90
|
# RHSMCertGuard API Viewsets.
|
|
88
91
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
89
92
|
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
90
94
|
# @return [nil]
|
|
91
95
|
def delete(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
92
96
|
delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts)
|
|
@@ -97,6 +101,7 @@ module PulpCertguardClient
|
|
|
97
101
|
# RHSMCertGuard API Viewsets.
|
|
98
102
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
99
103
|
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
105
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
106
|
def delete_with_http_info(certguard_r_h_s_m_cert_guard_href, opts = {})
|
|
102
107
|
if @api_client.config.debugging
|
|
@@ -114,6 +119,7 @@ module PulpCertguardClient
|
|
|
114
119
|
|
|
115
120
|
# header parameters
|
|
116
121
|
header_params = opts[:header_params] || {}
|
|
122
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
117
123
|
|
|
118
124
|
# form parameters
|
|
119
125
|
form_params = opts[:form_params] || {}
|
|
@@ -146,6 +152,7 @@ module PulpCertguardClient
|
|
|
146
152
|
# List rhsm cert guards
|
|
147
153
|
# RHSMCertGuard API Viewsets.
|
|
148
154
|
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
150
157
|
# @option opts [String] :name Filter results where name matches value
|
|
151
158
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -172,6 +179,7 @@ module PulpCertguardClient
|
|
|
172
179
|
# List rhsm cert guards
|
|
173
180
|
# RHSMCertGuard API Viewsets.
|
|
174
181
|
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
175
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
176
184
|
# @option opts [String] :name Filter results where name matches value
|
|
177
185
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -225,6 +233,7 @@ module PulpCertguardClient
|
|
|
225
233
|
header_params = opts[:header_params] || {}
|
|
226
234
|
# HTTP header 'Accept' (if needed)
|
|
227
235
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
236
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
228
237
|
|
|
229
238
|
# form parameters
|
|
230
239
|
form_params = opts[:form_params] || {}
|
|
@@ -259,6 +268,7 @@ module PulpCertguardClient
|
|
|
259
268
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
260
269
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
|
261
270
|
# @param [Hash] opts the optional parameters
|
|
271
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
262
272
|
# @return [CertguardRHSMCertGuardResponse]
|
|
263
273
|
def partial_update(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
|
264
274
|
data, _status_code, _headers = partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts)
|
|
@@ -270,6 +280,7 @@ module PulpCertguardClient
|
|
|
270
280
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
271
281
|
# @param patchedcertguard_rhsm_cert_guard [PatchedcertguardRHSMCertGuard]
|
|
272
282
|
# @param [Hash] opts the optional parameters
|
|
283
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
273
284
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
274
285
|
def partial_update_with_http_info(certguard_r_h_s_m_cert_guard_href, patchedcertguard_rhsm_cert_guard, opts = {})
|
|
275
286
|
if @api_client.config.debugging
|
|
@@ -295,6 +306,7 @@ module PulpCertguardClient
|
|
|
295
306
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
296
307
|
# HTTP header 'Content-Type'
|
|
297
308
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
309
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
298
310
|
|
|
299
311
|
# form parameters
|
|
300
312
|
form_params = opts[:form_params] || {}
|
|
@@ -328,6 +340,7 @@ module PulpCertguardClient
|
|
|
328
340
|
# RHSMCertGuard API Viewsets.
|
|
329
341
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
330
342
|
# @param [Hash] opts the optional parameters
|
|
343
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
331
344
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
332
345
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
333
346
|
# @return [CertguardRHSMCertGuardResponse]
|
|
@@ -340,6 +353,7 @@ module PulpCertguardClient
|
|
|
340
353
|
# RHSMCertGuard API Viewsets.
|
|
341
354
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
342
355
|
# @param [Hash] opts the optional parameters
|
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
343
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
344
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
345
359
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
@@ -363,6 +377,7 @@ module PulpCertguardClient
|
|
|
363
377
|
header_params = opts[:header_params] || {}
|
|
364
378
|
# HTTP header 'Accept' (if needed)
|
|
365
379
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
366
381
|
|
|
367
382
|
# form parameters
|
|
368
383
|
form_params = opts[:form_params] || {}
|
|
@@ -397,6 +412,7 @@ module PulpCertguardClient
|
|
|
397
412
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
398
413
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
399
414
|
# @param [Hash] opts the optional parameters
|
|
415
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
400
416
|
# @return [CertguardRHSMCertGuardResponse]
|
|
401
417
|
def update(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
|
402
418
|
data, _status_code, _headers = update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts)
|
|
@@ -408,6 +424,7 @@ module PulpCertguardClient
|
|
|
408
424
|
# @param certguard_r_h_s_m_cert_guard_href [String]
|
|
409
425
|
# @param certguard_rhsm_cert_guard [CertguardRHSMCertGuard]
|
|
410
426
|
# @param [Hash] opts the optional parameters
|
|
427
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
411
428
|
# @return [Array<(CertguardRHSMCertGuardResponse, Integer, Hash)>] CertguardRHSMCertGuardResponse data, response status code and response headers
|
|
412
429
|
def update_with_http_info(certguard_r_h_s_m_cert_guard_href, certguard_rhsm_cert_guard, opts = {})
|
|
413
430
|
if @api_client.config.debugging
|
|
@@ -433,6 +450,7 @@ module PulpCertguardClient
|
|
|
433
450
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
434
451
|
# HTTP header 'Content-Type'
|
|
435
452
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
453
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
436
454
|
|
|
437
455
|
# form parameters
|
|
438
456
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpCertguardClient
|
|
|
23
23
|
# X509CertGuard API Viewsets.
|
|
24
24
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [CertguardX509CertGuardResponse]
|
|
27
28
|
def create(certguard_x509_cert_guard, opts = {})
|
|
28
29
|
data, _status_code, _headers = create_with_http_info(certguard_x509_cert_guard, opts)
|
|
@@ -33,6 +34,7 @@ module PulpCertguardClient
|
|
|
33
34
|
# X509CertGuard API Viewsets.
|
|
34
35
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
37
39
|
def create_with_http_info(certguard_x509_cert_guard, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpCertguardClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -87,6 +90,7 @@ module PulpCertguardClient
|
|
|
87
90
|
# X509CertGuard API Viewsets.
|
|
88
91
|
# @param certguard_x509_cert_guard_href [String]
|
|
89
92
|
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
90
94
|
# @return [nil]
|
|
91
95
|
def delete(certguard_x509_cert_guard_href, opts = {})
|
|
92
96
|
delete_with_http_info(certguard_x509_cert_guard_href, opts)
|
|
@@ -97,6 +101,7 @@ module PulpCertguardClient
|
|
|
97
101
|
# X509CertGuard API Viewsets.
|
|
98
102
|
# @param certguard_x509_cert_guard_href [String]
|
|
99
103
|
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
105
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
106
|
def delete_with_http_info(certguard_x509_cert_guard_href, opts = {})
|
|
102
107
|
if @api_client.config.debugging
|
|
@@ -114,6 +119,7 @@ module PulpCertguardClient
|
|
|
114
119
|
|
|
115
120
|
# header parameters
|
|
116
121
|
header_params = opts[:header_params] || {}
|
|
122
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
117
123
|
|
|
118
124
|
# form parameters
|
|
119
125
|
form_params = opts[:form_params] || {}
|
|
@@ -146,6 +152,7 @@ module PulpCertguardClient
|
|
|
146
152
|
# List x509 cert guards
|
|
147
153
|
# X509CertGuard API Viewsets.
|
|
148
154
|
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
150
157
|
# @option opts [String] :name Filter results where name matches value
|
|
151
158
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -172,6 +179,7 @@ module PulpCertguardClient
|
|
|
172
179
|
# List x509 cert guards
|
|
173
180
|
# X509CertGuard API Viewsets.
|
|
174
181
|
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
175
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
176
184
|
# @option opts [String] :name Filter results where name matches value
|
|
177
185
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -225,6 +233,7 @@ module PulpCertguardClient
|
|
|
225
233
|
header_params = opts[:header_params] || {}
|
|
226
234
|
# HTTP header 'Accept' (if needed)
|
|
227
235
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
236
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
228
237
|
|
|
229
238
|
# form parameters
|
|
230
239
|
form_params = opts[:form_params] || {}
|
|
@@ -259,6 +268,7 @@ module PulpCertguardClient
|
|
|
259
268
|
# @param certguard_x509_cert_guard_href [String]
|
|
260
269
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
|
261
270
|
# @param [Hash] opts the optional parameters
|
|
271
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
262
272
|
# @return [CertguardX509CertGuardResponse]
|
|
263
273
|
def partial_update(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
|
264
274
|
data, _status_code, _headers = partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts)
|
|
@@ -270,6 +280,7 @@ module PulpCertguardClient
|
|
|
270
280
|
# @param certguard_x509_cert_guard_href [String]
|
|
271
281
|
# @param patchedcertguard_x509_cert_guard [PatchedcertguardX509CertGuard]
|
|
272
282
|
# @param [Hash] opts the optional parameters
|
|
283
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
273
284
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
274
285
|
def partial_update_with_http_info(certguard_x509_cert_guard_href, patchedcertguard_x509_cert_guard, opts = {})
|
|
275
286
|
if @api_client.config.debugging
|
|
@@ -295,6 +306,7 @@ module PulpCertguardClient
|
|
|
295
306
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
296
307
|
# HTTP header 'Content-Type'
|
|
297
308
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
309
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
298
310
|
|
|
299
311
|
# form parameters
|
|
300
312
|
form_params = opts[:form_params] || {}
|
|
@@ -328,6 +340,7 @@ module PulpCertguardClient
|
|
|
328
340
|
# X509CertGuard API Viewsets.
|
|
329
341
|
# @param certguard_x509_cert_guard_href [String]
|
|
330
342
|
# @param [Hash] opts the optional parameters
|
|
343
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
331
344
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
332
345
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
333
346
|
# @return [CertguardX509CertGuardResponse]
|
|
@@ -340,6 +353,7 @@ module PulpCertguardClient
|
|
|
340
353
|
# X509CertGuard API Viewsets.
|
|
341
354
|
# @param certguard_x509_cert_guard_href [String]
|
|
342
355
|
# @param [Hash] opts the optional parameters
|
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
343
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
344
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
345
359
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
@@ -363,6 +377,7 @@ module PulpCertguardClient
|
|
|
363
377
|
header_params = opts[:header_params] || {}
|
|
364
378
|
# HTTP header 'Accept' (if needed)
|
|
365
379
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
380
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
366
381
|
|
|
367
382
|
# form parameters
|
|
368
383
|
form_params = opts[:form_params] || {}
|
|
@@ -397,6 +412,7 @@ module PulpCertguardClient
|
|
|
397
412
|
# @param certguard_x509_cert_guard_href [String]
|
|
398
413
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
399
414
|
# @param [Hash] opts the optional parameters
|
|
415
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
400
416
|
# @return [CertguardX509CertGuardResponse]
|
|
401
417
|
def update(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
|
402
418
|
data, _status_code, _headers = update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts)
|
|
@@ -408,6 +424,7 @@ module PulpCertguardClient
|
|
|
408
424
|
# @param certguard_x509_cert_guard_href [String]
|
|
409
425
|
# @param certguard_x509_cert_guard [CertguardX509CertGuard]
|
|
410
426
|
# @param [Hash] opts the optional parameters
|
|
427
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
411
428
|
# @return [Array<(CertguardX509CertGuardResponse, Integer, Hash)>] CertguardX509CertGuardResponse data, response status code and response headers
|
|
412
429
|
def update_with_http_info(certguard_x509_cert_guard_href, certguard_x509_cert_guard, opts = {})
|
|
413
430
|
if @api_client.config.debugging
|
|
@@ -433,6 +450,7 @@ module PulpCertguardClient
|
|
|
433
450
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
434
451
|
# HTTP header 'Content-Type'
|
|
435
452
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
453
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
436
454
|
|
|
437
455
|
# form parameters
|
|
438
456
|
form_params = opts[:form_params] || {}
|
|
@@ -37,6 +37,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
37
37
|
# RHSMCertGuard API Viewsets.
|
|
38
38
|
# @param certguard_rhsm_cert_guard
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
41
|
# @return [CertguardRHSMCertGuardResponse]
|
|
41
42
|
describe 'create test' do
|
|
42
43
|
it 'should work' do
|
|
@@ -49,6 +50,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
49
50
|
# RHSMCertGuard API Viewsets.
|
|
50
51
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
51
52
|
# @param [Hash] opts the optional parameters
|
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
52
54
|
# @return [nil]
|
|
53
55
|
describe 'delete test' do
|
|
54
56
|
it 'should work' do
|
|
@@ -60,6 +62,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
60
62
|
# List rhsm cert guards
|
|
61
63
|
# RHSMCertGuard API Viewsets.
|
|
62
64
|
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
67
|
# @option opts [String] :name Filter results where name matches value
|
|
65
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -90,6 +93,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
90
93
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
91
94
|
# @param patchedcertguard_rhsm_cert_guard
|
|
92
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
93
97
|
# @return [CertguardRHSMCertGuardResponse]
|
|
94
98
|
describe 'partial_update test' do
|
|
95
99
|
it 'should work' do
|
|
@@ -102,6 +106,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
102
106
|
# RHSMCertGuard API Viewsets.
|
|
103
107
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
104
108
|
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
105
110
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
106
111
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
107
112
|
# @return [CertguardRHSMCertGuardResponse]
|
|
@@ -117,6 +122,7 @@ describe 'ContentguardsRhsmApi' do
|
|
|
117
122
|
# @param certguard_r_h_s_m_cert_guard_href
|
|
118
123
|
# @param certguard_rhsm_cert_guard
|
|
119
124
|
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
120
126
|
# @return [CertguardRHSMCertGuardResponse]
|
|
121
127
|
describe 'update test' do
|
|
122
128
|
it 'should work' do
|
|
@@ -37,6 +37,7 @@ describe 'ContentguardsX509Api' do
|
|
|
37
37
|
# X509CertGuard API Viewsets.
|
|
38
38
|
# @param certguard_x509_cert_guard
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
41
|
# @return [CertguardX509CertGuardResponse]
|
|
41
42
|
describe 'create test' do
|
|
42
43
|
it 'should work' do
|
|
@@ -49,6 +50,7 @@ describe 'ContentguardsX509Api' do
|
|
|
49
50
|
# X509CertGuard API Viewsets.
|
|
50
51
|
# @param certguard_x509_cert_guard_href
|
|
51
52
|
# @param [Hash] opts the optional parameters
|
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
52
54
|
# @return [nil]
|
|
53
55
|
describe 'delete test' do
|
|
54
56
|
it 'should work' do
|
|
@@ -60,6 +62,7 @@ describe 'ContentguardsX509Api' do
|
|
|
60
62
|
# List x509 cert guards
|
|
61
63
|
# X509CertGuard API Viewsets.
|
|
62
64
|
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
67
|
# @option opts [String] :name Filter results where name matches value
|
|
65
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -90,6 +93,7 @@ describe 'ContentguardsX509Api' do
|
|
|
90
93
|
# @param certguard_x509_cert_guard_href
|
|
91
94
|
# @param patchedcertguard_x509_cert_guard
|
|
92
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
93
97
|
# @return [CertguardX509CertGuardResponse]
|
|
94
98
|
describe 'partial_update test' do
|
|
95
99
|
it 'should work' do
|
|
@@ -102,6 +106,7 @@ describe 'ContentguardsX509Api' do
|
|
|
102
106
|
# X509CertGuard API Viewsets.
|
|
103
107
|
# @param certguard_x509_cert_guard_href
|
|
104
108
|
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
105
110
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
106
111
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
107
112
|
# @return [CertguardX509CertGuardResponse]
|
|
@@ -117,6 +122,7 @@ describe 'ContentguardsX509Api' do
|
|
|
117
122
|
# @param certguard_x509_cert_guard_href
|
|
118
123
|
# @param certguard_x509_cert_guard
|
|
119
124
|
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
120
126
|
# @return [CertguardX509CertGuardResponse]
|
|
121
127
|
describe 'update test' do
|
|
122
128
|
it 'should work' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_certguard_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.49.
|
|
4
|
+
version: 3.49.54
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|