Skip to content

Commit a2b6dcc

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudNotebooklmV1alphaUploadSourceFileRequest.properties.projectId.type (Total Keys: 1) - schemas.GoogleCloudNotebooklmV1alphaUploadSourceFileRequest.properties.sourceId.type (Total Keys: 1)
1 parent 989125c commit a2b6dcc

File tree

4 files changed

+77
-35
lines changed

4 files changed

+77
-35
lines changed

docs/dyn/discoveryengine_v1alpha.media.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ <h3>Method Details</h3>
332332
&quot;totalBytes&quot;: &quot;A String&quot;, # The total size of the file.
333333
&quot;totalBytesIsEstimated&quot;: True or False, # Whether the total bytes field contains an estimated data.
334334
},
335+
&quot;projectId&quot;: &quot;A String&quot;, # The project (notebook) id of the uploaded source. Prefer to use the parent field instead.
336+
&quot;sourceId&quot;: &quot;A String&quot;, # The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created.
335337
}
336338

337339
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.

googleapiclient/discovery_cache/documents/discoveryengine.v1.json

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6973,7 +6973,7 @@
69736973
}
69746974
}
69756975
},
6976-
"revision": "20250419",
6976+
"revision": "20250425",
69776977
"rootUrl": "https://discoveryengine.googleapis.com/",
69786978
"schemas": {
69796979
"GoogleApiDistribution": {
@@ -7452,7 +7452,8 @@
74527452
"JAIL_BREAKING_QUERY_IGNORED",
74537453
"CUSTOMER_POLICY_VIOLATION",
74547454
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
7455-
"LOW_GROUNDED_ANSWER"
7455+
"LOW_GROUNDED_ANSWER",
7456+
"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"
74567457
],
74577458
"enumDescriptions": [
74587459
"Default value. The answer skipped reason is not specified.",
@@ -7464,7 +7465,8 @@
74647465
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
74657466
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
74667467
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
7467-
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated."
7468+
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
7469+
"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification."
74687470
],
74697471
"type": "string"
74707472
},
@@ -7911,14 +7913,16 @@
79117913
"ADVERSARIAL_QUERY",
79127914
"NON_ANSWER_SEEKING_QUERY",
79137915
"JAIL_BREAKING_QUERY",
7914-
"NON_ANSWER_SEEKING_QUERY_V2"
7916+
"NON_ANSWER_SEEKING_QUERY_V2",
7917+
"USER_DEFINED_CLASSIFICATION_QUERY"
79157918
],
79167919
"enumDescriptions": [
79177920
"Unspecified query classification type.",
79187921
"Adversarial query classification type.",
79197922
"Non-answer-seeking query classification type, for chit chat.",
79207923
"Jail-breaking query classification type.",
7921-
"Non-answer-seeking query classification type, for no clear intent."
7924+
"Non-answer-seeking query classification type, for no clear intent.",
7925+
"User defined query classification type."
79227926
],
79237927
"type": "string"
79247928
},
@@ -8301,14 +8305,16 @@
83018305
"ADVERSARIAL_QUERY",
83028306
"NON_ANSWER_SEEKING_QUERY",
83038307
"JAIL_BREAKING_QUERY",
8304-
"NON_ANSWER_SEEKING_QUERY_V2"
8308+
"NON_ANSWER_SEEKING_QUERY_V2",
8309+
"USER_DEFINED_CLASSIFICATION_QUERY"
83058310
],
83068311
"enumDescriptions": [
83078312
"Unspecified query classification type.",
83088313
"Adversarial query classification type.",
83098314
"Non-answer-seeking query classification type, for chit chat.",
83108315
"Jail-breaking query classification type.",
8311-
"Non-answer-seeking query classification type, for no clear intent."
8316+
"Non-answer-seeking query classification type, for no clear intent.",
8317+
"User defined query classification type."
83128318
],
83138319
"type": "string"
83148320
}
@@ -14629,7 +14635,8 @@
1462914635
"JAIL_BREAKING_QUERY_IGNORED",
1463014636
"CUSTOMER_POLICY_VIOLATION",
1463114637
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
14632-
"LOW_GROUNDED_ANSWER"
14638+
"LOW_GROUNDED_ANSWER",
14639+
"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"
1463314640
],
1463414641
"enumDescriptions": [
1463514642
"Default value. The answer skipped reason is not specified.",
@@ -14641,7 +14648,8 @@
1464114648
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
1464214649
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
1464314650
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
14644-
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated."
14651+
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
14652+
"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification."
1464514653
],
1464614654
"type": "string"
1464714655
},
@@ -14888,14 +14896,16 @@
1488814896
"ADVERSARIAL_QUERY",
1488914897
"NON_ANSWER_SEEKING_QUERY",
1489014898
"JAIL_BREAKING_QUERY",
14891-
"NON_ANSWER_SEEKING_QUERY_V2"
14899+
"NON_ANSWER_SEEKING_QUERY_V2",
14900+
"USER_DEFINED_CLASSIFICATION_QUERY"
1489214901
],
1489314902
"enumDescriptions": [
1489414903
"Unspecified query classification type.",
1489514904
"Adversarial query classification type.",
1489614905
"Non-answer-seeking query classification type, for chit chat.",
1489714906
"Jail-breaking query classification type.",
14898-
"Non-answer-seeking query classification type, for no clear intent."
14907+
"Non-answer-seeking query classification type, for no clear intent.",
14908+
"User defined query classification type."
1489914909
],
1490014910
"type": "string"
1490114911
}
@@ -16085,7 +16095,8 @@
1608516095
"GOOGLE_CALENDAR",
1608616096
"GOOGLE_DRIVE",
1608716097
"NATIVE_CLOUD_IDENTITY",
16088-
"THIRD_PARTY_FEDERATED"
16098+
"THIRD_PARTY_FEDERATED",
16099+
"THIRD_PARTY_EUA"
1608916100
],
1609016101
"enumDescriptions": [
1609116102
"Default value.",
@@ -16097,7 +16108,8 @@
1609716108
"Google Calendar connector.",
1609816109
"Google Drive connector.",
1609916110
"Native Cloud Identity connector for people search powered by People API.",
16100-
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API."
16111+
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.",
16112+
"Connector utilized for End User Authentication features."
1610116113
],
1610216114
"readOnly": true,
1610316115
"type": "string"

googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9051,7 +9051,7 @@
90519051
}
90529052
}
90539053
},
9054-
"revision": "20250419",
9054+
"revision": "20250425",
90559055
"rootUrl": "https://discoveryengine.googleapis.com/",
90569056
"schemas": {
90579057
"ApiservingMediaRequestInfo": {
@@ -13001,7 +13001,8 @@
1300113001
"JAIL_BREAKING_QUERY_IGNORED",
1300213002
"CUSTOMER_POLICY_VIOLATION",
1300313003
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
13004-
"LOW_GROUNDED_ANSWER"
13004+
"LOW_GROUNDED_ANSWER",
13005+
"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"
1300513006
],
1300613007
"enumDescriptions": [
1300713008
"Default value. The answer skipped reason is not specified.",
@@ -13013,7 +13014,8 @@
1301313014
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
1301413015
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
1301513016
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
13016-
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated."
13017+
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
13018+
"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification."
1301713019
],
1301813020
"type": "string"
1301913021
},
@@ -13539,14 +13541,16 @@
1353913541
"ADVERSARIAL_QUERY",
1354013542
"NON_ANSWER_SEEKING_QUERY",
1354113543
"JAIL_BREAKING_QUERY",
13542-
"NON_ANSWER_SEEKING_QUERY_V2"
13544+
"NON_ANSWER_SEEKING_QUERY_V2",
13545+
"USER_DEFINED_CLASSIFICATION_QUERY"
1354313546
],
1354413547
"enumDescriptions": [
1354513548
"Unspecified query classification type.",
1354613549
"Adversarial query classification type.",
1354713550
"Non-answer-seeking query classification type, for chit chat.",
1354813551
"Jail-breaking query classification type.",
13549-
"Non-answer-seeking query classification type, for no clear intent."
13552+
"Non-answer-seeking query classification type, for no clear intent.",
13553+
"User defined query classification type."
1355013554
],
1355113555
"type": "string"
1355213556
},
@@ -13937,14 +13941,16 @@
1393713941
"ADVERSARIAL_QUERY",
1393813942
"NON_ANSWER_SEEKING_QUERY",
1393913943
"JAIL_BREAKING_QUERY",
13940-
"NON_ANSWER_SEEKING_QUERY_V2"
13944+
"NON_ANSWER_SEEKING_QUERY_V2",
13945+
"USER_DEFINED_CLASSIFICATION_QUERY"
1394113946
],
1394213947
"enumDescriptions": [
1394313948
"Unspecified query classification type.",
1394413949
"Adversarial query classification type.",
1394513950
"Non-answer-seeking query classification type, for chit chat.",
1394613951
"Jail-breaking query classification type.",
13947-
"Non-answer-seeking query classification type, for no clear intent."
13952+
"Non-answer-seeking query classification type, for no clear intent.",
13953+
"User defined query classification type."
1394813954
],
1394913955
"type": "string"
1395013956
}
@@ -16115,7 +16121,8 @@
1611516121
"GOOGLE_CALENDAR",
1611616122
"GOOGLE_DRIVE",
1611716123
"NATIVE_CLOUD_IDENTITY",
16118-
"THIRD_PARTY_FEDERATED"
16124+
"THIRD_PARTY_FEDERATED",
16125+
"THIRD_PARTY_EUA"
1611916126
],
1612016127
"enumDescriptions": [
1612116128
"Default value.",
@@ -16127,7 +16134,8 @@
1612716134
"Google Calendar connector.",
1612816135
"Google Drive connector.",
1612916136
"Native Cloud Identity connector for people search powered by People API.",
16130-
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API."
16137+
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.",
16138+
"Connector utilized for End User Authentication features."
1613116139
],
1613216140
"readOnly": true,
1613316141
"type": "string"
@@ -27385,6 +27393,14 @@
2738527393
"mediaRequestInfo": {
2738627394
"$ref": "ApiservingMediaRequestInfo",
2738727395
"description": "Media upload request metadata."
27396+
},
27397+
"projectId": {
27398+
"description": "The project (notebook) id of the uploaded source. Prefer to use the parent field instead.",
27399+
"type": "string"
27400+
},
27401+
"sourceId": {
27402+
"description": "The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created.",
27403+
"type": "string"
2738827404
}
2738927405
},
2739027406
"type": "object"

googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7925,7 +7925,7 @@
79257925
}
79267926
}
79277927
},
7928-
"revision": "20250419",
7928+
"revision": "20250425",
79297929
"rootUrl": "https://discoveryengine.googleapis.com/",
79307930
"schemas": {
79317931
"GoogleApiDistribution": {
@@ -10940,7 +10940,8 @@
1094010940
"JAIL_BREAKING_QUERY_IGNORED",
1094110941
"CUSTOMER_POLICY_VIOLATION",
1094210942
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
10943-
"LOW_GROUNDED_ANSWER"
10943+
"LOW_GROUNDED_ANSWER",
10944+
"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"
1094410945
],
1094510946
"enumDescriptions": [
1094610947
"Default value. The answer skipped reason is not specified.",
@@ -10952,7 +10953,8 @@
1095210953
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
1095310954
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
1095410955
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
10955-
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated."
10956+
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
10957+
"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification."
1095610958
],
1095710959
"type": "string"
1095810960
},
@@ -11199,14 +11201,16 @@
1119911201
"ADVERSARIAL_QUERY",
1120011202
"NON_ANSWER_SEEKING_QUERY",
1120111203
"JAIL_BREAKING_QUERY",
11202-
"NON_ANSWER_SEEKING_QUERY_V2"
11204+
"NON_ANSWER_SEEKING_QUERY_V2",
11205+
"USER_DEFINED_CLASSIFICATION_QUERY"
1120311206
],
1120411207
"enumDescriptions": [
1120511208
"Unspecified query classification type.",
1120611209
"Adversarial query classification type.",
1120711210
"Non-answer-seeking query classification type, for chit chat.",
1120811211
"Jail-breaking query classification type.",
11209-
"Non-answer-seeking query classification type, for no clear intent."
11212+
"Non-answer-seeking query classification type, for no clear intent.",
11213+
"User defined query classification type."
1121011214
],
1121111215
"type": "string"
1121211216
}
@@ -12396,7 +12400,8 @@
1239612400
"GOOGLE_CALENDAR",
1239712401
"GOOGLE_DRIVE",
1239812402
"NATIVE_CLOUD_IDENTITY",
12399-
"THIRD_PARTY_FEDERATED"
12403+
"THIRD_PARTY_FEDERATED",
12404+
"THIRD_PARTY_EUA"
1240012405
],
1240112406
"enumDescriptions": [
1240212407
"Default value.",
@@ -12408,7 +12413,8 @@
1240812413
"Google Calendar connector.",
1240912414
"Google Drive connector.",
1241012415
"Native Cloud Identity connector for people search powered by People API.",
12411-
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API."
12416+
"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.",
12417+
"Connector utilized for End User Authentication features."
1241212418
],
1241312419
"readOnly": true,
1241412420
"type": "string"
@@ -16758,7 +16764,8 @@
1675816764
"JAIL_BREAKING_QUERY_IGNORED",
1675916765
"CUSTOMER_POLICY_VIOLATION",
1676016766
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
16761-
"LOW_GROUNDED_ANSWER"
16767+
"LOW_GROUNDED_ANSWER",
16768+
"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"
1676216769
],
1676316770
"enumDescriptions": [
1676416771
"Default value. The answer skipped reason is not specified.",
@@ -16770,7 +16777,8 @@
1677016777
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
1677116778
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
1677216779
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
16773-
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated."
16780+
"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
16781+
"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification."
1677416782
],
1677516783
"type": "string"
1677616784
},
@@ -17296,14 +17304,16 @@
1729617304
"ADVERSARIAL_QUERY",
1729717305
"NON_ANSWER_SEEKING_QUERY",
1729817306
"JAIL_BREAKING_QUERY",
17299-
"NON_ANSWER_SEEKING_QUERY_V2"
17307+
"NON_ANSWER_SEEKING_QUERY_V2",
17308+
"USER_DEFINED_CLASSIFICATION_QUERY"
1730017309
],
1730117310
"enumDescriptions": [
1730217311
"Unspecified query classification type.",
1730317312
"Adversarial query classification type.",
1730417313
"Non-answer-seeking query classification type, for chit chat.",
1730517314
"Jail-breaking query classification type.",
17306-
"Non-answer-seeking query classification type, for no clear intent."
17315+
"Non-answer-seeking query classification type, for no clear intent.",
17316+
"User defined query classification type."
1730717317
],
1730817318
"type": "string"
1730917319
},
@@ -17690,14 +17700,16 @@
1769017700
"ADVERSARIAL_QUERY",
1769117701
"NON_ANSWER_SEEKING_QUERY",
1769217702
"JAIL_BREAKING_QUERY",
17693-
"NON_ANSWER_SEEKING_QUERY_V2"
17703+
"NON_ANSWER_SEEKING_QUERY_V2",
17704+
"USER_DEFINED_CLASSIFICATION_QUERY"
1769417705
],
1769517706
"enumDescriptions": [
1769617707
"Unspecified query classification type.",
1769717708
"Adversarial query classification type.",
1769817709
"Non-answer-seeking query classification type, for chit chat.",
1769917710
"Jail-breaking query classification type.",
17700-
"Non-answer-seeking query classification type, for no clear intent."
17711+
"Non-answer-seeking query classification type, for no clear intent.",
17712+
"User defined query classification type."
1770117713
],
1770217714
"type": "string"
1770317715
}

0 commit comments

Comments
 (0)