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.BotInfo.properties.whitelistStatus.type (Total Keys: 1)

The following keys were added:
- schemas.BotInfo.properties.appAllowlistStatus.type (Total Keys: 1)
- schemas.BotInfo.properties.supportHomeScreen.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 4, 2022
1 parent 8358d45 commit fc29ead
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 25 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/cloudsearch_v1.indexing.datasources.html
Expand Up @@ -230,7 +230,7 @@ <h3>Method Details</h3>
&quot;isReturnable&quot;: True or False, # Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.
&quot;isSortable&quot;: True or False, # Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.
&quot;isSuggestable&quot;: True or False, # Indicates that the property can be used for generating query suggestions.
&quot;isWildcardSearchable&quot;: True or False, # Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable.
&quot;isWildcardSearchable&quot;: True or False, # Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.
&quot;objectPropertyOptions&quot;: { # The options for object properties.
&quot;subobjectProperties&quot;: [ # The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.
Expand Down Expand Up @@ -358,7 +358,7 @@ <h3>Method Details</h3>
&quot;isReturnable&quot;: True or False, # Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.
&quot;isSortable&quot;: True or False, # Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.
&quot;isSuggestable&quot;: True or False, # Indicates that the property can be used for generating query suggestions.
&quot;isWildcardSearchable&quot;: True or False, # Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable.
&quot;isWildcardSearchable&quot;: True or False, # Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.
&quot;objectPropertyOptions&quot;: { # The options for object properties.
&quot;subobjectProperties&quot;: [ # The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.
Expand Down
78 changes: 55 additions & 23 deletions googleapiclient/discovery_cache/documents/cloudsearch.v1.json
Expand Up @@ -2059,7 +2059,7 @@
}
}
},
"revision": "20220913",
"revision": "20220920",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AbuseReportingConfig": {
Expand Down Expand Up @@ -3530,6 +3530,9 @@
"SPAM",
"CONFIDENTIAL_INFORMATION",
"SENSITIVE_INFORMATION",
"FRAUD",
"MALWARE",
"ILLEGAL_ACTIVITIES",
"OTHER"
],
"enumDescriptions": [
Expand All @@ -3540,6 +3543,9 @@
"\"Spam\"",
"\"Confidential information\"",
"\"Sensitive information\"",
"Phishing, impersonation/misrepresentation, or deceiving other users into sharing information under false pretenses.",
"Malware, viruses, Trojan horses, corrupted files, destructive code, etc.",
"Promoting, organizing, or engaging in illegal activities.",
"\"Something else\""
],
"type": "string"
Expand Down Expand Up @@ -4804,9 +4810,13 @@
"UNKNOWN_STATUS",
"SUCCESS",
"ERROR",
"NOT_APPLICABLE"
"NOT_APPLICABLE",
"THUMBNAIL_SUCCESS",
"GO_LIVE_SUCCESS"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
Expand Down Expand Up @@ -5245,6 +5255,21 @@
"description": "Bot-specific profile information.",
"id": "BotInfo",
"properties": {
"appAllowlistStatus": {
"enum": [
"UNSPECIFIED_STATUS",
"ALLOWED",
"ALL_APPS_DISABLED_BY_ADMIN",
"APP_NOT_ALLOWLISTED_BY_ADMIN"
],
"enumDescriptions": [
"",
"",
"For both ALL_APPS_DISABLED_BY_ADMIN and APP_NOT_ALLOWLISTED_BY_ADMIN, the app should still be visible in the catalog, but usage of the app will be disabled. Indicates that all apps have been disabled by the dasher admin.",
"Indicates that the customer is using allowlisting, but that the bot is not allowlisted."
],
"type": "string"
},
"appId": {
"$ref": "AppId",
"description": "Identifier of the application associated with the bot."
Expand Down Expand Up @@ -5283,6 +5308,10 @@
],
"type": "string"
},
"supportHomeScreen": {
"description": "If the app supports a home screen.",
"type": "boolean"
},
"supportUrls": {
"$ref": "SupportUrls",
"description": "Urls with additional information related to the bot. This field should always be set even if all the fields within it are empty, so that it is convenient for clients to work with this field in javascript."
Expand All @@ -5305,21 +5334,6 @@
"type": "string"
},
"type": "array"
},
"whitelistStatus": {
"enum": [
"UNSPECIFIED_STATUS",
"ALLOWED",
"ALL_BOTS_DISABLED_BY_ADMIN",
"BOT_NOT_WHITELISTED_BY_ADMIN"
],
"enumDescriptions": [
"",
"",
"For both ALL_BOTS_DISABLED_BY_ADMIN and BOT_NOT_WHITELISTED_BY_ADMIN, the bot should still be visible in the catalog, but usage of the bot will be disabled. Indicates that all bots has been disabled by the dasher admin.",
"Indicates that the customer is using whitelisting, but that the bot is not whitelisted."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -12537,7 +12551,7 @@
"type": "boolean"
},
"isWildcardSearchable": {
"description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable.",
"description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)",
"type": "boolean"
},
"name": {
Expand Down Expand Up @@ -14131,7 +14145,7 @@
"type": "boolean"
},
"cohostArtifactSharingEnabled": {
"description": "Whether meeting artifacts will be shared with co-hosts.",
"description": "Whether meeting artifacts will be shared with cohosts.",
"type": "boolean"
},
"cseEnabled": {
Expand Down Expand Up @@ -15348,7 +15362,7 @@
"type": "integer"
},
"mimeType": {
"description": "Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is. NEXT TAG : 16",
"description": "Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.",
"type": "string"
},
"redirectUrl": {
Expand All @@ -15370,6 +15384,20 @@
"url": {
"$ref": "SafeUrlProto",
"description": "The original URL."
},
"urlSource": {
"description": "NEXT TAG : 17",
"enum": [
"URL_SOURCE_UNKNOWN",
"USER_SUPPLIED_URL",
"SERVER_SUPPLIED_POLICY_VIOLATION"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -15523,9 +15551,13 @@
"type": "object"
},
"UserInfo": {
"description": "Contains info regarding the updater of an Activity Feed item. Next Id: 7",
"description": "Contains info regarding the updater of an Activity Feed item. Next Id: 8",
"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.",
"type": "string"
},
"updaterCountDisplayType": {
"description": "Describes how updater_count_to_show should be used.",
"enum": [
Expand All @@ -15548,7 +15580,7 @@
"type": "integer"
},
"updaterToShowEmail": {
"description": "The email of the updater for clients to show used for Gmail items.",
"description": "The email of the updater for clients to show used for Gmail items. For Drive Notifications, 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.",
"type": "string"
},
"updaterToShowGaiaId": {
Expand All @@ -15557,7 +15589,7 @@
"type": "string"
},
"updaterToShowName": {
"description": "The display name of the updater for clients to show used for Gmail items. This (along with the updater fields above) will be populated in the thread pipeline (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes into client-renderable Activity Feed items.",
"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.",
"type": "string"
},
"updaterToShowUserId": {
Expand Down

0 comments on commit fc29ead

Please sign in to comment.