You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V1TokenReview body =newV1TokenReview(); // V1TokenReview |
42
42
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
43
43
String fieldManager ="fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
44
+
String fieldValidation ="fieldValidation_example"; // String | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
44
45
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
45
46
try {
46
-
V1TokenReview result = apiInstance.createTokenReview(body, dryRun, fieldManager, pretty);
47
+
V1TokenReview result = apiInstance.createTokenReview(body, dryRun, fieldManager, fieldValidation, pretty);
47
48
System.out.println(result);
48
49
} catch (ApiException e) {
49
50
System.err.println("Exception when calling AuthenticationV1Api#createTokenReview");
@@ -63,6 +64,7 @@ Name | Type | Description | Notes
**dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
65
66
**fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional]
67
+
**fieldValidation** | **String**| fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional]
66
68
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
V1LocalSubjectAccessReview body =newV1LocalSubjectAccessReview(); // V1LocalSubjectAccessReview |
46
46
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
47
47
String fieldManager ="fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
48
+
String fieldValidation ="fieldValidation_example"; // String | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
48
49
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
49
50
try {
50
-
V1LocalSubjectAccessReview result = apiInstance.createNamespacedLocalSubjectAccessReview(namespace, body, dryRun, fieldManager, pretty);
51
+
V1LocalSubjectAccessReview result = apiInstance.createNamespacedLocalSubjectAccessReview(namespace, body, dryRun, fieldManager, fieldValidation, pretty);
51
52
System.out.println(result);
52
53
} catch (ApiException e) {
53
54
System.err.println("Exception when calling AuthorizationV1Api#createNamespacedLocalSubjectAccessReview");
@@ -68,6 +69,7 @@ Name | Type | Description | Notes
**dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
70
71
**fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional]
72
+
**fieldValidation** | **String**| fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional]
71
73
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
72
74
73
75
### Return type
@@ -93,7 +95,7 @@ Name | Type | Description | Notes
V1SelfSubjectAccessReview body =newV1SelfSubjectAccessReview(); // V1SelfSubjectAccessReview |
125
127
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
126
128
String fieldManager ="fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
129
+
String fieldValidation ="fieldValidation_example"; // String | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
127
130
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
128
131
try {
129
-
V1SelfSubjectAccessReview result = apiInstance.createSelfSubjectAccessReview(body, dryRun, fieldManager, pretty);
132
+
V1SelfSubjectAccessReview result = apiInstance.createSelfSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty);
130
133
System.out.println(result);
131
134
} catch (ApiException e) {
132
135
System.err.println("Exception when calling AuthorizationV1Api#createSelfSubjectAccessReview");
@@ -146,6 +149,7 @@ Name | Type | Description | Notes
**dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
148
151
**fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional]
152
+
**fieldValidation** | **String**| fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional]
149
153
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
150
154
151
155
### Return type
@@ -171,7 +175,7 @@ Name | Type | Description | Notes
V1SelfSubjectRulesReview body =newV1SelfSubjectRulesReview(); // V1SelfSubjectRulesReview |
203
207
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
204
208
String fieldManager ="fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
209
+
String fieldValidation ="fieldValidation_example"; // String | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
205
210
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
206
211
try {
207
-
V1SelfSubjectRulesReview result = apiInstance.createSelfSubjectRulesReview(body, dryRun, fieldManager, pretty);
212
+
V1SelfSubjectRulesReview result = apiInstance.createSelfSubjectRulesReview(body, dryRun, fieldManager, fieldValidation, pretty);
208
213
System.out.println(result);
209
214
} catch (ApiException e) {
210
215
System.err.println("Exception when calling AuthorizationV1Api#createSelfSubjectRulesReview");
@@ -224,6 +229,7 @@ Name | Type | Description | Notes
**dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
226
231
**fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional]
232
+
**fieldValidation** | **String**| fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional]
227
233
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
228
234
229
235
### Return type
@@ -249,7 +255,7 @@ Name | Type | Description | Notes
V1SubjectAccessReview body =newV1SubjectAccessReview(); // V1SubjectAccessReview |
281
287
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
282
288
String fieldManager ="fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
289
+
String fieldValidation ="fieldValidation_example"; // String | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
283
290
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
284
291
try {
285
-
V1SubjectAccessReview result = apiInstance.createSubjectAccessReview(body, dryRun, fieldManager, pretty);
292
+
V1SubjectAccessReview result = apiInstance.createSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty);
286
293
System.out.println(result);
287
294
} catch (ApiException e) {
288
295
System.err.println("Exception when calling AuthorizationV1Api#createSubjectAccessReview");
@@ -302,6 +309,7 @@ Name | Type | Description | Notes
**dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional]
304
311
**fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional]
312
+
**fieldValidation** | **String**| fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional]
305
313
**pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
0 commit comments