Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: API regeneration: release-2024-10-30.01-03-38 #2867

Merged
merged 29 commits into from
Oct 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
fe2dcde
feat: Generate Google.Apis.AndroidEnterprise.v1 version 1.68.0.3588
amanda-tarafa Oct 30, 2024
4c7bf4d
feat: Generate Google.Apis.BigQueryReservation.v1 version 1.68.0.3583
amanda-tarafa Oct 30, 2024
1c01bc7
feat: Generate Google.Apis.CloudBuild.v1 version 1.68.0.3585
amanda-tarafa Oct 30, 2024
bc8002b
feat: Generate Google.Apis.Compute.alpha version 1.68.0.3581
amanda-tarafa Oct 30, 2024
f260a5b
feat: Generate Google.Apis.CloudDataplex.v1 version 1.68.0.3579
amanda-tarafa Oct 30, 2024
687dc57
feat: Generate Google.Apis.Datastore.v1 version 1.68.0.3578
amanda-tarafa Oct 30, 2024
8b326a1
feat: Generate Google.Apis.Datastore.v1beta3 version 1.68.0.3578
amanda-tarafa Oct 30, 2024
85926ef
feat: Generate Google.Apis.DiscoveryEngine.v1 version 1.68.0.3585
amanda-tarafa Oct 30, 2024
6e33048
feat: Generate Google.Apis.DiscoveryEngine.v1alpha version 1.68.0.3585
amanda-tarafa Oct 30, 2024
1f8d704
feat: Generate Google.Apis.DiscoveryEngine.v1beta version 1.68.0.3585
amanda-tarafa Oct 30, 2024
55f8284
feat: Generate Google.Apis.Document.v1beta3 version 1.68.0.3585
amanda-tarafa Oct 30, 2024
24e235e
feat: Generate Google.Apis.FirebaseManagement.v1beta1 version 1.68.0.…
amanda-tarafa Oct 30, 2024
d6ceb2e
feat: Generate Google.Apis.FirebaseAppDistribution.v1alpha version 1.…
amanda-tarafa Oct 30, 2024
62ff49c
feat: Generate Google.Apis.Firestore.v1 version 1.68.0.3578
amanda-tarafa Oct 30, 2024
73bf92c
feat: Generate Google.Apis.Firestore.v1beta1 version 1.68.0.3578
amanda-tarafa Oct 30, 2024
0f10536
feat: Generate Google.Apis.Iam.v1 version 1.68.0.3588
amanda-tarafa Oct 30, 2024
1fc47bf
feat: Generate Google.Apis.Looker.v1 version 1.68.0.3576
amanda-tarafa Oct 30, 2024
888d0b4
feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.68.0.3588
amanda-tarafa Oct 30, 2024
d4b48fc
feat: Generate Google.Apis.OSConfig.v2beta version 1.68.0.3581
amanda-tarafa Oct 30, 2024
7fe385c
feat: Generate Google.Apis.MapsPlaces.v1 version 1.68.0.3588
amanda-tarafa Oct 30, 2024
c5edb13
feat: Generate Google.Apis.CloudRetail.v2 version 1.68.0.3584
amanda-tarafa Oct 30, 2024
89bf7aa
feat: Generate Google.Apis.CloudRetail.v2alpha version 1.68.0.3584
amanda-tarafa Oct 30, 2024
afc4507
feat: Generate Google.Apis.SecurityCommandCenter.v1 version 1.68.0.3586
amanda-tarafa Oct 30, 2024
0dbfbef
feat: Generate Google.Apis.SecurityCommandCenter.v1beta1 version 1.68…
amanda-tarafa Oct 30, 2024
f0918d2
feat: Generate Google.Apis.Spanner.v1 version 1.68.0.3580
amanda-tarafa Oct 30, 2024
4605ee9
feat: Generate Google.Apis.Texttospeech.v1 version 1.68.0.3586
amanda-tarafa Oct 30, 2024
736da33
feat: Generate Google.Apis.Texttospeech.v1beta1 version 1.68.0.3586
amanda-tarafa Oct 30, 2024
714c8f4
feat: Generate Google.Apis.TravelImpactModel.v1 version 1.68.0.3587
amanda-tarafa Oct 30, 2024
825f930
chore: Update the package table in README.md
amanda-tarafa Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Generate Google.Apis.Datastore.v1 version 1.68.0.3578
amanda-tarafa committed Oct 30, 2024
commit 687dc5776682c1f95c35c24e280008f1dd691f4e
53 changes: 51 additions & 2 deletions DiscoveryJson/datastore.v1.json
Original file line number Diff line number Diff line change
@@ -654,7 +654,7 @@
}
}
},
"revision": "20241008",
"revision": "20241018",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
@@ -1064,6 +1064,51 @@
},
"type": "object"
},
"FindNearest": {
"description": "Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple documents have the same vector distance, the returned document order is not guaranteed to be stable between queries.",
"id": "FindNearest",
"properties": {
"distanceMeasure": {
"description": "Required. The Distance Measure to use, required.",
"enum": [
"DISTANCE_MEASURE_UNSPECIFIED",
"EUCLIDEAN",
"COSINE",
"DOT_PRODUCT"
],
"enumDescriptions": [
"Should not be set.",
"Measures the EUCLIDEAN distance between the vectors. See [Euclidean](https://en.wikipedia.org/wiki/Euclidean_distance) to learn more. The resulting distance decreases the more similar two vectors are.",
"COSINE distance compares vectors based on the angle between them, which allows you to measure similarity that isn't based on the vectors magnitude. We recommend using DOT_PRODUCT with unit normalized vectors instead of COSINE distance, which is mathematically equivalent with better performance. See [Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) to learn more about COSINE similarity and COSINE distance. The resulting COSINE distance decreases the more similar two vectors are.",
"Similar to cosine but is affected by the magnitude of the vectors. See [Dot Product](https://en.wikipedia.org/wiki/Dot_product) to learn more. The resulting distance increases the more similar two vectors are."
],
"type": "string"
},
"distanceResultProperty": {
"description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to entity property limitations.",
"type": "string"
},
"distanceThreshold": {
"description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold",
"format": "double",
"type": "number"
},
"limit": {
"description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 100.",
"format": "int32",
"type": "integer"
},
"queryVector": {
"$ref": "Value",
"description": "Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions."
},
"vectorProperty": {
"$ref": "PropertyReference",
"description": "Required. An indexed vector property to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned."
}
},
"type": "object"
},
"GoogleDatastoreAdminV1CommonMetadata": {
"description": "Metadata common to all Datastore Admin operations.",
"id": "GoogleDatastoreAdminV1CommonMetadata",
@@ -2228,7 +2273,7 @@
"type": "object"
},
"Query": {
"description": "A query for entities.",
"description": "A query for entities. The query stages are executed in the following order: 1. kind 2. filter 3. projection 4. order + start_cursor + end_cursor 5. offset 6. limit 7. find_nearest",
"id": "Query",
"properties": {
"distinctOn": {
@@ -2247,6 +2292,10 @@
"$ref": "Filter",
"description": "The filter to apply."
},
"findNearest": {
"$ref": "FindNearest",
"description": "Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector."
},
"kind": {
"description": "The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.",
"items": {
Original file line number Diff line number Diff line change
@@ -1991,6 +1991,56 @@ public class Filter : Google.Apis.Requests.IDirectResponseSchema
public virtual string ETag { get; set; }
}

/// <summary>
/// Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple
/// documents have the same vector distance, the returned document order is not guaranteed to be stable between
/// queries.
/// </summary>
public class FindNearest : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Required. The Distance Measure to use, required.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("distanceMeasure")]
public virtual string DistanceMeasure { get; set; }

/// <summary>
/// Optional. Optional name of the field to output the result of the vector distance calculation. Must conform
/// to entity property limitations.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("distanceResultProperty")]
public virtual string DistanceResultProperty { get; set; }

/// <summary>
/// Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior
/// of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT
/// distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE:
/// WHERE distance &amp;lt;= distance_threshold * For DOT_PRODUCT: WHERE distance &amp;gt;= distance_threshold
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("distanceThreshold")]
public virtual System.Nullable<double> DistanceThreshold { get; set; }

/// <summary>
/// Required. The number of nearest neighbors to return. Must be a positive integer of no more than 100.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("limit")]
public virtual System.Nullable<int> Limit { get; set; }

/// <summary>
/// Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("queryVector")]
public virtual Value QueryVector { get; set; }

/// <summary>
/// Required. An indexed vector property to search upon. Only documents which contain vectors whose
/// dimensionality match the query_vector can be returned.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("vectorProperty")]
public virtual PropertyReference VectorProperty { get; set; }

/// <summary>The ETag of the item.</summary>
public virtual string ETag { get; set; }
}

/// <summary>Metadata common to all Datastore Admin operations.</summary>
public class GoogleDatastoreAdminV1CommonMetadata : Google.Apis.Requests.IDirectResponseSchema
{
@@ -3365,7 +3415,10 @@ public class PropertyTransform : Google.Apis.Requests.IDirectResponseSchema
public virtual string ETag { get; set; }
}

/// <summary>A query for entities.</summary>
/// <summary>
/// A query for entities. The query stages are executed in the following order: 1. kind 2. filter 3. projection 4.
/// order + start_cursor + end_cursor 5. offset 6. limit 7. find_nearest
/// </summary>
public class Query : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
@@ -3389,6 +3442,13 @@ public class Query : Google.Apis.Requests.IDirectResponseSchema
[Newtonsoft.Json.JsonPropertyAttribute("filter")]
public virtual Filter Filter { get; set; }

/// <summary>
/// Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the
/// closest vector embeddings to the given query vector.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("findNearest")]
public virtual FindNearest FindNearest { get; set; }

/// <summary>
/// The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
/// </summary>
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.Datastore.v1 Client Library</Title>
<Version>1.68.0.3568</Version>
<Version>1.68.0.3578</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>