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
{{ message }}
Repository navigation
Commit 1cd7e2a
Browse filesBrowse the repository at this point in the historyBrowse files
* Sets the default NotebookRuntimeTemplate for a Location.
112324
+
*
112325
+
* Create a request for the method "notebookRuntimeTemplates.setDefault".
112326
+
*
112327
+
* This request holds the parameters needed by the aiplatform server. After setting any optional
112328
+
* parameters, call the {@link SetDefault#execute()} method to invoke the remote operation.
112329
+
*
112330
+
* @param parent Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
112331
+
* `projects/{project}/locations/{location}`
112332
+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest}
112333
+
* @return the request
112334
+
*/
112335
+
public SetDefault setDefault(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest content) throws java.io.IOException {
112336
+
SetDefault result = new SetDefault(parent, content);
112337
+
initialize(result);
112338
+
return result;
112339
+
}
112340
+
112341
+
public class SetDefault extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateResponse> {
112342
+
112343
+
private static final String REST_PATH = "v1/{+parent}/notebookRuntimeTemplates:setDefault";
112344
+
112345
+
private final java.util.regex.Pattern PARENT_PATTERN =
Copy file name to clipboardExpand all lines: clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GenaiVertexV1Function.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,9 @@ public final class GenaiVertexV1Function extends com.google.api.client.json.Gene
44
44
privatejava.lang.Stringname;
45
45
46
46
/**
47
-
* The JSON Schema for the function's parameters.
47
+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
48
+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
49
+
* `maxContains` are ignored and not enforced.
48
50
* The value may be {@code null}.
49
51
*/
50
52
@com.google.api.client.util.Key
@@ -85,15 +87,19 @@ public GenaiVertexV1Function setName(java.lang.String name) {
85
87
}
86
88
87
89
/**
88
-
* The JSON Schema for the function's parameters.
90
+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
91
+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
92
+
* `maxContains` are ignored and not enforced.
89
93
* @return value or {@code null} for none
90
94
*/
91
95
publicGenaiVertexV1ValuegetParameters() {
92
96
returnparameters;
93
97
}
94
98
95
99
/**
96
-
* The JSON Schema for the function's parameters.
100
+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
101
+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
102
+
* `maxContains` are ignored and not enforced.
97
103
* @param parameters parameters or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GenaiVertexV1InteractionUsage.java
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,13 @@ public final class GenaiVertexV1InteractionUsage extends com.google.api.client.j
Copy file name to clipboardExpand all lines: clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GenaiVertexV1TextResponseFormat.java
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,11 @@ public final class GenaiVertexV1TextResponseFormat extends com.google.api.client
38
38
39
39
/**
40
40
* The JSON schema that the output should conform to. Only applicable when mime_type is
41
-
* application/json.
41
+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
42
+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
43
+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
44
+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
45
+
* a 400 INVALID_ARGUMENT error.
42
46
* The value may be {@code null}.
43
47
*/
44
48
@com.google.api.client.util.Key
@@ -63,7 +67,11 @@ public GenaiVertexV1TextResponseFormat setMimeType(java.lang.String mimeType) {
63
67
64
68
/**
65
69
* The JSON schema that the output should conform to. Only applicable when mime_type is
66
-
* application/json.
70
+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
71
+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
72
+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
73
+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
74
+
* a 400 INVALID_ARGUMENT error.
67
75
* @return value or {@code null} for none
68
76
*/
69
77
publicGenaiVertexV1StructgetSchema() {
@@ -72,7 +80,11 @@ public GenaiVertexV1Struct getSchema() {
72
80
73
81
/**
74
82
* The JSON schema that the output should conform to. Only applicable when mime_type is
75
-
* application/json.
83
+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
84
+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
85
+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
86
+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
0 commit comments