Skip to content

Commit 2717d97

Browse files
feat(cloudsearch): update the api
#### cloudsearch:v1 The following keys were deleted: - schemas.CallSettings.properties.projectDinoEnabled.type (Total Keys: 1) The following keys were added: - resources.settings.resources.datasources.methods.patch.parameters.updateMask (Total Keys: 3) - resources.settings.resources.searchapplications.methods.patch.parameters.updateMask (Total Keys: 3) - resources.settings.resources.searchapplications.methods.update.parameters.updateMask (Total Keys: 3) - schemas.QuotedMessageMetadata.properties.createTimeMicros (Total Keys: 3) - schemas.QuotedMessageMetadata.properties.lastEditTimeMicros (Total Keys: 3) - schemas.QuotedMessageMetadata.properties.updaterId (Total Keys: 2) - schemas.UpdateDataSourceRequest.properties.updateMask (Total Keys: 2)
1 parent 555317b commit 2717d97

File tree

3 files changed

+55
-15
lines changed

3 files changed

+55
-15
lines changed

docs/dyn/cloudsearch_v1.settings.datasources.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
96-
<code><a href="#patch">patch(name, body=None, debugOptions_enableDebugging=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#patch">patch(name, body=None, debugOptions_enableDebugging=None, updateMask=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Updates a datasource. **Note:** This API requires an admin account to execute.</p>
9898
<p class="toc_element">
9999
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
@@ -296,7 +296,7 @@ <h3>Method Details</h3>
296296
</div>
297297

298298
<div class="method">
299-
<code class="details" id="patch">patch(name, body=None, debugOptions_enableDebugging=None, x__xgafv=None)</code>
299+
<code class="details" id="patch">patch(name, body=None, debugOptions_enableDebugging=None, updateMask=None, x__xgafv=None)</code>
300300
<pre>Updates a datasource. **Note:** This API requires an admin account to execute.
301301

302302
Args:
@@ -327,6 +327,7 @@ <h3>Method Details</h3>
327327
}
328328

329329
debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
330+
updateMask: string, Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don&#x27;t specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: name, display_name
330331
x__xgafv: string, V1 error format.
331332
Allowed values
332333
1 - v1 error format
@@ -390,6 +391,7 @@ <h3>Method Details</h3>
390391
&quot;returnThumbnailUrls&quot;: True or False, # Can a user request to get thumbnail URI for Items indexed in this data source.
391392
&quot;shortName&quot;: &quot;A String&quot;, # A short name or alias for the source. This value will be used to match the &#x27;source&#x27; operator. For example, if the short name is *&lt;value&gt;* then queries like *source:&lt;value&gt;* will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with &#x27;google&#x27; and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.
392393
},
394+
&quot;updateMask&quot;: &quot;A String&quot;, # Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don&#x27;t specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: name, display_name
393395
}
394396

395397
x__xgafv: string, V1 error format.

docs/dyn/cloudsearch_v1.settings.searchapplications.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ <h2>Instance Methods</h2>
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
96-
<code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Updates a search application. **Note:** This API requires an admin account to execute.</p>
9898
<p class="toc_element">
9999
<code><a href="#reset">reset(name, body=None, x__xgafv=None)</a></code></p>
100100
<p class="firstline">Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute.</p>
101101
<p class="toc_element">
102-
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
102+
<code><a href="#update">update(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
103103
<p class="firstline">Updates a search application. **Note:** This API requires an admin account to execute.</p>
104104
<h3>Method Details</h3>
105105
<div class="method">
@@ -476,7 +476,7 @@ <h3>Method Details</h3>
476476
</div>
477477

478478
<div class="method">
479-
<code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code>
479+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
480480
<pre>Updates a search application. **Note:** This API requires an admin account to execute.
481481

482482
Args:
@@ -565,6 +565,7 @@ <h3>Method Details</h3>
565565
],
566566
}
567567

568+
updateMask: string, Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don&#x27;t specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: search_application.name, search_application.display_name
568569
x__xgafv: string, V1 error format.
569570
Allowed values
570571
1 - v1 error format
@@ -639,7 +640,7 @@ <h3>Method Details</h3>
639640
</div>
640641

641642
<div class="method">
642-
<code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
643+
<code class="details" id="update">update(name, body=None, updateMask=None, x__xgafv=None)</code>
643644
<pre>Updates a search application. **Note:** This API requires an admin account to execute.
644645

645646
Args:
@@ -728,6 +729,7 @@ <h3>Method Details</h3>
728729
],
729730
}
730731

732+
updateMask: string, Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don&#x27;t specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: search_application.name, search_application.display_name
731733
x__xgafv: string, V1 error format.
732734
Allowed values
733735
1 - v1 error format

googleapiclient/discovery_cache/documents/cloudsearch.v1.json

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,12 @@
12131213
"pattern": "^datasources/[^/]+$",
12141214
"required": true,
12151215
"type": "string"
1216+
},
1217+
"updateMask": {
1218+
"description": "Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don't specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: name, display_name",
1219+
"format": "google-fieldmask",
1220+
"location": "query",
1221+
"type": "string"
12161222
}
12171223
},
12181224
"path": "v1/settings/{+name}",
@@ -1395,6 +1401,12 @@
13951401
"pattern": "^searchapplications/[^/]+$",
13961402
"required": true,
13971403
"type": "string"
1404+
},
1405+
"updateMask": {
1406+
"description": "Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: search_application.name, search_application.display_name",
1407+
"format": "google-fieldmask",
1408+
"location": "query",
1409+
"type": "string"
13981410
}
13991411
},
14001412
"path": "v1/settings/{+name}",
@@ -1455,6 +1467,12 @@
14551467
"pattern": "^searchapplications/[^/]+$",
14561468
"required": true,
14571469
"type": "string"
1470+
},
1471+
"updateMask": {
1472+
"description": "Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: search_application.name, search_application.display_name",
1473+
"format": "google-fieldmask",
1474+
"location": "query",
1475+
"type": "string"
14581476
}
14591477
},
14601478
"path": "v1/settings/{+name}",
@@ -2059,7 +2077,7 @@
20592077
}
20602078
}
20612079
},
2062-
"revision": "20220920",
2080+
"revision": "20220927",
20632081
"rootUrl": "https://cloudsearch.googleapis.com/",
20642082
"schemas": {
20652083
"AbuseReportingConfig": {
@@ -5606,10 +5624,6 @@
56065624
"description": "Indicates whether the present lock is currently on or off.",
56075625
"type": "boolean"
56085626
},
5609-
"projectDinoEnabled": {
5610-
"description": "Indicates whether project Dino is currently on or off. WARNING: This is currently an experimental field. It should not be used without getting an explicit review and approval from the Meet team.",
5611-
"type": "boolean"
5612-
},
56135627
"reactionsLock": {
56145628
"description": "Indicates whether the reactions lock is currently on or off.",
56155629
"type": "boolean"
@@ -11439,7 +11453,7 @@
1143911453
],
1144011454
"enumDescriptions": [
1144111455
"Unspecified state for QuotedByState.",
11442-
"State to indicate that this message is quoted by another message (excluding soft-deleted message and purged ones).",
11456+
"State to indicate that this message is quoted by another message (excluding purged message).",
1144311457
"State to indicate that this message are not quoted by another message."
1144411458
],
1144511459
"readOnly": true,
@@ -12926,11 +12940,23 @@
1292612940
"readOnly": true,
1292712941
"type": "string"
1292812942
},
12943+
"createTimeMicros": {
12944+
"description": "Output only. Time when the quoted message was posted in microseconds.",
12945+
"format": "int64",
12946+
"readOnly": true,
12947+
"type": "string"
12948+
},
1292912949
"creatorId": {
1293012950
"$ref": "UserId",
1293112951
"description": "Output only. ID of the User who posted the quoted message. This includes information to identify if the quoted message was posted by an App on behalf of a user.",
1293212952
"readOnly": true
1293312953
},
12954+
"lastEditTimeMicros": {
12955+
"description": "Output only. Time when the quoted message was last edited by a user at the time when quoting action happens. Time is in microseconds.",
12956+
"format": "int64",
12957+
"readOnly": true,
12958+
"type": "string"
12959+
},
1293412960
"lastUpdateTimeWhenQuotedMicros": {
1293512961
"description": "The `last_update_time` of the original message when the client initiated the quote creation. This is derived from the request payload passed from clients. Used to fetch the quoted message contents at a specific time on the read path. This field is populated from storage directly.",
1293612962
"format": "int64",
@@ -12967,8 +12993,13 @@
1296712993
"readOnly": true,
1296812994
"type": "string"
1296912995
},
12996+
"updaterId": {
12997+
"$ref": "UserId",
12998+
"description": "Output only. ID of the User who last updated (created/edited/deleted) the quoted message at the time when quoting action happens. This includes information to identify if the quoted message was posted by an App on behalf of a user.",
12999+
"readOnly": true
13000+
},
1297013001
"uploadMetadata": {
12971-
"description": "Output only. Upload metadata of the quoted message. NEXT TAG: 11",
13002+
"description": "Output only. Upload metadata of the quoted message.",
1297213003
"items": {
1297313004
"$ref": "UploadMetadata"
1297413005
},
@@ -15206,6 +15237,11 @@
1520615237
},
1520715238
"source": {
1520815239
"$ref": "DataSource"
15240+
},
15241+
"updateMask": {
15242+
"description": "Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask, but don't specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example field paths: name, display_name",
15243+
"format": "google-fieldmask",
15244+
"type": "string"
1520915245
}
1521015246
},
1521115247
"type": "object"
@@ -15555,7 +15591,7 @@
1555515591
"id": "UserInfo",
1555615592
"properties": {
1555715593
"driveNotificationAvatarUrl": {
15558-
"description": "Avatar url of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This should only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items. This is not the actual sender of the email, as the sender is always [email protected].",
15594+
"description": "Avatar url of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This should only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items.",
1555915595
"type": "string"
1556015596
},
1556115597
"updaterCountDisplayType": {
@@ -15589,7 +15625,7 @@
1558915625
"type": "string"
1559015626
},
1559115627
"updaterToShowName": {
15592-
"description": "The display name of the updater for clients to show used for Gmail items. For non-Drive Notification items, this field will always be populated. If the display name cannot be found for the user, the fallback string will be the email address. For Drive Notification items, this is the email of the user who triggered the Drive notification email. This field will be populated if we can extract such information from the Drive Notification email. This is not the actual sender of the email, as the sender is always [email protected].",
15628+
"description": "The display name of the updater for clients to show used for Gmail items. For non-Drive Notification items, this field will always be populated. If the display name cannot be found for the user, the fallback string will be the email address. For Drive Notification items, this is the name of the user who triggered the Drive notification email. This field will be populated if we can extract such information from the Drive Notification email. If the name cannot be extracted, then the email will be the fallback string, which is used as the display name text in the UI when needed. This is not the actual sender of the email, as the sender is always [email protected].",
1559315629
"type": "string"
1559415630
},
1559515631
"updaterToShowUserId": {

0 commit comments

Comments
 (0)