Skip to content

Commit

Permalink
feat(cloudsearch): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Oct 11, 2022
1 parent 555317b commit 2717d97
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 15 deletions.
6 changes: 4 additions & 2 deletions docs/dyn/cloudsearch_v1.settings.datasources.html
Expand Up @@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, debugOptions_enableDebugging=None, x__xgafv=None)</a></code></p>
<code><a href="#patch">patch(name, body=None, debugOptions_enableDebugging=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a datasource. **Note:** This API requires an admin account to execute.</p>
<p class="toc_element">
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
Expand Down Expand Up @@ -296,7 +296,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand Down Expand Up @@ -327,6 +327,7 @@ <h3>Method Details</h3>
}

debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
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
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down Expand Up @@ -390,6 +391,7 @@ <h3>Method Details</h3>
&quot;returnThumbnailUrls&quot;: True or False, # Can a user request to get thumbnail URI for Items indexed in this data source.
&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.
},
&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
}

x__xgafv: string, V1 error format.
Expand Down
10 changes: 6 additions & 4 deletions docs/dyn/cloudsearch_v1.settings.searchapplications.html
Expand Up @@ -93,13 +93,13 @@ <h2>Instance Methods</h2>
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a search application. **Note:** This API requires an admin account to execute.</p>
<p class="toc_element">
<code><a href="#reset">reset(name, body=None, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
<code><a href="#update">update(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a search application. **Note:** This API requires an admin account to execute.</p>
<h3>Method Details</h3>
<div class="method">
Expand Down Expand Up @@ -476,7 +476,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand Down Expand Up @@ -565,6 +565,7 @@ <h3>Method Details</h3>
],
}

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
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down Expand Up @@ -639,7 +640,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand Down Expand Up @@ -728,6 +729,7 @@ <h3>Method Details</h3>
],
}

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
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
54 changes: 45 additions & 9 deletions googleapiclient/discovery_cache/documents/cloudsearch.v1.json
Expand Up @@ -1213,6 +1213,12 @@
"pattern": "^datasources/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"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",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/settings/{+name}",
Expand Down Expand Up @@ -1395,6 +1401,12 @@
"pattern": "^searchapplications/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"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",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/settings/{+name}",
Expand Down Expand Up @@ -1455,6 +1467,12 @@
"pattern": "^searchapplications/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"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",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/settings/{+name}",
Expand Down Expand Up @@ -2059,7 +2077,7 @@
}
}
},
"revision": "20220920",
"revision": "20220927",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AbuseReportingConfig": {
Expand Down Expand Up @@ -5606,10 +5624,6 @@
"description": "Indicates whether the present lock is currently on or off.",
"type": "boolean"
},
"projectDinoEnabled": {
"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.",
"type": "boolean"
},
"reactionsLock": {
"description": "Indicates whether the reactions lock is currently on or off.",
"type": "boolean"
Expand Down Expand Up @@ -11439,7 +11453,7 @@
],
"enumDescriptions": [
"Unspecified state for QuotedByState.",
"State to indicate that this message is quoted by another message (excluding soft-deleted message and purged ones).",
"State to indicate that this message is quoted by another message (excluding purged message).",
"State to indicate that this message are not quoted by another message."
],
"readOnly": true,
Expand Down Expand Up @@ -12926,11 +12940,23 @@
"readOnly": true,
"type": "string"
},
"createTimeMicros": {
"description": "Output only. Time when the quoted message was posted in microseconds.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"creatorId": {
"$ref": "UserId",
"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.",
"readOnly": true
},
"lastEditTimeMicros": {
"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.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"lastUpdateTimeWhenQuotedMicros": {
"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.",
"format": "int64",
Expand Down Expand Up @@ -12967,8 +12993,13 @@
"readOnly": true,
"type": "string"
},
"updaterId": {
"$ref": "UserId",
"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.",
"readOnly": true
},
"uploadMetadata": {
"description": "Output only. Upload metadata of the quoted message. NEXT TAG: 11",
"description": "Output only. Upload metadata of the quoted message.",
"items": {
"$ref": "UploadMetadata"
},
Expand Down Expand Up @@ -15206,6 +15237,11 @@
},
"source": {
"$ref": "DataSource"
},
"updateMask": {
"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",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -15555,7 +15591,7 @@
"id": "UserInfo",
"properties": {
"driveNotificationAvatarUrl": {
"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 comments-noreply@docs.google.com.",
"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.",
"type": "string"
},
"updaterCountDisplayType": {
Expand Down Expand Up @@ -15589,7 +15625,7 @@
"type": "string"
},
"updaterToShowName": {
"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 comments-noreply@docs.google.com.",
"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 comments-noreply@docs.google.com.",
"type": "string"
},
"updaterToShowUserId": {
Expand Down

0 comments on commit 2717d97

Please sign in to comment.