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.CallInfo.properties.chatConfig.$ref (Total Keys: 1)
- schemas.ChatConfig (Total Keys: 4)
- schemas.GoogleChatConfig (Total Keys: 3)

The following keys were added:
- schemas.Attribute (Total Keys: 20)
- schemas.CaribouAttributeValue (Total Keys: 10)
- schemas.ClientContext (Total Keys: 6)
- schemas.ClusterInfo (Total Keys: 5)
- schemas.FacetBucket.properties.filter.$ref (Total Keys: 1)
- schemas.FacetOptions.properties.integerFacetingOptions.$ref (Total Keys: 1)
- schemas.FilterCreated (Total Keys: 2)
- schemas.FilterDeleted (Total Keys: 2)
- schemas.FilterUpdate (Total Keys: 5)
- schemas.Folder (Total Keys: 10)
- schemas.FuseboxItem (Total Keys: 31)
- schemas.FuseboxPrefUpdatePreState (Total Keys: 4)
- schemas.History (Total Keys: 17)
- schemas.ImapSessionContext (Total Keys: 9)
- schemas.ImapSyncDelete (Total Keys: 5)
- schemas.ImapUidsReassign (Total Keys: 6)
- schemas.ImapUpdate (Total Keys: 3)
- schemas.ImapsyncFolderAttributeFolderMessage (Total Keys: 9)
- schemas.IntegerFacetingOptions (Total Keys: 5)
- schemas.IntegerPropertyOptions.properties.integerFacetingOptions.$ref (Total Keys: 1)
- schemas.ItemParts (Total Keys: 2)
- schemas.ItemThread (Total Keys: 14)
- schemas.JobsettedServerSpec (Total Keys: 4)
- schemas.LabelAdded (Total Keys: 8)
- schemas.LabelCreated (Total Keys: 2)
- schemas.LabelDeleted (Total Keys: 2)
- schemas.LabelRemoved (Total Keys: 8)
- schemas.LabelRenamed (Total Keys: 3)
- schemas.LabelUpdate (Total Keys: 12)
- schemas.Labels (Total Keys: 6)
- schemas.MatchInfo (Total Keys: 4)
- schemas.MessageAdded (Total Keys: 10)
- schemas.MessageDeleted (Total Keys: 6)
- schemas.MessageSet (Total Keys: 2)
- schemas.MultiKey (Total Keys: 5)
- schemas.OsVersion (Total Keys: 8)
- schemas.PossiblyTrimmedModel (Total Keys: 4)
- schemas.PreState (Total Keys: 9)
- schemas.PrefDeleted (Total Keys: 2)
- schemas.PrefUpdate (Total Keys: 6)
- schemas.PrefWritten (Total Keys: 4)
- schemas.Rank (Total Keys: 6)
- schemas.Reference (Total Keys: 13)
- schemas.RpcOptions (Total Keys: 3)
- schemas.SessionContext (Total Keys: 12)
- schemas.ThreadKeySet (Total Keys: 5)
- schemas.ThreadUpdate (Total Keys: 17)
- schemas.TopicState (Total Keys: 10)
- schemas.TransactionContext (Total Keys: 8)
- schemas.TransactionDebugInfo (Total Keys: 2)
- schemas.Trigger (Total Keys: 33)
- schemas.UploadMetadata.properties.latestVirusScanTimestamp (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Nov 22, 2022
1 parent 89473b2 commit e602008
Show file tree
Hide file tree
Showing 4 changed files with 1,686 additions and 55 deletions.
10 changes: 10 additions & 0 deletions docs/dyn/cloudsearch_v1.indexing.datasources.html
Expand Up @@ -216,6 +216,11 @@ <h3>Method Details</h3>
},
},
&quot;integerPropertyOptions&quot;: { # The options for integer properties.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;maximumValue&quot;: &quot;A String&quot;, # The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.
&quot;minimumValue&quot;: &quot;A String&quot;, # The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.
&quot;operatorOptions&quot;: { # Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. # If set, describes how the integer should be used as a search operator.
Expand Down Expand Up @@ -344,6 +349,11 @@ <h3>Method Details</h3>
},
},
&quot;integerPropertyOptions&quot;: { # The options for integer properties.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;maximumValue&quot;: &quot;A String&quot;, # The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.
&quot;minimumValue&quot;: &quot;A String&quot;, # The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.
&quot;operatorOptions&quot;: { # Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. # If set, describes how the integer should be used as a search operator.
Expand Down
28 changes: 28 additions & 0 deletions docs/dyn/cloudsearch_v1.query.html
Expand Up @@ -149,6 +149,11 @@ <h3>Method Details</h3>
],
&quot;facetOptions&quot;: [
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down Expand Up @@ -205,6 +210,29 @@ <h3>Method Details</h3>
&quot;buckets&quot;: [ # FacetBuckets for values in response containing at least a single result with the corresponding filter.
{ # A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.
&quot;count&quot;: 42, # Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Cloud Search does not guarantee facet counts for any query and facet counts might be present only intermittently, even for identical queries. Do not build dependencies on facet count existence; instead use facet ount percentages which are always returned.
&quot;filter&quot;: { # A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND. # Filter to be passed in the search request if the corresponding bucket is selected.
&quot;compositeFilter&quot;: {
&quot;logicOperator&quot;: &quot;A String&quot;, # The logic operator of the sub filter.
&quot;subFilters&quot;: [ # Sub filters.
# Object with schema name: Filter
],
},
&quot;valueFilter&quot;: {
&quot;operatorName&quot;: &quot;A String&quot;, # The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query.
&quot;value&quot;: { # Definition of a single value with generic type. # The value to be compared with.
&quot;booleanValue&quot;: True or False,
&quot;dateValue&quot;: { # Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.
&quot;day&quot;: 42, # Day of month. Must be from 1 to 31 and valid for the year and month.
&quot;month&quot;: 42, # Month of date. Must be from 1 to 12.
&quot;year&quot;: 42, # Year of date. Must be from 1 to 9999.
},
&quot;doubleValue&quot;: 3.14,
&quot;integerValue&quot;: &quot;A String&quot;,
&quot;stringValue&quot;: &quot;A String&quot;,
&quot;timestampValue&quot;: &quot;A String&quot;,
},
},
},
&quot;percentage&quot;: 42, # Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.
&quot;value&quot;: { # Definition of a single value with generic type.
&quot;booleanValue&quot;: True or False,
Expand Down
25 changes: 25 additions & 0 deletions docs/dyn/cloudsearch_v1.settings.searchapplications.html
Expand Up @@ -154,6 +154,11 @@ <h3>Method Details</h3>
],
&quot;defaultFacetOptions&quot;: [ # The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down Expand Up @@ -315,6 +320,11 @@ <h3>Method Details</h3>
],
&quot;defaultFacetOptions&quot;: [ # The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down Expand Up @@ -416,6 +426,11 @@ <h3>Method Details</h3>
],
&quot;defaultFacetOptions&quot;: [ # The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down Expand Up @@ -523,6 +538,11 @@ <h3>Method Details</h3>
],
&quot;defaultFacetOptions&quot;: [ # The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down Expand Up @@ -687,6 +707,11 @@ <h3>Method Details</h3>
],
&quot;defaultFacetOptions&quot;: [ # The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
{ # Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
&quot;integerFacetingOptions&quot;: { # Used to specify integer faceting options. # If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.
&quot;integerBuckets&quot;: [ # Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {&lt;1, [1,5), [5-10), [10-100), &gt;=100}.
&quot;A String&quot;,
],
},
&quot;numFacetBuckets&quot;: 42, # Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
&quot;objectType&quot;: &quot;A String&quot;, # If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
&quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Expand Down

0 comments on commit e602008

Please sign in to comment.