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
Copy file name to clipboardExpand all lines: clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Blob.java
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,9 @@ public final class GoogleCloudAiplatformV1Blob extends com.google.api.client.jso
38
38
39
39
/**
40
40
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
41
-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
42
-
* the Gemini GenerateContent calls.
41
+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
42
+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
43
+
* url_context) are enabled.
43
44
* The value may be {@code null}.
44
45
*/
45
46
@com.google.api.client.util.Key
@@ -99,8 +100,9 @@ public GoogleCloudAiplatformV1Blob encodeData(byte[] data) {
99
100
100
101
/**
101
102
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
102
-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
103
-
* the Gemini GenerateContent calls.
103
+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
104
+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
105
+
* url_context) are enabled.
104
106
* @return value or {@code null} for none
105
107
*/
106
108
publicjava.lang.StringgetDisplayName() {
@@ -109,8 +111,9 @@ public java.lang.String getDisplayName() {
109
111
110
112
/**
111
113
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
112
-
* This field is only returned in PromptMessage for prompt management. It is not currently used in
113
-
* the Gemini GenerateContent calls.
114
+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
115
+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
116
+
* url_context) are enabled.
114
117
* @param displayName displayName 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/GoogleCloudAiplatformV1FileData.java
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,9 @@ public final class GoogleCloudAiplatformV1FileData extends com.google.api.client
31
31
32
32
/**
33
33
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
34
-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
35
-
* currently used in the Gemini GenerateContent calls.
34
+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
35
+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
36
+
* google_search, and url_context) are enabled.
36
37
* The value may be {@code null}.
37
38
*/
38
39
@com.google.api.client.util.Key
@@ -54,8 +55,9 @@ public final class GoogleCloudAiplatformV1FileData extends com.google.api.client
54
55
55
56
/**
56
57
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
57
-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
58
-
* currently used in the Gemini GenerateContent calls.
58
+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
59
+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
60
+
* google_search, and url_context) are enabled.
59
61
* @return value or {@code null} for none
60
62
*/
61
63
publicjava.lang.StringgetDisplayName() {
@@ -64,8 +66,9 @@ public java.lang.String getDisplayName() {
64
66
65
67
/**
66
68
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
67
-
* file datas. This field is only returned in PromptMessage for prompt management. It is not
68
-
* currently used in the Gemini GenerateContent calls.
69
+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
70
+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
71
+
* google_search, and url_context) are enabled.
69
72
* @param displayName displayName or {@code null} for none
0 commit comments